Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#2110)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 21, 2024
1 parent 3b8fb8d commit 58f78d7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1296
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b588da95601959bbe0269351d4f052408c11ecc10775f706606f58d33b570178.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4693e2d401ae311fed0316cb1863e37dcaeb53a2ddf07371f8fa36c37e6e0057.yml
16 changes: 8 additions & 8 deletions waiting_rooms/rule.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,9 @@ func (r RuleNewParamsAction) IsKnown() bool {
type RuleNewResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result []WaitingRoomRule `json:"result,required,nullable"`
// Whether the API call was successful
Success RuleNewResponseEnvelopeSuccess `json:"success,required"`
Result []WaitingRoomRule `json:"result,nullable"`
ResultInfo RuleNewResponseEnvelopeResultInfo `json:"result_info"`
JSON ruleNewResponseEnvelopeJSON `json:"-"`
}
Expand All @@ -212,8 +212,8 @@ type RuleNewResponseEnvelope struct {
type ruleNewResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
ResultInfo apijson.Field
raw string
ExtraFields map[string]apijson.Field
Expand Down Expand Up @@ -316,9 +316,9 @@ func (r RuleUpdateParamsBodyAction) IsKnown() bool {
type RuleUpdateResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result []WaitingRoomRule `json:"result,required,nullable"`
// Whether the API call was successful
Success RuleUpdateResponseEnvelopeSuccess `json:"success,required"`
Result []WaitingRoomRule `json:"result,nullable"`
ResultInfo RuleUpdateResponseEnvelopeResultInfo `json:"result_info"`
JSON ruleUpdateResponseEnvelopeJSON `json:"-"`
}
Expand All @@ -328,8 +328,8 @@ type RuleUpdateResponseEnvelope struct {
type ruleUpdateResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
ResultInfo apijson.Field
raw string
ExtraFields map[string]apijson.Field
Expand Down Expand Up @@ -402,9 +402,9 @@ type RuleDeleteParams struct {
type RuleDeleteResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result []WaitingRoomRule `json:"result,required,nullable"`
// Whether the API call was successful
Success RuleDeleteResponseEnvelopeSuccess `json:"success,required"`
Result []WaitingRoomRule `json:"result,nullable"`
ResultInfo RuleDeleteResponseEnvelopeResultInfo `json:"result_info"`
JSON ruleDeleteResponseEnvelopeJSON `json:"-"`
}
Expand All @@ -414,8 +414,8 @@ type RuleDeleteResponseEnvelope struct {
type ruleDeleteResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
ResultInfo apijson.Field
raw string
ExtraFields map[string]apijson.Field
Expand Down Expand Up @@ -556,9 +556,9 @@ func (r RuleEditParamsPositionObject) implementsWaitingRoomsRuleEditParamsPositi
type RuleEditResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result []WaitingRoomRule `json:"result,required,nullable"`
// Whether the API call was successful
Success RuleEditResponseEnvelopeSuccess `json:"success,required"`
Result []WaitingRoomRule `json:"result,nullable"`
ResultInfo RuleEditResponseEnvelopeResultInfo `json:"result_info"`
JSON ruleEditResponseEnvelopeJSON `json:"-"`
}
Expand All @@ -568,8 +568,8 @@ type RuleEditResponseEnvelope struct {
type ruleEditResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Result apijson.Field
Success apijson.Field
Result apijson.Field
ResultInfo apijson.Field
raw string
ExtraFields map[string]apijson.Field
Expand Down

0 comments on commit 58f78d7

Please sign in to comment.