Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed May 7, 2024
1 parent a7d2733 commit ee3b21e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
@@ -1,2 +1,2 @@
configured_endpoints: 1266
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c4098fcb3861719a0115fe0bd93ede436f466e42ea623f1ed1feeb1f126d9c3d.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4f0694869a2da3cbfcc749f0c718b6f45464c72e586046527d6e04c06210b0ca.yml
16 changes: 8 additions & 8 deletions bot_management/botmanagement.go
Expand Up @@ -796,11 +796,11 @@ func (r BotManagementUpdateParamsBodySBFMLikelyAutomated) IsKnown() bool {
}

type BotManagementUpdateResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result BotManagementUpdateResponse `json:"result,required"`
// Whether the API call was successful
Success BotManagementUpdateResponseEnvelopeSuccess `json:"success,required"`
Result BotManagementUpdateResponse `json:"result"`
JSON botManagementUpdateResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -809,8 +809,8 @@ type BotManagementUpdateResponseEnvelope struct {
type botManagementUpdateResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Success apijson.Field
Result apijson.Field
Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down Expand Up @@ -844,11 +844,11 @@ type BotManagementGetParams struct {
}

type BotManagementGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result BotManagementGetResponse `json:"result,required"`
// Whether the API call was successful
Success BotManagementGetResponseEnvelopeSuccess `json:"success,required"`
Result BotManagementGetResponse `json:"result"`
JSON botManagementGetResponseEnvelopeJSON `json:"-"`
}

Expand All @@ -857,8 +857,8 @@ type BotManagementGetResponseEnvelope struct {
type botManagementGetResponseEnvelopeJSON struct {
Errors apijson.Field
Messages apijson.Field
Success apijson.Field
Result apijson.Field
Success apijson.Field
raw string
ExtraFields map[string]apijson.Field
}
Expand Down

0 comments on commit ee3b21e

Please sign in to comment.