From 181778e3c773a451ebf0b0dab887e286c58126af Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Wed, 8 Nov 2023 00:13:39 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 0.1.0, Speakeasy CLI 1.115.0 --- RELEASES.md | 14 +- go-client-sdk/README.md | 14 +- go-client-sdk/docs/sdks/auth/README.md | 32 +- go-client-sdk/docs/sdks/authnew/README.md | 44 +- .../docs/sdks/documentation/README.md | 4 +- go-client-sdk/docs/sdks/errors/README.md | 14 +- go-client-sdk/docs/sdks/first/README.md | 4 +- go-client-sdk/docs/sdks/flattening/README.md | 20 +- go-client-sdk/docs/sdks/generation/README.md | 80 +++- go-client-sdk/docs/sdks/globals/README.md | 8 +- go-client-sdk/docs/sdks/nested/README.md | 4 +- go-client-sdk/docs/sdks/pagination/README.md | 24 +- go-client-sdk/docs/sdks/parameters/README.md | 96 ++-- .../docs/sdks/requestbodies/README.md | 328 ++++++++++---- go-client-sdk/docs/sdks/resource/README.md | 20 +- .../docs/sdks/responsebodies/README.md | 44 +- go-client-sdk/docs/sdks/retries/README.md | 4 +- go-client-sdk/docs/sdks/sdk/README.md | 8 +- go-client-sdk/docs/sdks/sdkfirst/README.md | 4 +- .../docs/sdks/sdknestedfirst/README.md | 4 +- go-client-sdk/docs/sdks/sdksecond/README.md | 4 +- go-client-sdk/docs/sdks/second/README.md | 4 +- go-client-sdk/docs/sdks/servers/README.md | 24 +- go-client-sdk/docs/sdks/telemetry/README.md | 8 +- go-client-sdk/docs/sdks/unions/README.md | 64 ++- go-client-sdk/gen.yaml | 8 +- go-client-sdk/sdk.go | 6 +- go-client-sdk/tests/parameters_test.go | 60 +-- go-client-sdk/testsprimary/telemetry_test.go | 4 +- python-client-sdk/README.md | 17 +- python-client-sdk/docs/sdks/auth/README.md | 32 ++ python-client-sdk/docs/sdks/authnew/README.md | 44 ++ .../docs/sdks/documentation/README.md | 4 + python-client-sdk/docs/sdks/errors/README.md | 14 + python-client-sdk/docs/sdks/first/README.md | 4 + .../docs/sdks/flattening/README.md | 20 + .../docs/sdks/generation/README.md | 80 ++++ python-client-sdk/docs/sdks/globals/README.md | 8 + python-client-sdk/docs/sdks/nested/README.md | 4 + .../docs/sdks/pagination/README.md | 24 + .../docs/sdks/parameters/README.md | 94 +++- .../docs/sdks/requestbodies/README.md | 328 +++++++++++++- .../docs/sdks/resource/README.md | 20 + .../docs/sdks/responsebodies/README.md | 44 ++ python-client-sdk/docs/sdks/retries/README.md | 4 + python-client-sdk/docs/sdks/sdk/README.md | 8 + .../docs/sdks/sdkfirst/README.md | 4 + .../docs/sdks/sdknestedfirst/README.md | 4 + .../docs/sdks/sdksecond/README.md | 4 + python-client-sdk/docs/sdks/second/README.md | 4 + python-client-sdk/docs/sdks/servers/README.md | 24 + .../docs/sdks/telemetry/README.md | 8 + python-client-sdk/docs/sdks/unions/README.md | 60 +++ python-client-sdk/gen.yaml | 8 +- python-client-sdk/setup.py | 2 +- python-client-sdk/src/sdk/sdkconfiguration.py | 6 +- .../testsprimary/test_telemetry.py | 4 +- typescript-client-sdk/README.md | 111 ++--- .../__tests__primary/telemetry.test.ts | 4 +- .../docs/sdks/auth/README.md | 40 +- .../docs/sdks/authnew/README.md | 55 ++- .../docs/sdks/documentation/README.md | 5 +- .../docs/sdks/errors/README.md | 17 +- .../docs/sdks/first/README.md | 5 +- .../docs/sdks/flattening/README.md | 25 +- .../docs/sdks/generation/README.md | 100 ++++- .../docs/sdks/globals/README.md | 10 +- .../docs/sdks/nested/README.md | 5 +- .../docs/sdks/pagination/README.md | 30 +- .../docs/sdks/parameters/README.md | 121 ++++-- .../docs/sdks/requestbodies/README.md | 409 ++++++++++++++---- .../docs/sdks/resource/README.md | 25 +- .../docs/sdks/responsebodies/README.md | 55 ++- .../docs/sdks/retries/README.md | 5 +- typescript-client-sdk/docs/sdks/sdk/README.md | 10 +- .../docs/sdks/sdkfirst/README.md | 5 +- .../docs/sdks/sdknestedfirst/README.md | 5 +- .../docs/sdks/sdksecond/README.md | 5 +- .../docs/sdks/second/README.md | 5 +- .../docs/sdks/servers/README.md | 30 +- .../docs/sdks/telemetry/README.md | 10 +- .../docs/sdks/unions/README.md | 75 +++- typescript-client-sdk/gen.yaml | 8 +- typescript-client-sdk/package-lock.json | 4 +- typescript-client-sdk/package.json | 2 +- typescript-client-sdk/src/sdk/sdk.ts | 6 +- 86 files changed, 2461 insertions(+), 555 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 7e0bbf25b..a7b7089a0 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -993,4 +993,16 @@ Based on: - [ruby v2.0.0] ruby-client-sdk - [swift v0.2.0] swift-client-sdk ### Releases -- [Go v2.0.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v2.0.0 - go-client-sdk \ No newline at end of file +- [Go v2.0.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v2.0.0 - go-client-sdk + +## 2023-11-08 00:11:52 +### Changes +Based on: +- OpenAPI Doc 0.1.0 +- Speakeasy CLI 1.115.0 (2.183.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v3.0.1] python-client-sdk +- [typescript v2.0.1] typescript-client-sdk +- [go v2.0.1] go-client-sdk +### Releases +- [Go v2.0.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v2.0.1 - go-client-sdk \ No newline at end of file diff --git a/go-client-sdk/README.md b/go-client-sdk/README.md index fc498e4e5..d0f5900f1 100755 --- a/go-client-sdk/README.md +++ b/go-client-sdk/README.md @@ -601,6 +601,12 @@ func main() { Handling errors in your SDK should largely match your expectations. All operations return a response object or an error, they will never return both. When specified by the OpenAPI spec document, the SDK will return the appropriate subclass. +| Error Object | Status Code | Content Type | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| sdkerrors.Error | 500 | application/json | +| sdkerrors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json | +| sdkerrors.SDKError | 400-600 | */* | + ## Example @@ -641,6 +647,11 @@ func main() { log.Fatal(e.Error()) } + var e *sdkerrors.SDKError + if errors.As(err, &e) { + // handle error + log.Fatal(e.Error()) + } } } @@ -926,14 +937,11 @@ func main() { } ``` - - - # Authentication ## Per-Client Security Schemes diff --git a/go-client-sdk/docs/sdks/auth/README.md b/go-client-sdk/docs/sdks/auth/README.md index 44f08fc87..aa68a164b 100755 --- a/go-client-sdk/docs/sdks/auth/README.md +++ b/go-client-sdk/docs/sdks/auth/README.md @@ -64,7 +64,9 @@ func main() { ### Response **[*operations.APIKeyAuthResponse](../../models/operations/apikeyauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## APIKeyAuthGlobal @@ -111,7 +113,9 @@ func main() { ### Response **[*operations.APIKeyAuthGlobalResponse](../../models/operations/apikeyauthglobalresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## BasicAuth @@ -168,7 +172,9 @@ func main() { ### Response **[*operations.BasicAuthResponse](../../models/operations/basicauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## BearerAuth @@ -218,7 +224,9 @@ func main() { ### Response **[*operations.BearerAuthResponse](../../models/operations/bearerauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## GlobalBearerAuth @@ -265,7 +273,9 @@ func main() { ### Response **[*operations.GlobalBearerAuthResponse](../../models/operations/globalbearerauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## Oauth2Auth @@ -315,7 +325,9 @@ func main() { ### Response **[*operations.Oauth2AuthResponse](../../models/operations/oauth2authresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## Oauth2Override @@ -365,7 +377,9 @@ func main() { ### Response **[*operations.Oauth2OverrideResponse](../../models/operations/oauth2overrideresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## OpenIDConnectAuth @@ -415,4 +429,6 @@ func main() { ### Response **[*operations.OpenIDConnectAuthResponse](../../models/operations/openidconnectauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/authnew/README.md b/go-client-sdk/docs/sdks/authnew/README.md index 1e0cf3cfc..8a07ccf06 100755 --- a/go-client-sdk/docs/sdks/authnew/README.md +++ b/go-client-sdk/docs/sdks/authnew/README.md @@ -77,7 +77,9 @@ func main() { ### Response **[*operations.APIKeyAuthGlobalNewResponse](../../models/operations/apikeyauthglobalnewresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## AuthGlobal @@ -137,7 +139,9 @@ func main() { ### Response **[*operations.AuthGlobalResponse](../../models/operations/authglobalresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## BasicAuthNew @@ -202,7 +206,9 @@ func main() { ### Response **[*operations.BasicAuthNewResponse](../../models/operations/basicauthnewresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MultipleMixedOptionsAuth @@ -266,7 +272,9 @@ func main() { ### Response **[*operations.MultipleMixedOptionsAuthResponse](../../models/operations/multiplemixedoptionsauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MultipleMixedSchemeAuth @@ -334,7 +342,9 @@ func main() { ### Response **[*operations.MultipleMixedSchemeAuthResponse](../../models/operations/multiplemixedschemeauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MultipleOptionsWithMixedSchemesAuth @@ -401,7 +411,9 @@ func main() { ### Response **[*operations.MultipleOptionsWithMixedSchemesAuthResponse](../../models/operations/multipleoptionswithmixedschemesauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MultipleOptionsWithSimpleSchemesAuth @@ -468,7 +480,9 @@ func main() { ### Response **[*operations.MultipleOptionsWithSimpleSchemesAuthResponse](../../models/operations/multipleoptionswithsimpleschemesauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MultipleSimpleOptionsAuth @@ -532,7 +546,9 @@ func main() { ### Response **[*operations.MultipleSimpleOptionsAuthResponse](../../models/operations/multiplesimpleoptionsauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MultipleSimpleSchemeAuth @@ -597,7 +613,9 @@ func main() { ### Response **[*operations.MultipleSimpleSchemeAuthResponse](../../models/operations/multiplesimpleschemeauthresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## Oauth2AuthNew @@ -661,7 +679,9 @@ func main() { ### Response **[*operations.Oauth2AuthNewResponse](../../models/operations/oauth2authnewresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## OpenIDConnectAuthNew @@ -725,4 +745,6 @@ func main() { ### Response **[*operations.OpenIDConnectAuthNewResponse](../../models/operations/openidconnectauthnewresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/documentation/README.md b/go-client-sdk/docs/sdks/documentation/README.md index 1798a793e..d5b723c5a 100755 --- a/go-client-sdk/docs/sdks/documentation/README.md +++ b/go-client-sdk/docs/sdks/documentation/README.md @@ -60,4 +60,6 @@ func main() { ### Response **[*operations.GetDocumentationPerLanguageResponse](../../models/operations/getdocumentationperlanguageresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/errors/README.md b/go-client-sdk/docs/sdks/errors/README.md index 281f3d6f8..d330e046a 100755 --- a/go-client-sdk/docs/sdks/errors/README.md +++ b/go-client-sdk/docs/sdks/errors/README.md @@ -57,7 +57,9 @@ func main() { ### Response **[*operations.ConnectionErrorGetResponse](../../models/operations/connectionerrorgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## StatusGetError @@ -108,7 +110,9 @@ func main() { ### Response **[*operations.StatusGetErrorResponse](../../models/operations/statusgeterrorresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## StatusGetXSpeakeasyErrors @@ -160,4 +164,8 @@ func main() { ### Response **[*operations.StatusGetXSpeakeasyErrorsResponse](../../models/operations/statusgetxspeakeasyerrorsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ----------------------------------------------- | ----------------------------------------------- | ----------------------------------------------- | +| sdkerrors.Error | 500 | application/json | +| sdkerrors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/first/README.md b/go-client-sdk/docs/sdks/first/README.md index 4abd3c8bc..570144418 100755 --- a/go-client-sdk/docs/sdks/first/README.md +++ b/go-client-sdk/docs/sdks/first/README.md @@ -50,4 +50,6 @@ func main() { ### Response **[*operations.GroupFirstGetResponse](../../models/operations/groupfirstgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/flattening/README.md b/go-client-sdk/docs/sdks/flattening/README.md index 89a8c7e89..118e2bc08 100755 --- a/go-client-sdk/docs/sdks/flattening/README.md +++ b/go-client-sdk/docs/sdks/flattening/README.md @@ -86,7 +86,9 @@ func main() { ### Response **[*operations.ComponentBodyAndParamConflictResponse](../../models/operations/componentbodyandparamconflictresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ComponentBodyAndParamNoConflict @@ -161,7 +163,9 @@ func main() { ### Response **[*operations.ComponentBodyAndParamNoConflictResponse](../../models/operations/componentbodyandparamnoconflictresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ConflictingParams @@ -215,7 +219,9 @@ func main() { ### Response **[*operations.ConflictingParamsResponse](../../models/operations/conflictingparamsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## InlineBodyAndParamConflict @@ -272,7 +278,9 @@ func main() { ### Response **[*operations.InlineBodyAndParamConflictResponse](../../models/operations/inlinebodyandparamconflictresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## InlineBodyAndParamNoConflict @@ -329,4 +337,6 @@ func main() { ### Response **[*operations.InlineBodyAndParamNoConflictResponse](../../models/operations/inlinebodyandparamnoconflictresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/generation/README.md b/go-client-sdk/docs/sdks/generation/README.md index 44d3fea52..c89d6127d 100755 --- a/go-client-sdk/docs/sdks/generation/README.md +++ b/go-client-sdk/docs/sdks/generation/README.md @@ -73,7 +73,9 @@ func main() { ### Response **[*operations.AnchorTypesGetResponse](../../models/operations/anchortypesgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ArrayCircularReferenceGet @@ -120,7 +122,9 @@ func main() { ### Response **[*operations.ArrayCircularReferenceGetResponse](../../models/operations/arraycircularreferencegetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## CircularReferenceGet @@ -167,7 +171,9 @@ func main() { ### Response **[*operations.CircularReferenceGetResponse](../../models/operations/circularreferencegetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DateParamWithDefault @@ -218,7 +224,9 @@ func main() { ### Response **[*operations.DateParamWithDefaultResponse](../../models/operations/dateparamwithdefaultresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DateTimeParamWithDefault @@ -269,7 +277,9 @@ func main() { ### Response **[*operations.DateTimeParamWithDefaultResponse](../../models/operations/datetimeparamwithdefaultresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DecimalParamWithDefault @@ -320,7 +330,9 @@ func main() { ### Response **[*operations.DecimalParamWithDefaultResponse](../../models/operations/decimalparamwithdefaultresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DeprecatedFieldInSchemaPost @@ -368,7 +380,9 @@ func main() { ### Response **[*operations.DeprecatedFieldInSchemaPostResponse](../../models/operations/deprecatedfieldinschemapostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DeprecatedObjectInSchemaGet @@ -415,7 +429,9 @@ func main() { ### Response **[*operations.DeprecatedObjectInSchemaGetResponse](../../models/operations/deprecatedobjectinschemagetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ~~DeprecatedOperationNoCommentsGet~~ @@ -468,7 +484,9 @@ func main() { ### Response **[*operations.DeprecatedOperationNoCommentsGetResponse](../../models/operations/deprecatedoperationnocommentsgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ~~DeprecatedOperationWithCommentsGet~~ @@ -526,7 +544,9 @@ func main() { ### Response **[*operations.DeprecatedOperationWithCommentsGetResponse](../../models/operations/deprecatedoperationwithcommentsgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## EmptyObjectGet @@ -577,7 +597,9 @@ func main() { ### Response **[*operations.EmptyObjectGetResponse](../../models/operations/emptyobjectgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## EmptyResponseObjectWithCommentGet @@ -624,7 +646,9 @@ func main() { ### Response **[*operations.EmptyResponseObjectWithCommentGetResponse](../../models/operations/emptyresponseobjectwithcommentgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## GlobalNameOverridden @@ -671,7 +695,9 @@ func main() { ### Response **[*operations.GetGlobalNameOverrideResponse](../../models/operations/getglobalnameoverrideresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## IgnoredGenerationGet @@ -719,7 +745,9 @@ func main() { ### Response **[*operations.IgnoredGenerationGetResponse](../../models/operations/ignoredgenerationgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## IgnoresPost @@ -774,7 +802,9 @@ func main() { ### Response **[*operations.IgnoresPostResponse](../../models/operations/ignorespostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NameOverride @@ -829,7 +859,9 @@ func main() { ### Response **[*operations.NameOverrideGetResponse](../../models/operations/nameoverridegetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ObjectCircularReferenceGet @@ -876,7 +908,9 @@ func main() { ### Response **[*operations.ObjectCircularReferenceGetResponse](../../models/operations/objectcircularreferencegetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## OneOfCircularReferenceGet @@ -923,7 +957,9 @@ func main() { ### Response **[*operations.OneOfCircularReferenceGetResponse](../../models/operations/oneofcircularreferencegetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## TypedParameterGenerationGet @@ -988,7 +1024,9 @@ func main() { ### Response **[*operations.TypedParameterGenerationGetResponse](../../models/operations/typedparametergenerationgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## UsageExamplePost @@ -1090,4 +1128,6 @@ func main() { ### Response **[*operations.UsageExamplePostResponse](../../models/operations/usageexamplepostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/globals/README.md b/go-client-sdk/docs/sdks/globals/README.md index 5acb59c0e..900f2e15f 100755 --- a/go-client-sdk/docs/sdks/globals/README.md +++ b/go-client-sdk/docs/sdks/globals/README.md @@ -59,7 +59,9 @@ func main() { ### Response **[*operations.GlobalPathParameterGetResponse](../../models/operations/globalpathparametergetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## GlobalsQueryParameterGet @@ -110,4 +112,6 @@ func main() { ### Response **[*operations.GlobalsQueryParameterGetResponse](../../models/operations/globalsqueryparametergetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/nested/README.md b/go-client-sdk/docs/sdks/nested/README.md index 78a123fb4..ccb489f67 100755 --- a/go-client-sdk/docs/sdks/nested/README.md +++ b/go-client-sdk/docs/sdks/nested/README.md @@ -50,4 +50,6 @@ func main() { ### Response **[*operations.NestedGetResponse](../../models/operations/nestedgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/pagination/README.md b/go-client-sdk/docs/sdks/pagination/README.md index 75eedc5e1..c828c2c4b 100755 --- a/go-client-sdk/docs/sdks/pagination/README.md +++ b/go-client-sdk/docs/sdks/pagination/README.md @@ -72,7 +72,9 @@ func main() { ### Response **[*operations.PaginationCursorBodyResponse](../../models/operations/paginationcursorbodyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PaginationCursorParams @@ -132,7 +134,9 @@ func main() { ### Response **[*operations.PaginationCursorParamsResponse](../../models/operations/paginationcursorparamsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PaginationLimitOffsetOffsetBody @@ -189,7 +193,9 @@ func main() { ### Response **[*operations.PaginationLimitOffsetOffsetBodyResponse](../../models/operations/paginationlimitoffsetoffsetbodyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PaginationLimitOffsetOffsetParams @@ -252,7 +258,9 @@ func main() { ### Response **[*operations.PaginationLimitOffsetOffsetParamsResponse](../../models/operations/paginationlimitoffsetoffsetparamsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PaginationLimitOffsetPageBody @@ -309,7 +317,9 @@ func main() { ### Response **[*operations.PaginationLimitOffsetPageBodyResponse](../../models/operations/paginationlimitoffsetpagebodyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PaginationLimitOffsetPageParams @@ -369,4 +379,6 @@ func main() { ### Response **[*operations.PaginationLimitOffsetPageParamsResponse](../../models/operations/paginationlimitoffsetpageparamsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/parameters/README.md b/go-client-sdk/docs/sdks/parameters/README.md index b78d561ae..da02fab4d 100755 --- a/go-client-sdk/docs/sdks/parameters/README.md +++ b/go-client-sdk/docs/sdks/parameters/README.md @@ -56,8 +56,8 @@ func main() { mapParam := map[string]string{ - "test2": "value2", "test": "value", + "test2": "value2", } mapArrParam := map[string][]string{ @@ -95,7 +95,9 @@ func main() { ### Response **[*operations.DeepObjectQueryParamsMapResponse](../../models/operations/deepobjectqueryparamsmapresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DeepObjectQueryParamsObject @@ -176,7 +178,9 @@ func main() { ### Response **[*operations.DeepObjectQueryParamsObjectResponse](../../models/operations/deepobjectqueryparamsobjectresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DuplicateParam @@ -227,7 +231,9 @@ func main() { ### Response **[*operations.DuplicateParamResponse](../../models/operations/duplicateparamresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## FormQueryParamsArray @@ -287,7 +293,9 @@ func main() { ### Response **[*operations.FormQueryParamsArrayResponse](../../models/operations/formqueryparamsarrayresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## FormQueryParamsCamelObject @@ -348,7 +356,9 @@ func main() { ### Response **[*operations.FormQueryParamsCamelObjectResponse](../../models/operations/formqueryparamscamelobjectresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## FormQueryParamsMap @@ -408,7 +418,9 @@ func main() { ### Response **[*operations.FormQueryParamsMapResponse](../../models/operations/formqueryparamsmapresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## FormQueryParamsObject @@ -502,7 +514,9 @@ func main() { ### Response **[*operations.FormQueryParamsObjectResponse](../../models/operations/formqueryparamsobjectresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## FormQueryParamsPrimitive @@ -562,7 +576,9 @@ func main() { ### Response **[*operations.FormQueryParamsPrimitiveResponse](../../models/operations/formqueryparamsprimitiveresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## FormQueryParamsRefParamObject @@ -626,7 +642,9 @@ func main() { ### Response **[*operations.FormQueryParamsRefParamObjectResponse](../../models/operations/formqueryparamsrefparamobjectresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## HeaderParamsArray @@ -680,7 +698,9 @@ func main() { ### Response **[*operations.HeaderParamsArrayResponse](../../models/operations/headerparamsarrayresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## HeaderParamsMap @@ -707,8 +727,8 @@ func main() { xHeaderMap := map[string]string{ - "key2": "value2", "key1": "value1", + "key2": "value2", } xHeaderMapExplode := map[string]string{ @@ -740,7 +760,9 @@ func main() { ### Response **[*operations.HeaderParamsMapResponse](../../models/operations/headerparamsmapresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## HeaderParamsObject @@ -834,7 +856,9 @@ func main() { ### Response **[*operations.HeaderParamsObjectResponse](../../models/operations/headerparamsobjectresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## HeaderParamsPrimitive @@ -894,7 +918,9 @@ func main() { ### Response **[*operations.HeaderParamsPrimitiveResponse](../../models/operations/headerparamsprimitiveresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## JSONQueryParamsObject @@ -1100,7 +1126,9 @@ func main() { ### Response **[*operations.JSONQueryParamsObjectResponse](../../models/operations/jsonqueryparamsobjectresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MixedParametersCamelCase @@ -1157,7 +1185,9 @@ func main() { ### Response **[*operations.MixedParametersCamelCaseResponse](../../models/operations/mixedparameterscamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MixedParametersPrimitives @@ -1214,7 +1244,9 @@ func main() { ### Response **[*operations.MixedParametersPrimitivesResponse](../../models/operations/mixedparametersprimitivesresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MixedQueryParams @@ -1330,7 +1362,9 @@ func main() { ### Response **[*operations.MixedQueryParamsResponse](../../models/operations/mixedqueryparamsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PathParameterJSON @@ -1402,7 +1436,9 @@ func main() { ### Response **[*operations.PathParameterJSONResponse](../../models/operations/pathparameterjsonresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PipeDelimitedQueryParamsArray @@ -1492,7 +1528,9 @@ func main() { ### Response **[*operations.PipeDelimitedQueryParamsArrayResponse](../../models/operations/pipedelimitedqueryparamsarrayresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## SimplePathParameterArrays @@ -1546,7 +1584,9 @@ func main() { ### Response **[*operations.SimplePathParameterArraysResponse](../../models/operations/simplepathparameterarraysresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## SimplePathParameterMaps @@ -1606,7 +1646,9 @@ func main() { ### Response **[*operations.SimplePathParameterMapsResponse](../../models/operations/simplepathparametermapsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## SimplePathParameterObjects @@ -1700,7 +1742,9 @@ func main() { ### Response **[*operations.SimplePathParameterObjectsResponse](../../models/operations/simplepathparameterobjectsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## SimplePathParameterPrimitives @@ -1760,4 +1804,6 @@ func main() { ### Response **[*operations.SimplePathParameterPrimitivesResponse](../../models/operations/simplepathparameterprimitivesresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/requestbodies/README.md b/go-client-sdk/docs/sdks/requestbodies/README.md index d95788200..b01abc365 100755 --- a/go-client-sdk/docs/sdks/requestbodies/README.md +++ b/go-client-sdk/docs/sdks/requestbodies/README.md @@ -137,7 +137,9 @@ func main() { ### Response **[*operations.NullableObjectPostResponse](../../models/operations/nullableobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NullableRequiredEmptyObjectPost @@ -190,7 +192,9 @@ func main() { ### Response **[*operations.NullableRequiredEmptyObjectPostResponse](../../models/operations/nullablerequiredemptyobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NullableRequiredPropertyPost @@ -245,7 +249,9 @@ func main() { ### Response **[*operations.NullableRequiredPropertyPostResponse](../../models/operations/nullablerequiredpropertypostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NullableRequiredSharedObjectPost @@ -301,7 +307,9 @@ func main() { ### Response **[*operations.NullableRequiredSharedObjectPostResponse](../../models/operations/nullablerequiredsharedobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArray @@ -373,7 +381,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayResponse](../../models/operations/requestbodypostapplicationjsonarrayresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayCamelCase @@ -442,7 +452,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarraycamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayObj @@ -513,7 +525,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayObjResponse](../../models/operations/requestbodypostapplicationjsonarrayobjresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayObjCamelCase @@ -581,7 +595,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayObjCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayobjcamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayOfArray @@ -655,7 +671,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayOfArrayResponse](../../models/operations/requestbodypostapplicationjsonarrayofarrayresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayOfArrayCamelCase @@ -726,7 +744,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayOfArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayofarraycamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayOfArrayOfPrimitive @@ -779,7 +799,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayOfArrayOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonarrayofarrayofprimitiveresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayOfMap @@ -853,7 +875,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayOfMapResponse](../../models/operations/requestbodypostapplicationjsonarrayofmapresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayOfMapCamelCase @@ -924,7 +948,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayOfMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayofmapcamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONArrayOfPrimitive @@ -975,7 +1001,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONArrayOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonarrayofprimitiveresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONDeep @@ -1071,7 +1099,7 @@ func main() { Bool: true, Int: 1, Map: map[string]shared.SimpleObject{ - "key2": shared.SimpleObject{ + "key": shared.SimpleObject{ Any: "any", Bigint: big.NewInt(8821239038968084), BigintStr: types.MustNewBigIntFromString("9223372036854775808"), @@ -1091,7 +1119,7 @@ func main() { Str: "test", StrOpt: openapi.String("testOptional"), }, - "key": shared.SimpleObject{ + "key2": shared.SimpleObject{ Any: "any", Bigint: big.NewInt(8821239038968084), BigintStr: types.MustNewBigIntFromString("9223372036854775808"), @@ -1156,7 +1184,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONDeepResponse](../../models/operations/requestbodypostapplicationjsondeepresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONDeepCamelCase @@ -1288,7 +1318,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONDeepCamelCaseResponse](../../models/operations/requestbodypostapplicationjsondeepcamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMap @@ -1360,7 +1392,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapResponse](../../models/operations/requestbodypostapplicationjsonmapresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapCamelCase @@ -1429,7 +1463,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapcamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapObj @@ -1500,7 +1536,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapObjResponse](../../models/operations/requestbodypostapplicationjsonmapobjresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapObjCamelCase @@ -1568,7 +1606,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapObjCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapobjcamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapOfArray @@ -1642,7 +1682,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapOfArrayResponse](../../models/operations/requestbodypostapplicationjsonmapofarrayresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapOfArrayCamelCase @@ -1713,7 +1755,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapOfArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapofarraycamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapOfMap @@ -1787,7 +1831,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapOfMapResponse](../../models/operations/requestbodypostapplicationjsonmapofmapresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapOfMapCamelCase @@ -1858,7 +1904,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapOfMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapofmapcamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapOfMapOfPrimitive @@ -1911,7 +1959,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapOfMapOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonmapofmapofprimitiveresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMapOfPrimitive @@ -1962,7 +2012,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMapOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonmapofprimitiveresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONMultipleJSONFiltered @@ -2031,7 +2083,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONMultipleJSONFilteredResponse](../../models/operations/requestbodypostapplicationjsonmultiplejsonfilteredresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONSimple @@ -2100,7 +2154,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONSimpleResponse](../../models/operations/requestbodypostapplicationjsonsimpleresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostApplicationJSONSimpleCamelCase @@ -2166,7 +2222,9 @@ func main() { ### Response **[*operations.RequestBodyPostApplicationJSONSimpleCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonsimplecamelcaseresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostComplexNumberTypes @@ -2232,7 +2290,9 @@ func main() { ### Response **[*operations.RequestBodyPostComplexNumberTypesResponse](../../models/operations/requestbodypostcomplexnumbertypesresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostDefaultsAndConsts @@ -2297,7 +2357,9 @@ func main() { ### Response **[*operations.RequestBodyPostDefaultsAndConstsResponse](../../models/operations/requestbodypostdefaultsandconstsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostEmptyObject @@ -2349,7 +2411,9 @@ func main() { ### Response **[*operations.RequestBodyPostEmptyObjectResponse](../../models/operations/requestbodypostemptyobjectresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostFormDeep @@ -2530,7 +2594,9 @@ func main() { ### Response **[*operations.RequestBodyPostFormDeepResponse](../../models/operations/requestbodypostformdeepresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostFormMapPrimitive @@ -2580,7 +2646,9 @@ func main() { ### Response **[*operations.RequestBodyPostFormMapPrimitiveResponse](../../models/operations/requestbodypostformmapprimitiveresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostFormSimple @@ -2649,7 +2717,9 @@ func main() { ### Response **[*operations.RequestBodyPostFormSimpleResponse](../../models/operations/requestbodypostformsimpleresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesArrayBigInt @@ -2699,7 +2769,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesArrayBigIntResponse](../../models/operations/requestbodypostjsondatatypesarraybigintresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesArrayDate @@ -2749,7 +2821,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesArrayDateResponse](../../models/operations/requestbodypostjsondatatypesarraydateresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesArrayDecimalStr @@ -2799,7 +2873,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesArrayDecimalStrResponse](../../models/operations/requestbodypostjsondatatypesarraydecimalstrresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesBigInt @@ -2847,7 +2923,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesBigIntResponse](../../models/operations/requestbodypostjsondatatypesbigintresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesBigIntStr @@ -2895,7 +2973,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesBigIntStrResponse](../../models/operations/requestbodypostjsondatatypesbigintstrresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesBoolean @@ -2943,7 +3023,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesBooleanResponse](../../models/operations/requestbodypostjsondatatypesbooleanresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesDate @@ -2991,7 +3073,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesDateResponse](../../models/operations/requestbodypostjsondatatypesdateresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesDateTime @@ -3039,7 +3123,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesDateTimeResponse](../../models/operations/requestbodypostjsondatatypesdatetimeresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesDecimal @@ -3087,7 +3173,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesDecimalResponse](../../models/operations/requestbodypostjsondatatypesdecimalresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesDecimalStr @@ -3135,7 +3223,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesDecimalStrResponse](../../models/operations/requestbodypostjsondatatypesdecimalstrresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesFloat32 @@ -3183,7 +3273,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesFloat32Response](../../models/operations/requestbodypostjsondatatypesfloat32response.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesInt32 @@ -3231,7 +3323,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesInt32Response](../../models/operations/requestbodypostjsondatatypesint32response.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesInteger @@ -3279,7 +3373,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesIntegerResponse](../../models/operations/requestbodypostjsondatatypesintegerresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesMapBigIntStr @@ -3329,7 +3425,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesMapBigIntStrResponse](../../models/operations/requestbodypostjsondatatypesmapbigintstrresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesMapDateTime @@ -3379,7 +3477,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesMapDateTimeResponse](../../models/operations/requestbodypostjsondatatypesmapdatetimeresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesMapDecimal @@ -3429,7 +3529,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesMapDecimalResponse](../../models/operations/requestbodypostjsondatatypesmapdecimalresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesNumber @@ -3477,7 +3579,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesNumberResponse](../../models/operations/requestbodypostjsondatatypesnumberresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostJSONDataTypesString @@ -3525,7 +3629,9 @@ func main() { ### Response **[*operations.RequestBodyPostJSONDataTypesStringResponse](../../models/operations/requestbodypostjsondatatypesstringresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesComponentFiltered @@ -3594,7 +3700,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesComponentFilteredResponse](../../models/operations/requestbodypostmultiplecontenttypescomponentfilteredresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesInlineFiltered @@ -3647,7 +3755,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesInlineFilteredResponse](../../models/operations/requestbodypostmultiplecontenttypesinlinefilteredresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesSplitParamForm @@ -3706,7 +3816,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesSplitParamFormResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparamformresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesSplitParamJSON @@ -3765,7 +3877,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesSplitParamJSONResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparamjsonresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesSplitParamMultipart @@ -3824,7 +3938,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesSplitParamMultipartResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparammultipartresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesSplitForm @@ -3877,7 +3993,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesSplitFormResponse](../../models/operations/requestbodypostmultiplecontenttypessplitformresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesSplitJSON @@ -3930,7 +4048,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesSplitJSONResponse](../../models/operations/requestbodypostmultiplecontenttypessplitjsonresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostMultipleContentTypesSplitMultipart @@ -3983,7 +4103,9 @@ func main() { ### Response **[*operations.RequestBodyPostMultipleContentTypesSplitMultipartResponse](../../models/operations/requestbodypostmultiplecontenttypessplitmultipartresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostNotNullableNotRequiredStringBody @@ -4031,7 +4153,9 @@ func main() { ### Response **[*operations.RequestBodyPostNotNullableNotRequiredStringBodyResponse](../../models/operations/requestbodypostnotnullablenotrequiredstringbodyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostNullArray @@ -4081,7 +4205,9 @@ func main() { ### Response **[*operations.RequestBodyPostNullArrayResponse](../../models/operations/requestbodypostnullarrayresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostNullDictionary @@ -4131,7 +4257,9 @@ func main() { ### Response **[*operations.RequestBodyPostNullDictionaryResponse](../../models/operations/requestbodypostnulldictionaryresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostNullableNotRequiredStringBody @@ -4179,7 +4307,9 @@ func main() { ### Response **[*operations.RequestBodyPostNullableNotRequiredStringBodyResponse](../../models/operations/requestbodypostnullablenotrequiredstringbodyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPostNullableRequiredStringBody @@ -4227,7 +4357,9 @@ func main() { ### Response **[*operations.RequestBodyPostNullableRequiredStringBodyResponse](../../models/operations/requestbodypostnullablerequiredstringbodyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutBytes @@ -4275,7 +4407,9 @@ func main() { ### Response **[*operations.RequestBodyPutBytesResponse](../../models/operations/requestbodyputbytesresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutBytesWithParams @@ -4329,7 +4463,9 @@ func main() { ### Response **[*operations.RequestBodyPutBytesWithParamsResponse](../../models/operations/requestbodyputbyteswithparamsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutMultipartDeep @@ -4510,7 +4646,9 @@ func main() { ### Response **[*operations.RequestBodyPutMultipartDeepResponse](../../models/operations/requestbodyputmultipartdeepresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutMultipartDifferentFileName @@ -4564,7 +4702,9 @@ func main() { ### Response **[*operations.RequestBodyPutMultipartDifferentFileNameResponse](../../models/operations/requestbodyputmultipartdifferentfilenameresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutMultipartFile @@ -4618,7 +4758,9 @@ func main() { ### Response **[*operations.RequestBodyPutMultipartFileResponse](../../models/operations/requestbodyputmultipartfileresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutMultipartSimple @@ -4687,7 +4829,9 @@ func main() { ### Response **[*operations.RequestBodyPutMultipartSimpleResponse](../../models/operations/requestbodyputmultipartsimpleresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutString @@ -4735,7 +4879,9 @@ func main() { ### Response **[*operations.RequestBodyPutStringResponse](../../models/operations/requestbodyputstringresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyPutStringWithParams @@ -4789,7 +4935,9 @@ func main() { ### Response **[*operations.RequestBodyPutStringWithParamsResponse](../../models/operations/requestbodyputstringwithparamsresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyReadAndWrite @@ -4842,7 +4990,9 @@ func main() { ### Response **[*operations.RequestBodyReadAndWriteResponse](../../models/operations/requestbodyreadandwriteresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyReadOnlyInput @@ -4891,7 +5041,9 @@ func main() { ### Response **[*operations.RequestBodyReadOnlyInputResponse](../../models/operations/requestbodyreadonlyinputresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyReadOnlyUnion @@ -4963,7 +5115,9 @@ func main() { ### Response **[*operations.RequestBodyReadOnlyUnionResponse](../../models/operations/requestbodyreadonlyunionresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyReadWriteOnlyUnion @@ -5020,7 +5174,9 @@ func main() { ### Response **[*operations.RequestBodyReadWriteOnlyUnionResponse](../../models/operations/requestbodyreadwriteonlyunionresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyWriteOnly @@ -5073,7 +5229,9 @@ func main() { ### Response **[*operations.RequestBodyWriteOnlyResponse](../../models/operations/requestbodywriteonlyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyWriteOnlyOutput @@ -5126,7 +5284,9 @@ func main() { ### Response **[*operations.RequestBodyWriteOnlyOutputResponse](../../models/operations/requestbodywriteonlyoutputresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## RequestBodyWriteOnlyUnion @@ -5183,4 +5343,6 @@ func main() { ### Response **[*operations.RequestBodyWriteOnlyUnionResponse](../../models/operations/requestbodywriteonlyunionresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/resource/README.md b/go-client-sdk/docs/sdks/resource/README.md index 1a8d3349a..5fc969b73 100755 --- a/go-client-sdk/docs/sdks/resource/README.md +++ b/go-client-sdk/docs/sdks/resource/README.md @@ -61,7 +61,9 @@ func main() { ### Response **[*operations.CreateFileResponse](../../models/operations/createfileresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## CreateResource @@ -138,7 +140,9 @@ func main() { ### Response **[*operations.CreateResourceResponse](../../models/operations/createresourceresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## DeleteResource @@ -189,7 +193,9 @@ func main() { ### Response **[*operations.DeleteResourceResponse](../../models/operations/deleteresourceresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## GetResource @@ -240,7 +246,9 @@ func main() { ### Response **[*operations.GetResourceResponse](../../models/operations/getresourceresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## UpdateResource @@ -291,4 +299,6 @@ func main() { ### Response **[*operations.UpdateResourceResponse](../../models/operations/updateresourceresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/responsebodies/README.md b/go-client-sdk/docs/sdks/responsebodies/README.md index 21de138a6..4bee76300 100755 --- a/go-client-sdk/docs/sdks/responsebodies/README.md +++ b/go-client-sdk/docs/sdks/responsebodies/README.md @@ -71,7 +71,9 @@ func main() { ### Response **[*operations.ResponseBodyAdditionalPropertiesComplexNumbersPostResponse](../../models/operations/responsebodyadditionalpropertiescomplexnumberspostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyAdditionalPropertiesDatePost @@ -125,7 +127,9 @@ func main() { ### Response **[*operations.ResponseBodyAdditionalPropertiesDatePostResponse](../../models/operations/responsebodyadditionalpropertiesdatepostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyAdditionalPropertiesObjectPost @@ -202,7 +206,9 @@ func main() { ### Response **[*operations.ResponseBodyAdditionalPropertiesObjectPostResponse](../../models/operations/responsebodyadditionalpropertiesobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyAdditionalPropertiesPost @@ -255,7 +261,9 @@ func main() { ### Response **[*operations.ResponseBodyAdditionalPropertiesPostResponse](../../models/operations/responsebodyadditionalpropertiespostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyBytesGet @@ -302,7 +310,9 @@ func main() { ### Response **[*operations.ResponseBodyBytesGetResponse](../../models/operations/responsebodybytesgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyEmptyWithHeaders @@ -356,7 +366,9 @@ func main() { ### Response **[*operations.ResponseBodyEmptyWithHeadersResponse](../../models/operations/responsebodyemptywithheadersresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyOptionalGet @@ -404,7 +416,9 @@ func main() { ### Response **[*operations.ResponseBodyOptionalGetResponse](../../models/operations/responsebodyoptionalgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyReadOnly @@ -452,7 +466,9 @@ func main() { ### Response **[*operations.ResponseBodyReadOnlyResponse](../../models/operations/responsebodyreadonlyresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyStringGet @@ -499,7 +515,9 @@ func main() { ### Response **[*operations.ResponseBodyStringGetResponse](../../models/operations/responsebodystringgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyXMLGet @@ -546,7 +564,9 @@ func main() { ### Response **[*operations.ResponseBodyXMLGetResponse](../../models/operations/responsebodyxmlgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyZeroValueComplexTypePtrsPost @@ -598,4 +618,6 @@ func main() { ### Response **[*operations.ResponseBodyZeroValueComplexTypePtrsPostResponse](../../models/operations/responsebodyzerovaluecomplextypeptrspostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/retries/README.md b/go-client-sdk/docs/sdks/retries/README.md index 4277eb42d..43dbe7753 100755 --- a/go-client-sdk/docs/sdks/retries/README.md +++ b/go-client-sdk/docs/sdks/retries/README.md @@ -62,4 +62,6 @@ func main() { ### Response **[*operations.RetriesGetResponse](../../models/operations/retriesgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/sdk/README.md b/go-client-sdk/docs/sdks/sdk/README.md index 131cdc5df..17c923394 100755 --- a/go-client-sdk/docs/sdks/sdk/README.md +++ b/go-client-sdk/docs/sdks/sdk/README.md @@ -59,7 +59,9 @@ func main() { ### Response **[*operations.PutAnythingIgnoredGenerationResponse](../../models/operations/putanythingignoredgenerationresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ResponseBodyJSONGet @@ -106,4 +108,6 @@ func main() { ### Response **[*operations.ResponseBodyJSONGetResponse](../../models/operations/responsebodyjsongetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/sdkfirst/README.md b/go-client-sdk/docs/sdks/sdkfirst/README.md index a6480ce02..48623ee27 100755 --- a/go-client-sdk/docs/sdks/sdkfirst/README.md +++ b/go-client-sdk/docs/sdks/sdkfirst/README.md @@ -50,4 +50,6 @@ func main() { ### Response **[*operations.NestFirstGetResponse](../../models/operations/nestfirstgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/sdknestedfirst/README.md b/go-client-sdk/docs/sdks/sdknestedfirst/README.md index 7dbc944c6..b9eec4a2e 100755 --- a/go-client-sdk/docs/sdks/sdknestedfirst/README.md +++ b/go-client-sdk/docs/sdks/sdknestedfirst/README.md @@ -50,4 +50,6 @@ func main() { ### Response **[*operations.NestedFirstGetResponse](../../models/operations/nestedfirstgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/sdksecond/README.md b/go-client-sdk/docs/sdks/sdksecond/README.md index e2c948258..9053ab9de 100755 --- a/go-client-sdk/docs/sdks/sdksecond/README.md +++ b/go-client-sdk/docs/sdks/sdksecond/README.md @@ -50,4 +50,6 @@ func main() { ### Response **[*operations.NestedSecondGetResponse](../../models/operations/nestedsecondgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/second/README.md b/go-client-sdk/docs/sdks/second/README.md index c6425b39d..64e52023c 100755 --- a/go-client-sdk/docs/sdks/second/README.md +++ b/go-client-sdk/docs/sdks/second/README.md @@ -50,4 +50,6 @@ func main() { ### Response **[*operations.GroupSecondGetResponse](../../models/operations/groupsecondgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/servers/README.md b/go-client-sdk/docs/sdks/servers/README.md index c60a9d25a..92e6b90fa 100755 --- a/go-client-sdk/docs/sdks/servers/README.md +++ b/go-client-sdk/docs/sdks/servers/README.md @@ -59,7 +59,9 @@ func main() { ### Response **[*operations.SelectGlobalServerResponse](../../models/operations/selectglobalserverresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## SelectServerWithID @@ -109,7 +111,9 @@ func main() { ### Response **[*operations.SelectServerWithIDResponse](../../models/operations/selectserverwithidresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ServerWithProtocolTemplate @@ -157,7 +161,9 @@ func main() { ### Response **[*operations.ServerWithProtocolTemplateResponse](../../models/operations/serverwithprotocoltemplateresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ServerWithTemplates @@ -205,7 +211,9 @@ func main() { ### Response **[*operations.ServerWithTemplatesResponse](../../models/operations/serverwithtemplatesresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ServerWithTemplatesGlobal @@ -252,7 +260,9 @@ func main() { ### Response **[*operations.ServerWithTemplatesGlobalResponse](../../models/operations/serverwithtemplatesglobalresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## ServersByIDWithTemplates @@ -300,4 +310,6 @@ func main() { ### Response **[*operations.ServersByIDWithTemplatesResponse](../../models/operations/serversbyidwithtemplatesresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/telemetry/README.md b/go-client-sdk/docs/sdks/telemetry/README.md index 8824fbef8..cb1addcef 100755 --- a/go-client-sdk/docs/sdks/telemetry/README.md +++ b/go-client-sdk/docs/sdks/telemetry/README.md @@ -59,7 +59,9 @@ func main() { ### Response **[*operations.TelemetrySpeakeasyUserAgentGetResponse](../../models/operations/telemetryspeakeasyuseragentgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## TelemetryUserAgentGet @@ -106,4 +108,6 @@ func main() { ### Response **[*operations.TelemetryUserAgentGetResponse](../../models/operations/telemetryuseragentgetresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/docs/sdks/unions/README.md b/go-client-sdk/docs/sdks/unions/README.md index 60d3b04d9..886d89b5c 100755 --- a/go-client-sdk/docs/sdks/unions/README.md +++ b/go-client-sdk/docs/sdks/unions/README.md @@ -74,7 +74,9 @@ func main() { ### Response **[*operations.FlattenedTypedObjectPostResponse](../../models/operations/flattenedtypedobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## MixedTypeOneOfPost @@ -127,7 +129,9 @@ func main() { ### Response **[*operations.MixedTypeOneOfPostResponse](../../models/operations/mixedtypeoneofpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NullableOneOfRefInObjectPost @@ -192,7 +196,9 @@ func main() { ### Response **[*operations.NullableOneOfRefInObjectPostResponse](../../models/operations/nullableoneofrefinobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NullableOneOfSchemaPost @@ -246,7 +252,9 @@ func main() { ### Response **[*operations.NullableOneOfSchemaPostResponse](../../models/operations/nullableoneofschemapostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NullableOneOfTypeInObjectPost @@ -300,7 +308,9 @@ func main() { ### Response **[*operations.NullableOneOfTypeInObjectPostResponse](../../models/operations/nullableoneoftypeinobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## NullableTypedObjectPost @@ -351,7 +361,9 @@ func main() { ### Response **[*operations.NullableTypedObjectPostResponse](../../models/operations/nullabletypedobjectpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## PrimitiveTypeOneOfPost @@ -402,7 +414,9 @@ func main() { ### Response **[*operations.PrimitiveTypeOneOfPostResponse](../../models/operations/primitivetypeoneofpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## StronglyTypedOneOfPost @@ -499,7 +513,7 @@ func main() { Bool: true, Int: 1, Map: map[string]shared.SimpleObject{ - "key": shared.SimpleObject{ + "key2": shared.SimpleObject{ Any: "any", Bigint: big.NewInt(8821239038968084), BigintStr: types.MustNewBigIntFromString("9223372036854775808"), @@ -519,7 +533,7 @@ func main() { Str: "test", StrOpt: openapi.String("testOptional"), }, - "key2": shared.SimpleObject{ + "key": shared.SimpleObject{ Any: "any", Bigint: big.NewInt(8821239038968084), BigintStr: types.MustNewBigIntFromString("9223372036854775808"), @@ -585,7 +599,9 @@ func main() { ### Response **[*operations.StronglyTypedOneOfPostResponse](../../models/operations/stronglytypedoneofpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## TypedObjectNullableOneOfPost @@ -638,7 +654,9 @@ func main() { ### Response **[*operations.TypedObjectNullableOneOfPostResponse](../../models/operations/typedobjectnullableoneofpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## TypedObjectOneOfPost @@ -691,7 +709,9 @@ func main() { ### Response **[*operations.TypedObjectOneOfPostResponse](../../models/operations/typedobjectoneofpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## UnionBigIntDecimal @@ -744,7 +764,9 @@ func main() { ### Response **[*operations.UnionBigIntDecimalResponse](../../models/operations/unionbigintdecimalresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## UnionDateNull @@ -792,7 +814,9 @@ func main() { ### Response **[*operations.UnionDateNullResponse](../../models/operations/uniondatenullresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## UnionDateTimeBigInt @@ -845,7 +869,9 @@ func main() { ### Response **[*operations.UnionDateTimeBigIntResponse](../../models/operations/uniondatetimebigintresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## UnionDateTimeNull @@ -893,7 +919,9 @@ func main() { ### Response **[*operations.UnionDateTimeNullResponse](../../models/operations/uniondatetimenullresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | ## WeaklyTypedOneOfPost @@ -964,4 +992,6 @@ func main() { ### Response **[*operations.WeaklyTypedOneOfPostResponse](../../models/operations/weaklytypedoneofpostresponse.md), error** - +| Error Object | Status Code | Content Type | +| ------------------ | ------------------ | ------------------ | +| sdkerrors.SDKError | 400-600 | */* | diff --git a/go-client-sdk/gen.yaml b/go-client-sdk/gen.yaml index 5d13a0189..342a257ef 100755 --- a/go-client-sdk/gen.yaml +++ b/go-client-sdk/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 0c1717dc8f9e83b99bad896fa719645c docVersion: 0.1.0 - speakeasyVersion: 1.114.1 - generationVersion: 2.181.1 + speakeasyVersion: 1.115.0 + generationVersion: 2.183.0 generation: comments: {} sdkClassName: SDK @@ -14,7 +14,7 @@ features: constsAndDefaults: 0.1.1 core: 3.1.0 deprecations: 2.81.1 - docs: 0.3.9 + docs: 0.3.10 downloadStreams: 0.1.1 enums: 2.81.1 errors: 2.81.7 @@ -36,7 +36,7 @@ features: tests: 0.0.0 unions: 2.85.0 go: - version: 2.0.0 + version: 2.0.1 clientServerStatusCodesAsErrors: true flattenGlobalSecurity: true imports: diff --git a/go-client-sdk/sdk.go b/go-client-sdk/sdk.go index ba29918ee..f8cc51fdc 100755 --- a/go-client-sdk/sdk.go +++ b/go-client-sdk/sdk.go @@ -301,9 +301,9 @@ func New(opts ...SDKOption) *SDK { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "0.1.0", - SDKVersion: "2.0.0", - GenVersion: "2.181.1", - UserAgent: "speakeasy-sdk/go 2.0.0 2.181.1 0.1.0 openapi", + SDKVersion: "2.0.1", + GenVersion: "2.183.0", + UserAgent: "speakeasy-sdk/go 2.0.1 2.183.0 0.1.0 openapi", Globals: map[string]map[string]map[string]interface{}{ "parameters": {}, }, diff --git a/go-client-sdk/tests/parameters_test.go b/go-client-sdk/tests/parameters_test.go index c702b0b36..57f45a02b 100755 --- a/go-client-sdk/tests/parameters_test.go +++ b/go-client-sdk/tests/parameters_test.go @@ -209,13 +209,13 @@ func TestParameters_FormQueryParamsMap(t *testing.T) { ) mapParam := map[string]string{ - "test2": "value2", "test": "value", + "test2": "value2", } mapParamExploded := map[string]int64{ - "test2": 2, "test": 1, + "test2": 2, } ctx := context.Background() @@ -827,43 +827,43 @@ func TestParameters_MixedQueryParams(t *testing.T) { assert.Equal(t, 200, res.StatusCode) assert.Equal(t, map[string]string{ - "int": "1", + "deepObjectParam[num]": "1.1", + "int32": "1", + "deepObjectParam[bool]": "true", + "deepObjectParam[any]": "any", + "deepObjectParam[strOpt]": "testOptional", + "bigintStr": "9223372036854775808", + "deepObjectParam[bigintStr]": "9223372036854775808", + "deepObjectParam[float32]": "1.1", + "deepObjectParam[int32]": "1", + "deepObjectParam[str]": "test", "decimalStr": "3.14159265358979344719667586", + "str": "test", + "date": "2020-01-01", + "bool": "true", + "boolOpt": "true", + "deepObjectParam[boolOpt]": "true", + "deepObjectParam[date]": "2020-01-01", + "int32Enum": "55", "strOpt": "testOptional", - "deepObjectParam[enum]": "one", - "deepObjectParam[decimalStr]": "3.14159265358979344719667586", - "deepObjectParam[str]": "test", + "any": "any", + "enum": "one", "float32": "1.1", - "intEnum": "2", - "bigint": "8821239038968084", - "deepObjectParam[intEnum]": "2", - "deepObjectParam[decimal]": "3.141592653589793", - "deepObjectParam[float32]": "1.1", "num": "1.1", - "str": "test", - "deepObjectParam[bigintStr]": "9223372036854775808", - "deepObjectParam[boolOpt]": "true", + "deepObjectParam[bigint]": "8821239038968084", + "intEnum": "2", + "int": "1", "deepObjectParam[int32Enum]": "55", - "bigintStr": "9223372036854775808", - "bool": "true", - "boolOpt": "true", + "deepObjectParam[decimalStr]": "3.14159265358979344719667586", "jsonParam": "{\"any\":\"any\",\"bigint\":8821239038968084,\"bigintStr\":\"9223372036854775808\",\"bool\":true,\"boolOpt\":true,\"date\":\"2020-01-01\",\"dateTime\":\"2020-01-01T00:00:00.000000001Z\",\"decimal\":3.141592653589793,\"decimalStr\":\"3.14159265358979344719667586\",\"enum\":\"one\",\"float32\":1.1,\"int\":1,\"int32\":1,\"int32Enum\":55,\"intEnum\":2,\"num\":1.1,\"str\":\"test\",\"strOpt\":\"testOptional\"}", - "any": "any", - "date": "2020-01-01", - "int32": "1", + "deepObjectParam[intEnum]": "2", + "dateTime": "2020-01-01T00:00:00.000000001Z", "deepObjectParam[dateTime]": "2020-01-01T00:00:00.000000001Z", - "deepObjectParam[int32]": "1", + "deepObjectParam[enum]": "one", "deepObjectParam[int]": "1", - "deepObjectParam[strOpt]": "testOptional", - "enum": "one", - "dateTime": "2020-01-01T00:00:00.000000001Z", - "deepObjectParam[bigint]": "8821239038968084", - "deepObjectParam[bool]": "true", + "deepObjectParam[decimal]": "3.141592653589793", "decimal": "3.141592653589793", - "int32Enum": "55", - "deepObjectParam[any]": "any", - "deepObjectParam[date]": "2020-01-01", - "deepObjectParam[num]": "1.1", + "bigint": "8821239038968084", }, res.Res.Args) assert.Equal(t, "http://localhost:35123/anything/queryParams/mixed?any=any&bigint=8821239038968084&bigintStr=9223372036854775808&bool=true&boolOpt=true&date=2020-01-01&dateTime=2020-01-01T00%3A00%3A00.000000001Z&decimal=3.141592653589793&decimalStr=3.14159265358979344719667586&deepObjectParam[any]=any&deepObjectParam[bigintStr]=9223372036854775808&deepObjectParam[bigint]=8821239038968084&deepObjectParam[boolOpt]=true&deepObjectParam[bool]=true&deepObjectParam[dateTime]=2020-01-01T00%3A00%3A00.000000001Z&deepObjectParam[date]=2020-01-01&deepObjectParam[decimalStr]=3.14159265358979344719667586&deepObjectParam[decimal]=3.141592653589793&deepObjectParam[enum]=one&deepObjectParam[float32]=1.1&deepObjectParam[int32Enum]=55&deepObjectParam[int32]=1&deepObjectParam[intEnum]=2&deepObjectParam[int]=1&deepObjectParam[num]=1.1&deepObjectParam[strOpt]=testOptional&deepObjectParam[str]=test&enum=one&float32=1.1&int=1&int32=1&int32Enum=55&intEnum=2&jsonParam={\"any\"%3A\"any\"%2C\"bigint\"%3A8821239038968084%2C\"bigintStr\"%3A\"9223372036854775808\"%2C\"bool\"%3Atrue%2C\"boolOpt\"%3Atrue%2C\"date\"%3A\"2020-01-01\"%2C\"dateTime\"%3A\"2020-01-01T00%3A00%3A00.000000001Z\"%2C\"decimal\"%3A3.141592653589793%2C\"decimalStr\"%3A\"3.14159265358979344719667586\"%2C\"enum\"%3A\"one\"%2C\"float32\"%3A1.1%2C\"int\"%3A1%2C\"int32\"%3A1%2C\"int32Enum\"%3A55%2C\"intEnum\"%3A2%2C\"num\"%3A1.1%2C\"str\"%3A\"test\"%2C\"strOpt\"%3A\"testOptional\"}&num=1.1&str=test&strOpt=testOptional", res.Res.URL) } diff --git a/go-client-sdk/testsprimary/telemetry_test.go b/go-client-sdk/testsprimary/telemetry_test.go index 97f482b70..98ea16184 100755 --- a/go-client-sdk/testsprimary/telemetry_test.go +++ b/go-client-sdk/testsprimary/telemetry_test.go @@ -22,7 +22,7 @@ func TestTelemetryUserAgentGet(t *testing.T) { require.NoError(t, err) require.NotNil(t, res) assert.Equal(t, http.StatusOK, res.StatusCode) - assert.Equal(t, "speakeasy-sdk/go 2.0.0 2.181.1 0.1.0 openapi", res.Res.Headers["X-Speakeasy-User-Agent"]) + assert.Equal(t, "speakeasy-sdk/go 2.0.1 2.183.0 0.1.0 openapi", res.Res.Headers["X-Speakeasy-User-Agent"]) } func TestTelemetrySpeakeasyUserAgentGet(t *testing.T) { @@ -37,5 +37,5 @@ func TestTelemetrySpeakeasyUserAgentGet(t *testing.T) { require.NotNil(t, res) assert.Equal(t, http.StatusOK, res.StatusCode) assert.Equal(t, userAgent, res.Res.Headers["User-Agent"]) - assert.Equal(t, "speakeasy-sdk/go 2.0.0 2.181.1 0.1.0 openapi", res.Res.Headers["X-Speakeasy-User-Agent"]) + assert.Equal(t, "speakeasy-sdk/go 2.0.1 2.183.0 0.1.0 openapi", res.Res.Headers["X-Speakeasy-User-Agent"]) } diff --git a/python-client-sdk/README.md b/python-client-sdk/README.md index b280ea8ca..1e8f861f6 100755 --- a/python-client-sdk/README.md +++ b/python-client-sdk/README.md @@ -502,6 +502,12 @@ if res.res is not None: Handling errors in your SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type. +| Error Object | Status Code | Content Type | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| errors.Error | 500 | application/json | +| errors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json | +| errors.SDKError | 400-600 | */* | + ## Example @@ -522,11 +528,13 @@ res = None try: res = s.errors.status_get_x_speakeasy_errors(status_code=385913) - -except (error) as e: +except (errors.Error) as e: print(e) # handle exception -except (501_application/json_object) as e: +except (errors.StatusGetXSpeakeasyErrorsResponseBody) as e: print(e) # handle exception +except (errors.SDKError) as e: + print(e) # handle exception + if res.status_code == 200: # handle response @@ -717,14 +725,11 @@ if res.retries is not None: # handle response pass ``` - - - # Authentication ## Per-Client Security Schemes diff --git a/python-client-sdk/docs/sdks/auth/README.md b/python-client-sdk/docs/sdks/auth/README.md index 38f87700e..e77f7a0b5 100755 --- a/python-client-sdk/docs/sdks/auth/README.md +++ b/python-client-sdk/docs/sdks/auth/README.md @@ -49,7 +49,11 @@ if res.token is not None: ### Response **[operations.APIKeyAuthResponse](../../models/operations/apikeyauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## api_key_auth_global @@ -79,7 +83,11 @@ if res.token is not None: ### Response **[operations.APIKeyAuthGlobalResponse](../../models/operations/apikeyauthglobalresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## basic_auth @@ -117,7 +125,11 @@ if res.user is not None: ### Response **[operations.BasicAuthResponse](../../models/operations/basicauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## bearer_auth @@ -152,7 +164,11 @@ if res.token is not None: ### Response **[operations.BearerAuthResponse](../../models/operations/bearerauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## global_bearer_auth @@ -182,7 +198,11 @@ if res.token is not None: ### Response **[operations.GlobalBearerAuthResponse](../../models/operations/globalbearerauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## oauth2_auth @@ -217,7 +237,11 @@ if res.token is not None: ### Response **[operations.Oauth2AuthResponse](../../models/operations/oauth2authresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## oauth2_override @@ -252,7 +276,11 @@ if res.token is not None: ### Response **[operations.Oauth2OverrideResponse](../../models/operations/oauth2overrideresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## open_id_connect_auth @@ -287,4 +315,8 @@ if res.token is not None: ### Response **[operations.OpenIDConnectAuthResponse](../../models/operations/openidconnectauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/authnew/README.md b/python-client-sdk/docs/sdks/authnew/README.md index afef99205..a85a3a060 100755 --- a/python-client-sdk/docs/sdks/authnew/README.md +++ b/python-client-sdk/docs/sdks/authnew/README.md @@ -66,7 +66,11 @@ if res.status_code == 200: ### Response **[operations.APIKeyAuthGlobalNewResponse](../../models/operations/apikeyauthglobalnewresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## auth_global @@ -115,7 +119,11 @@ if res.status_code == 200: ### Response **[operations.AuthGlobalResponse](../../models/operations/authglobalresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## basic_auth_new @@ -165,7 +173,11 @@ if res.status_code == 200: ### Response **[operations.BasicAuthNewResponse](../../models/operations/basicauthnewresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multiple_mixed_options_auth @@ -214,7 +226,11 @@ if res.status_code == 200: ### Response **[operations.MultipleMixedOptionsAuthResponse](../../models/operations/multiplemixedoptionsauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multiple_mixed_scheme_auth @@ -267,7 +283,11 @@ if res.status_code == 200: ### Response **[operations.MultipleMixedSchemeAuthResponse](../../models/operations/multiplemixedschemeauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multiple_options_with_mixed_schemes_auth @@ -319,7 +339,11 @@ if res.status_code == 200: ### Response **[operations.MultipleOptionsWithMixedSchemesAuthResponse](../../models/operations/multipleoptionswithmixedschemesauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multiple_options_with_simple_schemes_auth @@ -371,7 +395,11 @@ if res.status_code == 200: ### Response **[operations.MultipleOptionsWithSimpleSchemesAuthResponse](../../models/operations/multipleoptionswithsimpleschemesauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multiple_simple_options_auth @@ -420,7 +448,11 @@ if res.status_code == 200: ### Response **[operations.MultipleSimpleOptionsAuthResponse](../../models/operations/multiplesimpleoptionsauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multiple_simple_scheme_auth @@ -470,7 +502,11 @@ if res.status_code == 200: ### Response **[operations.MultipleSimpleSchemeAuthResponse](../../models/operations/multiplesimpleschemeauthresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## oauth2_auth_new @@ -519,7 +555,11 @@ if res.status_code == 200: ### Response **[operations.Oauth2AuthNewResponse](../../models/operations/oauth2authnewresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## open_id_connect_auth_new @@ -568,4 +608,8 @@ if res.status_code == 200: ### Response **[operations.OpenIDConnectAuthNewResponse](../../models/operations/openidconnectauthnewresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/documentation/README.md b/python-client-sdk/docs/sdks/documentation/README.md index 65308a701..2f9292098 100755 --- a/python-client-sdk/docs/sdks/documentation/README.md +++ b/python-client-sdk/docs/sdks/documentation/README.md @@ -45,4 +45,8 @@ if res.status_code == 200: ### Response **[operations.GetDocumentationPerLanguageResponse](../../models/operations/getdocumentationperlanguageresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/errors/README.md b/python-client-sdk/docs/sdks/errors/README.md index caf9e6985..fc63b1b81 100755 --- a/python-client-sdk/docs/sdks/errors/README.md +++ b/python-client-sdk/docs/sdks/errors/README.md @@ -45,7 +45,11 @@ if res.status_code == 200: ### Response **[operations.ConnectionErrorGetResponse](../../models/operations/connectionerrorgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## status_get_error @@ -81,7 +85,11 @@ if res.status_code == 200: ### Response **[operations.StatusGetErrorResponse](../../models/operations/statusgeterrorresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## status_get_x_speakeasy_errors @@ -118,4 +126,10 @@ if res.status_code == 200: ### Response **[operations.StatusGetXSpeakeasyErrorsResponse](../../models/operations/statusgetxspeakeasyerrorsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| errors.Error | 500 | application/json | +| errors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/first/README.md b/python-client-sdk/docs/sdks/first/README.md index 51389fbed..5912ba113 100755 --- a/python-client-sdk/docs/sdks/first/README.md +++ b/python-client-sdk/docs/sdks/first/README.md @@ -33,4 +33,8 @@ if res.status_code == 200: ### Response **[operations.GroupFirstGetResponse](../../models/operations/groupfirstgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/flattening/README.md b/python-client-sdk/docs/sdks/flattening/README.md index 5d360e424..554a6b004 100755 --- a/python-client-sdk/docs/sdks/flattening/README.md +++ b/python-client-sdk/docs/sdks/flattening/README.md @@ -69,7 +69,11 @@ if res.res is not None: ### Response **[operations.ComponentBodyAndParamConflictResponse](../../models/operations/componentbodyandparamconflictresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## component_body_and_param_no_conflict @@ -127,7 +131,11 @@ if res.res is not None: ### Response **[operations.ComponentBodyAndParamNoConflictResponse](../../models/operations/componentbodyandparamnoconflictresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## conflicting_params @@ -164,7 +172,11 @@ if res.res is not None: ### Response **[operations.ConflictingParamsResponse](../../models/operations/conflictingparamsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## inline_body_and_param_conflict @@ -203,7 +215,11 @@ if res.res is not None: ### Response **[operations.InlineBodyAndParamConflictResponse](../../models/operations/inlinebodyandparamconflictresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## inline_body_and_param_no_conflict @@ -242,4 +258,8 @@ if res.res is not None: ### Response **[operations.InlineBodyAndParamNoConflictResponse](../../models/operations/inlinebodyandparamnoconflictresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/generation/README.md b/python-client-sdk/docs/sdks/generation/README.md index ae76f6f30..4ab858bae 100755 --- a/python-client-sdk/docs/sdks/generation/README.md +++ b/python-client-sdk/docs/sdks/generation/README.md @@ -56,7 +56,11 @@ if res.type_from_anchor is not None: ### Response **[operations.AnchorTypesGetResponse](../../models/operations/anchortypesgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## array_circular_reference_get @@ -86,7 +90,11 @@ if res.array_circular_reference_object is not None: ### Response **[operations.ArrayCircularReferenceGetResponse](../../models/operations/arraycircularreferencegetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## circular_reference_get @@ -116,7 +124,11 @@ if res.valid_circular_reference_object is not None: ### Response **[operations.CircularReferenceGetResponse](../../models/operations/circularreferencegetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## date_param_with_default @@ -153,7 +165,11 @@ if res.status_code == 200: ### Response **[operations.DateParamWithDefaultResponse](../../models/operations/dateparamwithdefaultresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## date_time_param_with_default @@ -190,7 +206,11 @@ if res.status_code == 200: ### Response **[operations.DateTimeParamWithDefaultResponse](../../models/operations/datetimeparamwithdefaultresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## decimal_param_with_default @@ -227,7 +247,11 @@ if res.status_code == 200: ### Response **[operations.DecimalParamWithDefaultResponse](../../models/operations/decimalparamwithdefaultresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## deprecated_field_in_schema_post @@ -264,7 +288,11 @@ if res.status_code == 200: ### Response **[operations.DeprecatedFieldInSchemaPostResponse](../../models/operations/deprecatedfieldinschemapostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## deprecated_object_in_schema_get @@ -294,7 +322,11 @@ if res.object is not None: ### Response **[operations.DeprecatedObjectInSchemaGetResponse](../../models/operations/deprecatedobjectinschemagetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ~~deprecated_operation_no_comments_get~~ @@ -332,7 +364,11 @@ if res.status_code == 200: ### Response **[operations.DeprecatedOperationNoCommentsGetResponse](../../models/operations/deprecatedoperationnocommentsgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ~~deprecated_operation_with_comments_get~~ @@ -373,7 +409,11 @@ if res.status_code == 200: ### Response **[operations.DeprecatedOperationWithCommentsGetResponse](../../models/operations/deprecatedoperationwithcommentsgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## empty_object_get @@ -409,7 +449,11 @@ if res.status_code == 200: ### Response **[operations.EmptyObjectGetResponse](../../models/operations/emptyobjectgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## empty_response_object_with_comment_get @@ -439,7 +483,11 @@ if res.body is not None: ### Response **[operations.EmptyResponseObjectWithCommentGetResponse](../../models/operations/emptyresponseobjectwithcommentgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## global_name_overridden @@ -469,7 +517,11 @@ if res.object is not None: ### Response **[operations.GetGlobalNameOverrideResponse](../../models/operations/getglobalnameoverrideresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ignored_generation_get @@ -499,7 +551,11 @@ if res.object is not None: ### Response **[operations.IgnoredGenerationGetResponse](../../models/operations/ignoredgenerationgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ignores_post @@ -536,7 +592,11 @@ if res.http_bin_simple_json_object is not None: ### Response **[operations.IgnoresPostResponse](../../models/operations/ignorespostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## name_override @@ -573,7 +633,11 @@ if res.overridden_response is not None: ### Response **[operations.NameOverrideGetResponse](../../models/operations/nameoverridegetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## object_circular_reference_get @@ -603,7 +667,11 @@ if res.object_circular_reference_object is not None: ### Response **[operations.ObjectCircularReferenceGetResponse](../../models/operations/objectcircularreferencegetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## one_of_circular_reference_get @@ -633,7 +701,11 @@ if res.one_of_circular_reference_object is not None: ### Response **[operations.OneOfCircularReferenceGetResponse](../../models/operations/oneofcircularreferencegetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## typed_parameter_generation_get @@ -678,7 +750,11 @@ if res.status_code == 200: ### Response **[operations.TypedParameterGenerationGetResponse](../../models/operations/typedparametergenerationgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## usage_example_post @@ -765,4 +841,8 @@ if res.object is not None: ### Response **[operations.UsageExamplePostResponse](../../models/operations/usageexamplepostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/globals/README.md b/python-client-sdk/docs/sdks/globals/README.md index dbd081d94..590cb0883 100755 --- a/python-client-sdk/docs/sdks/globals/README.md +++ b/python-client-sdk/docs/sdks/globals/README.md @@ -44,7 +44,11 @@ if res.res is not None: ### Response **[operations.GlobalPathParameterGetResponse](../../models/operations/globalpathparametergetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## globals_query_parameter_get @@ -80,4 +84,8 @@ if res.res is not None: ### Response **[operations.GlobalsQueryParameterGetResponse](../../models/operations/globalsqueryparametergetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/nested/README.md b/python-client-sdk/docs/sdks/nested/README.md index 3c5ad98a5..3bb749359 100755 --- a/python-client-sdk/docs/sdks/nested/README.md +++ b/python-client-sdk/docs/sdks/nested/README.md @@ -33,4 +33,8 @@ if res.status_code == 200: ### Response **[operations.NestedGetResponse](../../models/operations/nestedgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/pagination/README.md b/python-client-sdk/docs/sdks/pagination/README.md index b90fbc08a..c1ef90e73 100755 --- a/python-client-sdk/docs/sdks/pagination/README.md +++ b/python-client-sdk/docs/sdks/pagination/README.md @@ -57,7 +57,11 @@ if res.res is not None: ### Response **[operations.PaginationCursorBodyResponse](../../models/operations/paginationcursorbodyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pagination_cursor_params @@ -99,7 +103,11 @@ if res.res is not None: ### Response **[operations.PaginationCursorParamsResponse](../../models/operations/paginationcursorparamsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pagination_limit_offset_offset_body @@ -142,7 +150,11 @@ if res.res is not None: ### Response **[operations.PaginationLimitOffsetOffsetBodyResponse](../../models/operations/paginationlimitoffsetoffsetbodyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pagination_limit_offset_offset_params @@ -185,7 +197,11 @@ if res.res is not None: ### Response **[operations.PaginationLimitOffsetOffsetParamsResponse](../../models/operations/paginationlimitoffsetoffsetparamsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pagination_limit_offset_page_body @@ -228,7 +244,11 @@ if res.res is not None: ### Response **[operations.PaginationLimitOffsetPageBodyResponse](../../models/operations/paginationlimitoffsetpagebodyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pagination_limit_offset_page_params @@ -270,4 +290,8 @@ if res.res is not None: ### Response **[operations.PaginationLimitOffsetPageParamsResponse](../../models/operations/paginationlimitoffsetpageparamsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/parameters/README.md b/python-client-sdk/docs/sdks/parameters/README.md index 340c61a2c..f4e2f1ff1 100755 --- a/python-client-sdk/docs/sdks/parameters/README.md +++ b/python-client-sdk/docs/sdks/parameters/README.md @@ -78,7 +78,11 @@ if res.res is not None: ### Response **[operations.DeepObjectQueryParamsMapResponse](../../models/operations/deepobjectqueryparamsmapresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## deep_object_query_params_object @@ -141,7 +145,11 @@ if res.res is not None: ### Response **[operations.DeepObjectQueryParamsObjectResponse](../../models/operations/deepobjectqueryparamsobjectresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## duplicate_param @@ -177,7 +185,11 @@ if res.duplicate_param_response is not None: ### Response **[operations.DuplicateParamResponse](../../models/operations/duplicateparamresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## form_query_params_array @@ -220,7 +232,11 @@ if res.res is not None: ### Response **[operations.FormQueryParamsArrayResponse](../../models/operations/formqueryparamsarrayresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## form_query_params_camel_object @@ -263,7 +279,11 @@ if res.res is not None: ### Response **[operations.FormQueryParamsCamelObjectResponse](../../models/operations/formqueryparamscamelobjectresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## form_query_params_map @@ -306,7 +326,11 @@ if res.res is not None: ### Response **[operations.FormQueryParamsMapResponse](../../models/operations/formqueryparamsmapresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## form_query_params_object @@ -383,7 +407,11 @@ if res.res is not None: ### Response **[operations.FormQueryParamsObjectResponse](../../models/operations/formqueryparamsobjectresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## form_query_params_primitive @@ -422,7 +450,11 @@ if res.res is not None: ### Response **[operations.FormQueryParamsPrimitiveResponse](../../models/operations/formqueryparamsprimitiveresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## form_query_params_ref_param_object @@ -469,7 +501,11 @@ if res.res is not None: ### Response **[operations.FormQueryParamsRefParamObjectResponse](../../models/operations/formqueryparamsrefparamobjectresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## header_params_array @@ -508,7 +544,11 @@ if res.res is not None: ### Response **[operations.HeaderParamsArrayResponse](../../models/operations/headerparamsarrayresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## header_params_map @@ -531,8 +571,8 @@ res = s.parameters.header_params_map(x_header_map={ "key1": 'value1', "key2": 'value2', }, x_header_map_explode={ - "test1": 'val1', "test2": 'val2', + "test1": 'val1', }) if res.res is not None: @@ -551,7 +591,11 @@ if res.res is not None: ### Response **[operations.HeaderParamsMapResponse](../../models/operations/headerparamsmapresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## header_params_object @@ -628,7 +672,11 @@ if res.res is not None: ### Response **[operations.HeaderParamsObjectResponse](../../models/operations/headerparamsobjectresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## header_params_primitive @@ -667,7 +715,11 @@ if res.res is not None: ### Response **[operations.HeaderParamsPrimitiveResponse](../../models/operations/headerparamsprimitiveresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## json_query_params_object @@ -854,7 +906,11 @@ if res.res is not None: ### Response **[operations.JSONQueryParamsObjectResponse](../../models/operations/jsonqueryparamsobjectresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixed_parameters_camel_case @@ -892,7 +948,11 @@ if res.res is not None: ### Response **[operations.MixedParametersCamelCaseResponse](../../models/operations/mixedparameterscamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixed_parameters_primitives @@ -930,7 +990,11 @@ if res.res is not None: ### Response **[operations.MixedParametersPrimitivesResponse](../../models/operations/mixedparametersprimitivesresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixed_query_params @@ -1027,7 +1091,11 @@ if res.res is not None: ### Response **[operations.MixedQueryParamsResponse](../../models/operations/mixedqueryparamsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## path_parameter_json @@ -1084,7 +1152,11 @@ if res.res is not None: ### Response **[operations.PathParameterJSONResponse](../../models/operations/pathparameterjsonresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pipe_delimited_query_params_array @@ -1153,7 +1225,11 @@ if res.res is not None: ### Response **[operations.PipeDelimitedQueryParamsArrayResponse](../../models/operations/pipedelimitedqueryparamsarrayresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simple_path_parameter_arrays @@ -1192,7 +1268,11 @@ if res.res is not None: ### Response **[operations.SimplePathParameterArraysResponse](../../models/operations/simplepathparameterarraysresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simple_path_parameter_maps @@ -1235,7 +1315,11 @@ if res.res is not None: ### Response **[operations.SimplePathParameterMapsResponse](../../models/operations/simplepathparametermapsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simple_path_parameter_objects @@ -1312,7 +1396,11 @@ if res.res is not None: ### Response **[operations.SimplePathParameterObjectsResponse](../../models/operations/simplepathparameterobjectsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simple_path_parameter_primitives @@ -1351,4 +1439,8 @@ if res.res is not None: ### Response **[operations.SimplePathParameterPrimitivesResponse](../../models/operations/simplepathparameterprimitivesresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/requestbodies/README.md b/python-client-sdk/docs/sdks/requestbodies/README.md index 23bbf0a01..3e12948a6 100755 --- a/python-client-sdk/docs/sdks/requestbodies/README.md +++ b/python-client-sdk/docs/sdks/requestbodies/README.md @@ -126,7 +126,11 @@ if res.res is not None: ### Response **[operations.NullableObjectPostResponse](../../models/operations/nullableobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullable_required_empty_object_post @@ -167,7 +171,11 @@ if res.res is not None: ### Response **[operations.NullableRequiredEmptyObjectPostResponse](../../models/operations/nullablerequiredemptyobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullable_required_property_post @@ -210,7 +218,11 @@ if res.res is not None: ### Response **[operations.NullableRequiredPropertyPostResponse](../../models/operations/nullablerequiredpropertypostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullable_required_shared_object_post @@ -254,7 +266,11 @@ if res.res is not None: ### Response **[operations.NullableRequiredSharedObjectPostResponse](../../models/operations/nullablerequiredsharedobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array @@ -315,7 +331,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayResponse](../../models/operations/requestbodypostapplicationjsonarrayresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_camel_case @@ -374,7 +394,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarraycamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_obj @@ -434,7 +458,11 @@ if res.arr_obj_value is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayObjResponse](../../models/operations/requestbodypostapplicationjsonarrayobjresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_obj_camel_case @@ -492,7 +520,11 @@ if res.arr_obj_value_camel_case is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayObjCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayobjcamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_of_array @@ -555,7 +587,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayOfArrayResponse](../../models/operations/requestbodypostapplicationjsonarrayofarrayresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_of_array_camel_case @@ -616,7 +652,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayOfArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayofarraycamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_of_array_of_primitive @@ -658,7 +698,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayOfArrayOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonarrayofarrayofprimitiveresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_of_map @@ -721,7 +765,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayOfMapResponse](../../models/operations/requestbodypostapplicationjsonarrayofmapresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_of_map_camel_case @@ -782,7 +830,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayOfMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayofmapcamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_array_of_primitive @@ -822,7 +874,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONArrayOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonarrayofprimitiveresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_deep @@ -990,7 +1046,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONDeepResponse](../../models/operations/requestbodypostapplicationjsondeepresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_deep_camel_case @@ -1110,7 +1170,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONDeepCamelCaseResponse](../../models/operations/requestbodypostapplicationjsondeepcamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map @@ -1171,7 +1235,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapResponse](../../models/operations/requestbodypostapplicationjsonmapresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_camel_case @@ -1230,7 +1298,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapcamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_obj @@ -1290,7 +1362,11 @@ if res.map_obj_value is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapObjResponse](../../models/operations/requestbodypostapplicationjsonmapobjresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_obj_camel_case @@ -1348,7 +1424,11 @@ if res.map_obj_value_camel_case is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapObjCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapobjcamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_of_array @@ -1411,7 +1491,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapOfArrayResponse](../../models/operations/requestbodypostapplicationjsonmapofarrayresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_of_array_camel_case @@ -1472,7 +1556,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapOfArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapofarraycamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_of_map @@ -1535,7 +1623,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapOfMapResponse](../../models/operations/requestbodypostapplicationjsonmapofmapresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_of_map_camel_case @@ -1596,7 +1688,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapOfMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapofmapcamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_of_map_of_primitive @@ -1638,7 +1734,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapOfMapOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonmapofmapofprimitiveresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_map_of_primitive @@ -1678,7 +1778,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMapOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonmapofprimitiveresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_multiple_json_filtered @@ -1736,7 +1840,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONMultipleJSONFilteredResponse](../../models/operations/requestbodypostapplicationjsonmultiplejsonfilteredresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_simple @@ -1794,7 +1902,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONSimpleResponse](../../models/operations/requestbodypostapplicationjsonsimpleresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_application_json_simple_camel_case @@ -1850,7 +1962,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostApplicationJSONSimpleCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonsimplecamelcaseresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_complex_number_types @@ -1903,7 +2019,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostComplexNumberTypesResponse](../../models/operations/requestbodypostcomplexnumbertypesresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_defaults_and_consts @@ -1957,7 +2077,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostDefaultsAndConstsResponse](../../models/operations/requestbodypostdefaultsandconstsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_empty_object @@ -1997,7 +2121,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostEmptyObjectResponse](../../models/operations/requestbodypostemptyobjectresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_form_deep @@ -2083,7 +2211,7 @@ req = shared.DeepObject( bool=True, int=1, map={ - "key2": shared.SimpleObject( + "key": shared.SimpleObject( any='any', bigint=8821239038968084, bigint_str=9223372036854775808, @@ -2103,7 +2231,7 @@ req = shared.DeepObject( str_='test', str_opt='testOptional', ), - "key": shared.SimpleObject( + "key2": shared.SimpleObject( any='any', bigint=8821239038968084, bigint_str=9223372036854775808, @@ -2165,7 +2293,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostFormDeepResponse](../../models/operations/requestbodypostformdeepresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_form_map_primitive @@ -2204,7 +2336,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostFormMapPrimitiveResponse](../../models/operations/requestbodypostformmapprimitiveresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_form_simple @@ -2262,7 +2398,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostFormSimpleResponse](../../models/operations/requestbodypostformsimpleresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_array_big_int @@ -2301,7 +2441,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesArrayBigIntResponse](../../models/operations/requestbodypostjsondatatypesarraybigintresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_array_date @@ -2340,7 +2484,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesArrayDateResponse](../../models/operations/requestbodypostjsondatatypesarraydateresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_array_decimal_str @@ -2379,7 +2527,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesArrayDecimalStrResponse](../../models/operations/requestbodypostjsondatatypesarraydecimalstrresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_big_int @@ -2416,7 +2568,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesBigIntResponse](../../models/operations/requestbodypostjsondatatypesbigintresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_big_int_str @@ -2453,7 +2609,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesBigIntStrResponse](../../models/operations/requestbodypostjsondatatypesbigintstrresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_boolean @@ -2490,7 +2650,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesBooleanResponse](../../models/operations/requestbodypostjsondatatypesbooleanresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_date @@ -2527,7 +2691,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesDateResponse](../../models/operations/requestbodypostjsondatatypesdateresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_date_time @@ -2564,7 +2732,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesDateTimeResponse](../../models/operations/requestbodypostjsondatatypesdatetimeresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_decimal @@ -2601,7 +2773,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesDecimalResponse](../../models/operations/requestbodypostjsondatatypesdecimalresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_decimal_str @@ -2638,7 +2814,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesDecimalStrResponse](../../models/operations/requestbodypostjsondatatypesdecimalstrresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_float32 @@ -2675,7 +2855,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesFloat32Response](../../models/operations/requestbodypostjsondatatypesfloat32response.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_int32 @@ -2712,7 +2896,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesInt32Response](../../models/operations/requestbodypostjsondatatypesint32response.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_integer @@ -2749,7 +2937,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesIntegerResponse](../../models/operations/requestbodypostjsondatatypesintegerresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_map_big_int_str @@ -2788,7 +2980,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesMapBigIntStrResponse](../../models/operations/requestbodypostjsondatatypesmapbigintstrresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_map_date_time @@ -2827,7 +3023,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesMapDateTimeResponse](../../models/operations/requestbodypostjsondatatypesmapdatetimeresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_map_decimal @@ -2866,7 +3066,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesMapDecimalResponse](../../models/operations/requestbodypostjsondatatypesmapdecimalresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_number @@ -2903,7 +3107,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesNumberResponse](../../models/operations/requestbodypostjsondatatypesnumberresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_json_data_types_string @@ -2940,7 +3148,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostJSONDataTypesStringResponse](../../models/operations/requestbodypostjsondatatypesstringresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_component_filtered @@ -2998,7 +3210,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesComponentFilteredResponse](../../models/operations/requestbodypostmultiplecontenttypescomponentfilteredresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_inline_filtered @@ -3039,7 +3255,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesInlineFilteredResponse](../../models/operations/requestbodypostmultiplecontenttypesinlinefilteredresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_split_param_form @@ -3080,7 +3300,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesSplitParamFormResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparamformresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_split_param_json @@ -3121,7 +3345,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesSplitParamJSONResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparamjsonresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_split_param_multipart @@ -3162,7 +3390,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesSplitParamMultipartResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparammultipartresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_split_form @@ -3203,7 +3435,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesSplitFormResponse](../../models/operations/requestbodypostmultiplecontenttypessplitformresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_split_json @@ -3244,7 +3480,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesSplitJSONResponse](../../models/operations/requestbodypostmultiplecontenttypessplitjsonresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_multiple_content_types_split_multipart @@ -3285,7 +3525,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPostMultipleContentTypesSplitMultipartResponse](../../models/operations/requestbodypostmultiplecontenttypessplitmultipartresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_not_nullable_not_required_string_body @@ -3322,7 +3566,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostNotNullableNotRequiredStringBodyResponse](../../models/operations/requestbodypostnotnullablenotrequiredstringbodyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_null_array @@ -3361,7 +3609,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostNullArrayResponse](../../models/operations/requestbodypostnullarrayresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_null_dictionary @@ -3400,7 +3652,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostNullDictionaryResponse](../../models/operations/requestbodypostnulldictionaryresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_nullable_not_required_string_body @@ -3437,7 +3693,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostNullableNotRequiredStringBodyResponse](../../models/operations/requestbodypostnullablenotrequiredstringbodyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_post_nullable_required_string_body @@ -3474,7 +3734,11 @@ if res.object is not None: ### Response **[operations.RequestBodyPostNullableRequiredStringBodyResponse](../../models/operations/requestbodypostnullablerequiredstringbodyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_bytes @@ -3511,7 +3775,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutBytesResponse](../../models/operations/requestbodyputbytesresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_bytes_with_params @@ -3548,7 +3816,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutBytesWithParamsResponse](../../models/operations/requestbodyputbyteswithparamsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_multipart_deep @@ -3716,7 +3988,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutMultipartDeepResponse](../../models/operations/requestbodyputmultipartdeepresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_multipart_different_file_name @@ -3758,7 +4034,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutMultipartDifferentFileNameResponse](../../models/operations/requestbodyputmultipartdifferentfilenameresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_multipart_file @@ -3800,7 +4080,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutMultipartFileResponse](../../models/operations/requestbodyputmultipartfileresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_multipart_simple @@ -3858,7 +4142,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutMultipartSimpleResponse](../../models/operations/requestbodyputmultipartsimpleresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_string @@ -3895,7 +4183,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutStringResponse](../../models/operations/requestbodyputstringresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_put_string_with_params @@ -3932,7 +4224,11 @@ if res.res is not None: ### Response **[operations.RequestBodyPutStringWithParamsResponse](../../models/operations/requestbodyputstringwithparamsresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_read_and_write @@ -3974,7 +4270,11 @@ if res.read_write_object is not None: ### Response **[operations.RequestBodyReadAndWriteResponse](../../models/operations/requestbodyreadandwriteresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_read_only_input @@ -4012,7 +4312,11 @@ if res.read_only_object is not None: ### Response **[operations.RequestBodyReadOnlyInputResponse](../../models/operations/requestbodyreadonlyinputresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_read_only_union @@ -4071,7 +4375,11 @@ if res.weakly_typed_one_of_read_only_object is not None: ### Response **[operations.RequestBodyReadOnlyUnionResponse](../../models/operations/requestbodyreadonlyunionresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_read_write_only_union @@ -4115,7 +4423,11 @@ if res.weakly_typed_one_of_read_write_object is not None: ### Response **[operations.RequestBodyReadWriteOnlyUnionResponse](../../models/operations/requestbodyreadwriteonlyunionresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_write_only @@ -4157,7 +4469,11 @@ if res.read_only_object is not None: ### Response **[operations.RequestBodyWriteOnlyResponse](../../models/operations/requestbodywriteonlyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_write_only_output @@ -4199,7 +4515,11 @@ if res.write_only_object is not None: ### Response **[operations.RequestBodyWriteOnlyOutputResponse](../../models/operations/requestbodywriteonlyoutputresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## request_body_write_only_union @@ -4243,4 +4563,8 @@ if res.weakly_typed_one_of_write_only_object is not None: ### Response **[operations.RequestBodyWriteOnlyUnionResponse](../../models/operations/requestbodywriteonlyunionresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/resource/README.md b/python-client-sdk/docs/sdks/resource/README.md index ccfa9e1ae..b2263dbdf 100755 --- a/python-client-sdk/docs/sdks/resource/README.md +++ b/python-client-sdk/docs/sdks/resource/README.md @@ -49,7 +49,11 @@ if res.file_resource is not None: ### Response **[operations.CreateFileResponse](../../models/operations/createfileresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## create_resource @@ -114,7 +118,11 @@ if res.example_resource is not None: ### Response **[operations.CreateResourceResponse](../../models/operations/createresourceresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## delete_resource @@ -150,7 +158,11 @@ if res.status_code == 200: ### Response **[operations.DeleteResourceResponse](../../models/operations/deleteresourceresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## get_resource @@ -186,7 +198,11 @@ if res.example_resource is not None: ### Response **[operations.GetResourceResponse](../../models/operations/getresourceresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## update_resource @@ -222,4 +238,8 @@ if res.status_code == 200: ### Response **[operations.UpdateResourceResponse](../../models/operations/updateresourceresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/responsebodies/README.md b/python-client-sdk/docs/sdks/responsebodies/README.md index 829d609d9..5e4791d6f 100755 --- a/python-client-sdk/docs/sdks/responsebodies/README.md +++ b/python-client-sdk/docs/sdks/responsebodies/README.md @@ -59,7 +59,11 @@ if res.object is not None: ### Response **[operations.ResponseBodyAdditionalPropertiesComplexNumbersPostResponse](../../models/operations/responsebodyadditionalpropertiescomplexnumberspostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_additional_properties_date_post @@ -102,7 +106,11 @@ if res.object is not None: ### Response **[operations.ResponseBodyAdditionalPropertiesDatePostResponse](../../models/operations/responsebodyadditionalpropertiesdatepostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_additional_properties_object_post @@ -168,7 +176,11 @@ if res.object is not None: ### Response **[operations.ResponseBodyAdditionalPropertiesObjectPostResponse](../../models/operations/responsebodyadditionalpropertiesobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_additional_properties_post @@ -210,7 +222,11 @@ if res.object is not None: ### Response **[operations.ResponseBodyAdditionalPropertiesPostResponse](../../models/operations/responsebodyadditionalpropertiespostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_bytes_get @@ -240,7 +256,11 @@ if res.bytes is not None: ### Response **[operations.ResponseBodyBytesGetResponse](../../models/operations/responsebodybytesgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_empty_with_headers @@ -277,7 +297,11 @@ if res.status_code == 200: ### Response **[operations.ResponseBodyEmptyWithHeadersResponse](../../models/operations/responsebodyemptywithheadersresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_optional_get @@ -313,7 +337,11 @@ if res.typed_object1 is not None: ### Response **[operations.ResponseBodyOptionalGetResponse](../../models/operations/responsebodyoptionalgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_read_only @@ -349,7 +377,11 @@ if res.read_only_object is not None: ### Response **[operations.ResponseBodyReadOnlyResponse](../../models/operations/responsebodyreadonlyresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_string_get @@ -379,7 +411,11 @@ if res.html is not None: ### Response **[operations.ResponseBodyStringGetResponse](../../models/operations/responsebodystringgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_xml_get @@ -409,7 +445,11 @@ if res.xml is not None: ### Response **[operations.ResponseBodyXMLGetResponse](../../models/operations/responsebodyxmlgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_zero_value_complex_type_ptrs_post @@ -451,4 +491,8 @@ if res.object is not None: ### Response **[operations.ResponseBodyZeroValueComplexTypePtrsPostResponse](../../models/operations/responsebodyzerovaluecomplextypeptrspostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/retries/README.md b/python-client-sdk/docs/sdks/retries/README.md index 5f8915025..90d76ef5a 100755 --- a/python-client-sdk/docs/sdks/retries/README.md +++ b/python-client-sdk/docs/sdks/retries/README.md @@ -46,4 +46,8 @@ if res.retries is not None: ### Response **[operations.RetriesGetResponse](../../models/operations/retriesgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/sdk/README.md b/python-client-sdk/docs/sdks/sdk/README.md index 939d16d76..e1fdc17d2 100755 --- a/python-client-sdk/docs/sdks/sdk/README.md +++ b/python-client-sdk/docs/sdks/sdk/README.md @@ -48,7 +48,11 @@ if res.object is not None: ### Response **[operations.PutAnythingIgnoredGenerationResponse](../../models/operations/putanythingignoredgenerationresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## response_body_json_get @@ -78,4 +82,8 @@ if res.http_bin_simple_json_object is not None: ### Response **[operations.ResponseBodyJSONGetResponse](../../models/operations/responsebodyjsongetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/sdkfirst/README.md b/python-client-sdk/docs/sdks/sdkfirst/README.md index 663797553..a157b5e95 100755 --- a/python-client-sdk/docs/sdks/sdkfirst/README.md +++ b/python-client-sdk/docs/sdks/sdkfirst/README.md @@ -33,4 +33,8 @@ if res.status_code == 200: ### Response **[operations.NestFirstGetResponse](../../models/operations/nestfirstgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/sdknestedfirst/README.md b/python-client-sdk/docs/sdks/sdknestedfirst/README.md index c27127e9b..42ede9101 100755 --- a/python-client-sdk/docs/sdks/sdknestedfirst/README.md +++ b/python-client-sdk/docs/sdks/sdknestedfirst/README.md @@ -33,4 +33,8 @@ if res.status_code == 200: ### Response **[operations.NestedFirstGetResponse](../../models/operations/nestedfirstgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/sdksecond/README.md b/python-client-sdk/docs/sdks/sdksecond/README.md index a95cfffaf..82c5e6080 100755 --- a/python-client-sdk/docs/sdks/sdksecond/README.md +++ b/python-client-sdk/docs/sdks/sdksecond/README.md @@ -33,4 +33,8 @@ if res.status_code == 200: ### Response **[operations.NestedSecondGetResponse](../../models/operations/nestedsecondgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/second/README.md b/python-client-sdk/docs/sdks/second/README.md index 458040283..46f3eccda 100755 --- a/python-client-sdk/docs/sdks/second/README.md +++ b/python-client-sdk/docs/sdks/second/README.md @@ -33,4 +33,8 @@ if res.status_code == 200: ### Response **[operations.GroupSecondGetResponse](../../models/operations/groupsecondgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/servers/README.md b/python-client-sdk/docs/sdks/servers/README.md index 9dd48036e..39fe3ca1f 100755 --- a/python-client-sdk/docs/sdks/servers/README.md +++ b/python-client-sdk/docs/sdks/servers/README.md @@ -42,7 +42,11 @@ if res.status_code == 200: ### Response **[operations.SelectGlobalServerResponse](../../models/operations/selectglobalserverresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## select_server_with_id @@ -80,7 +84,11 @@ if res.status_code == 200: ### Response **[operations.SelectServerWithIDResponse](../../models/operations/selectserverwithidresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## server_with_protocol_template @@ -116,7 +124,11 @@ if res.status_code == 200: ### Response **[operations.ServerWithProtocolTemplateResponse](../../models/operations/serverwithprotocoltemplateresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## server_with_templates @@ -152,7 +164,11 @@ if res.status_code == 200: ### Response **[operations.ServerWithTemplatesResponse](../../models/operations/serverwithtemplatesresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## server_with_templates_global @@ -182,7 +198,11 @@ if res.status_code == 200: ### Response **[operations.ServerWithTemplatesGlobalResponse](../../models/operations/serverwithtemplatesglobalresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## servers_by_id_with_templates @@ -218,4 +238,8 @@ if res.status_code == 200: ### Response **[operations.ServersByIDWithTemplatesResponse](../../models/operations/serversbyidwithtemplatesresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/telemetry/README.md b/python-client-sdk/docs/sdks/telemetry/README.md index 112927b18..41cc9bf5a 100755 --- a/python-client-sdk/docs/sdks/telemetry/README.md +++ b/python-client-sdk/docs/sdks/telemetry/README.md @@ -44,7 +44,11 @@ if res.res is not None: ### Response **[operations.TelemetrySpeakeasyUserAgentGetResponse](../../models/operations/telemetryspeakeasyuseragentgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## telemetry_user_agent_get @@ -74,4 +78,8 @@ if res.res is not None: ### Response **[operations.TelemetryUserAgentGetResponse](../../models/operations/telemetryuseragentgetresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/docs/sdks/unions/README.md b/python-client-sdk/docs/sdks/unions/README.md index 82ce94095..308360d7e 100755 --- a/python-client-sdk/docs/sdks/unions/README.md +++ b/python-client-sdk/docs/sdks/unions/README.md @@ -61,7 +61,11 @@ if res.res is not None: ### Response **[operations.FlattenedTypedObjectPostResponse](../../models/operations/flattenedtypedobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixed_type_one_of_post @@ -100,7 +104,11 @@ if res.res is not None: ### Response **[operations.MixedTypeOneOfPostResponse](../../models/operations/mixedtypeoneofpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullable_one_of_ref_in_object_post @@ -150,7 +158,11 @@ if res.res is not None: ### Response **[operations.NullableOneOfRefInObjectPostResponse](../../models/operations/nullableoneofrefinobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullable_one_of_schema_post @@ -190,7 +202,11 @@ if res.res is not None: ### Response **[operations.NullableOneOfSchemaPostResponse](../../models/operations/nullableoneofschemapostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullable_one_of_type_in_object_post @@ -231,7 +247,11 @@ if res.res is not None: ### Response **[operations.NullableOneOfTypeInObjectPostResponse](../../models/operations/nullableoneoftypeinobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullable_typed_object_post @@ -271,7 +291,11 @@ if res.res is not None: ### Response **[operations.NullableTypedObjectPostResponse](../../models/operations/nullabletypedobjectpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## primitive_type_one_of_post @@ -308,7 +332,11 @@ if res.res is not None: ### Response **[operations.PrimitiveTypeOneOfPostResponse](../../models/operations/primitivetypeoneofpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## strongly_typed_one_of_post @@ -476,7 +504,11 @@ if res.res is not None: ### Response **[operations.StronglyTypedOneOfPostResponse](../../models/operations/stronglytypedoneofpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## typed_object_nullable_one_of_post @@ -516,7 +548,11 @@ if res.res is not None: ### Response **[operations.TypedObjectNullableOneOfPostResponse](../../models/operations/typedobjectnullableoneofpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## typed_object_one_of_post @@ -556,7 +592,11 @@ if res.res is not None: ### Response **[operations.TypedObjectOneOfPostResponse](../../models/operations/typedobjectoneofpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## union_big_int_decimal @@ -593,7 +633,11 @@ if res.res is not None: ### Response **[operations.UnionBigIntDecimalResponse](../../models/operations/unionbigintdecimalresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## union_date_null @@ -630,7 +674,11 @@ if res.res is not None: ### Response **[operations.UnionDateNullResponse](../../models/operations/uniondatenullresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## union_date_time_big_int @@ -667,7 +715,11 @@ if res.res is not None: ### Response **[operations.UnionDateTimeBigIntResponse](../../models/operations/uniondatetimebigintresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## union_date_time_null @@ -704,7 +756,11 @@ if res.res is not None: ### Response **[operations.UnionDateTimeNullResponse](../../models/operations/uniondatetimenullresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## weakly_typed_one_of_post @@ -762,4 +818,8 @@ if res.res is not None: ### Response **[operations.WeaklyTypedOneOfPostResponse](../../models/operations/weaklytypedoneofpostresponse.md)** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/python-client-sdk/gen.yaml b/python-client-sdk/gen.yaml index a671a5d20..b0ef2c3c5 100755 --- a/python-client-sdk/gen.yaml +++ b/python-client-sdk/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 0c1717dc8f9e83b99bad896fa719645c docVersion: 0.1.0 - speakeasyVersion: 1.114.1 - generationVersion: 2.181.1 + speakeasyVersion: 1.115.0 + generationVersion: 2.183.0 generation: comments: {} sdkClassName: SDK @@ -13,7 +13,7 @@ features: additionalProperties: 0.1.0 core: 4.1.0 deprecations: 2.81.1 - docs: 0.3.9 + docs: 0.3.10 downloadStreams: 0.0.2 enums: 2.81.1 errors: 2.81.7 @@ -33,7 +33,7 @@ features: retries: 2.82.0 serverIDs: 2.81.1 python: - version: 3.0.0 + version: 3.0.1 author: Speakeasy clientServerStatusCodesAsErrors: true description: Python Client SDK Generated by Speakeasy diff --git a/python-client-sdk/setup.py b/python-client-sdk/setup.py index 2c2280f96..7024b6b17 100755 --- a/python-client-sdk/setup.py +++ b/python-client-sdk/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="openapi", - version="3.0.0", + version="3.0.1", author="Speakeasy", description="Python Client SDK Generated by Speakeasy", long_description=long_description, diff --git a/python-client-sdk/src/sdk/sdkconfiguration.py b/python-client-sdk/src/sdk/sdkconfiguration.py index e60f57078..5c1c07ae7 100755 --- a/python-client-sdk/src/sdk/sdkconfiguration.py +++ b/python-client-sdk/src/sdk/sdkconfiguration.py @@ -39,9 +39,9 @@ class SDKConfiguration: globals: Dict[str, Dict[str, Dict[str, Any]]] = field(default_factory=Dict) language: str = 'python' openapi_doc_version: str = '0.1.0' - sdk_version: str = '3.0.0' - gen_version: str = '2.181.1' - user_agent: str = 'speakeasy-sdk/python 3.0.0 2.181.1 0.1.0 openapi' + sdk_version: str = '3.0.1' + gen_version: str = '2.183.0' + user_agent: str = 'speakeasy-sdk/python 3.0.1 2.183.0 0.1.0 openapi' retry_config: RetryConfig = None def get_server_details(self) -> Tuple[str, Dict[str, str]]: diff --git a/python-client-sdk/testsprimary/test_telemetry.py b/python-client-sdk/testsprimary/test_telemetry.py index ad5499d49..e044d7cce 100755 --- a/python-client-sdk/testsprimary/test_telemetry.py +++ b/python-client-sdk/testsprimary/test_telemetry.py @@ -18,7 +18,7 @@ def test_telemetry_user_agent_get(): assert res is not None assert res.status_code == 200 assert res.res is not None - assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 3.0.0 2.181.1 0.1.0 openapi' + assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 3.0.1 2.183.0 0.1.0 openapi' def test_telemetry_speakeasy_user_agent_get(): @@ -34,4 +34,4 @@ def test_telemetry_speakeasy_user_agent_get(): assert res.status_code == 200 assert res.res is not None assert res.res.headers['User-Agent'] == user_agent - assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 3.0.0 2.181.1 0.1.0 openapi' + assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 3.0.1 2.183.0 0.1.0 openapi' diff --git a/typescript-client-sdk/README.md b/typescript-client-sdk/README.md index f057eede3..81d97586d 100755 --- a/typescript-client-sdk/README.md +++ b/typescript-client-sdk/README.md @@ -527,6 +527,12 @@ import { GlobalsQueryParameterGetRequest } from "openapi/dist/sdk/models/operati Handling errors in your SDK should largely match your expectations. All operations return a response object or throw an error. If Error objects are specified in your OpenAPI Spec, the SDK will throw the appropriate Error type. +| Error Object | Status Code | Content Type | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| errors.ErrorT | 500 | application/json | +| errors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json | +| errors.SDKError | 400-600 | */* | + ## Example @@ -534,34 +540,34 @@ Handling errors in your SDK should largely match your expectations. All operati import { SDK } from "openapi"; import { StatusGetXSpeakeasyErrorsRequest } from "openapi/dist/sdk/models/operations"; -(async() => { - const sdk = new SDK({ - security: { - apiKeyAuth: "Token YOUR_API_KEY", - }, - globalPathParam: 100, - globalQueryParam: "some example global query param", - }); -const statusCode: number = 385913; - - - let res; - try { - res = await sdk.errors.statusGetXSpeakeasyErrors(statusCode); - } catch (e) { - } else if (e instanceof error) { - console.error(e) // handle exception - - } else if (e instanceof 501_application/json_object) { - console.error(e) // handle exception +(async () => { + const sdk = new SDK({ + security: { + apiKeyAuth: "Token YOUR_API_KEY", + }, + globalPathParam: 100, + globalQueryParam: "some example global query param", + }); + const statusCode: number = 385913; + + let res; + try { + res = await sdk.errors.statusGetXSpeakeasyErrors(statusCode); + } catch (e) { + if (e instanceof errors.ErrorT) { + console.error(e); // handle exception + } else if (e instanceof errors.StatusGetXSpeakeasyErrorsResponseBody) { + console.error(e); // handle exception + } else if (e instanceof errors.SDKError) { + console.error(e); // handle exception + } } - } - - if (res.statusCode == 200) { - // handle response - } + if (res.statusCode == 200) { + // handle response + } })(); + ``` @@ -746,43 +752,40 @@ If you'd like to override the default retry strategy for all operations that sup import { SDK } from "openapi"; import { RetriesGetRequest } from "openapi/dist/sdk/models/operations"; -(async() => { - const sdk = new SDK({ - retry_config: { - strategy: "backoff", - backoff: { - initialInterval: 1, - maxInterval: 50, - exponent: 1.1, - maxElapsedTime: 100, +(async () => { + const sdk = new SDK({ + retry_config: { + strategy: "backoff", + backoff: { + initialInterval: 1, + maxInterval: 50, + exponent: 1.1, + maxElapsedTime: 100, + }, + retryConnectionErrors: false, }, - retryConnectionErrors: false, - } - security: { - apiKeyAuth: "Token YOUR_API_KEY", - }, - globalPathParam: 100, - globalQueryParam: "some example global query param", - }); -const requestId: string = "string"; -const numRetries: number = 75342; - - const res = await sdk.retries.retriesGet(requestId, numRetries); - - - if (res.statusCode == 200) { - // handle response - } -})(); -``` + security: { + apiKeyAuth: "Token YOUR_API_KEY", + }, + globalPathParam: 100, + globalQueryParam: "some example global query param", + }); + const requestId: string = "string"; + const numRetries: number = 75342; + const res = await sdk.retries.retriesGet(requestId, numRetries); + if (res.statusCode == 200) { + // handle response + } +})(); + +``` - # Authentication ## Per-Client Security Schemes diff --git a/typescript-client-sdk/__tests__primary/telemetry.test.ts b/typescript-client-sdk/__tests__primary/telemetry.test.ts index d5ea5c7fc..236f9c47b 100755 --- a/typescript-client-sdk/__tests__primary/telemetry.test.ts +++ b/typescript-client-sdk/__tests__primary/telemetry.test.ts @@ -21,7 +21,7 @@ test("Test Telemetry User Agent Get", async () => { expect(res.statusCode).toBeDefined(); expect(res.statusCode).toBe(200); expect(res.res?.headers["X-Speakeasy-User-Agent"]).toBe( - "speakeasy-sdk/typescript 2.0.0 2.181.1 0.1.0 openapi" + "speakeasy-sdk/typescript 2.0.1 2.183.0 0.1.0 openapi" ); }); @@ -39,6 +39,6 @@ test("Test Telemetry Speakeasy User Agent Get", async () => { expect(res.statusCode).toBe(200); expect(res.res?.headers["User-Agent"]).toBe(userAgent); expect(res.res?.headers["X-Speakeasy-User-Agent"]).toBe( - "speakeasy-sdk/typescript 2.0.0 2.181.1 0.1.0 openapi" + "speakeasy-sdk/typescript 2.0.1 2.183.0 0.1.0 openapi" ); }); diff --git a/typescript-client-sdk/docs/sdks/auth/README.md b/typescript-client-sdk/docs/sdks/auth/README.md index e7d1cb4ae..407334489 100755 --- a/typescript-client-sdk/docs/sdks/auth/README.md +++ b/typescript-client-sdk/docs/sdks/auth/README.md @@ -35,7 +35,6 @@ const operationSecurity: ApiKeyAuthSecurity = { const res = await sdk.auth.apiKeyAuth(operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -53,7 +52,11 @@ const operationSecurity: ApiKeyAuthSecurity = { ### Response **Promise<[operations.ApiKeyAuthResponse](../../models/operations/apikeyauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## apiKeyAuthGlobal @@ -73,7 +76,6 @@ import { SDK } from "openapi"; const res = await sdk.auth.apiKeyAuthGlobal(); - if (res.statusCode == 200) { // handle response } @@ -90,7 +92,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ApiKeyAuthGlobalResponse](../../models/operations/apikeyauthglobalresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## basicAuth @@ -114,7 +120,6 @@ const operationSecurity: BasicAuthSecurity = { const res = await sdk.auth.basicAuth(operationSecurity, passwd, user); - if (res.statusCode == 200) { // handle response } @@ -134,7 +139,11 @@ const operationSecurity: BasicAuthSecurity = { ### Response **Promise<[operations.BasicAuthResponse](../../models/operations/basicauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## bearerAuth @@ -155,7 +164,6 @@ const operationSecurity: BearerAuthSecurity = { const res = await sdk.auth.bearerAuth(operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -173,7 +181,11 @@ const operationSecurity: BearerAuthSecurity = { ### Response **Promise<[operations.BearerAuthResponse](../../models/operations/bearerauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## globalBearerAuth @@ -193,7 +205,6 @@ import { SDK } from "openapi"; const res = await sdk.auth.globalBearerAuth(); - if (res.statusCode == 200) { // handle response } @@ -210,7 +221,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.GlobalBearerAuthResponse](../../models/operations/globalbearerauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## oauth2Auth @@ -231,7 +246,6 @@ const operationSecurity: Oauth2AuthSecurity = { const res = await sdk.auth.oauth2Auth(operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -249,7 +263,11 @@ const operationSecurity: Oauth2AuthSecurity = { ### Response **Promise<[operations.Oauth2AuthResponse](../../models/operations/oauth2authresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## oauth2Override @@ -270,7 +288,6 @@ const operationSecurity: Oauth2OverrideSecurity = { const res = await sdk.auth.oauth2Override(operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -288,7 +305,11 @@ const operationSecurity: Oauth2OverrideSecurity = { ### Response **Promise<[operations.Oauth2OverrideResponse](../../models/operations/oauth2overrideresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## openIdConnectAuth @@ -309,7 +330,6 @@ const operationSecurity: OpenIdConnectAuthSecurity = { const res = await sdk.auth.openIdConnectAuth(operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -327,4 +347,8 @@ const operationSecurity: OpenIdConnectAuthSecurity = { ### Response **Promise<[operations.OpenIdConnectAuthResponse](../../models/operations/openidconnectauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/authnew/README.md b/typescript-client-sdk/docs/sdks/authnew/README.md index 39aaceee0..87fe1fd54 100755 --- a/typescript-client-sdk/docs/sdks/authnew/README.md +++ b/typescript-client-sdk/docs/sdks/authnew/README.md @@ -48,7 +48,6 @@ import { SDK } from "openapi"; ], }); - if (res.statusCode == 200) { // handle response } @@ -67,7 +66,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ApiKeyAuthGlobalNewResponse](../../models/operations/apikeyauthglobalnewresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## authGlobal @@ -98,7 +101,6 @@ import { SDK } from "openapi"; ], }); - if (res.statusCode == 200) { // handle response } @@ -117,7 +119,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.AuthGlobalResponse](../../models/operations/authglobalresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## basicAuthNew @@ -150,7 +156,6 @@ const operationSecurity: BasicAuthNewSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -170,7 +175,11 @@ const operationSecurity: BasicAuthNewSecurity = { ### Response **Promise<[operations.BasicAuthNewResponse](../../models/operations/basicauthnewresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multipleMixedOptionsAuth @@ -202,7 +211,6 @@ const operationSecurity: MultipleMixedOptionsAuthSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -222,7 +230,11 @@ const operationSecurity: MultipleMixedOptionsAuthSecurity = { ### Response **Promise<[operations.MultipleMixedOptionsAuthResponse](../../models/operations/multiplemixedoptionsauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multipleMixedSchemeAuth @@ -258,7 +270,6 @@ const operationSecurity: MultipleMixedSchemeAuthSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -278,7 +289,11 @@ const operationSecurity: MultipleMixedSchemeAuthSecurity = { ### Response **Promise<[operations.MultipleMixedSchemeAuthResponse](../../models/operations/multiplemixedschemeauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multipleOptionsWithMixedSchemesAuth @@ -313,7 +328,6 @@ const operationSecurity: MultipleOptionsWithMixedSchemesAuthSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -333,7 +347,11 @@ const operationSecurity: MultipleOptionsWithMixedSchemesAuthSecurity = { ### Response **Promise<[operations.MultipleOptionsWithMixedSchemesAuthResponse](../../models/operations/multipleoptionswithmixedschemesauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multipleOptionsWithSimpleSchemesAuth @@ -368,7 +386,6 @@ const operationSecurity: MultipleOptionsWithSimpleSchemesAuthSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -388,7 +405,11 @@ const operationSecurity: MultipleOptionsWithSimpleSchemesAuthSecurity = { ### Response **Promise<[operations.MultipleOptionsWithSimpleSchemesAuthResponse](../../models/operations/multipleoptionswithsimpleschemesauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multipleSimpleOptionsAuth @@ -420,7 +441,6 @@ const operationSecurity: MultipleSimpleOptionsAuthSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -440,7 +460,11 @@ const operationSecurity: MultipleSimpleOptionsAuthSecurity = { ### Response **Promise<[operations.MultipleSimpleOptionsAuthResponse](../../models/operations/multiplesimpleoptionsauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## multipleSimpleSchemeAuth @@ -473,7 +497,6 @@ const operationSecurity: MultipleSimpleSchemeAuthSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -493,7 +516,11 @@ const operationSecurity: MultipleSimpleSchemeAuthSecurity = { ### Response **Promise<[operations.MultipleSimpleSchemeAuthResponse](../../models/operations/multiplesimpleschemeauthresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## oauth2AuthNew @@ -525,7 +552,6 @@ const operationSecurity: Oauth2AuthNewSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -545,7 +571,11 @@ const operationSecurity: Oauth2AuthNewSecurity = { ### Response **Promise<[operations.Oauth2AuthNewResponse](../../models/operations/oauth2authnewresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## openIdConnectAuthNew @@ -577,7 +607,6 @@ const operationSecurity: OpenIdConnectAuthNewSecurity = { ], }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -597,4 +626,8 @@ const operationSecurity: OpenIdConnectAuthNewSecurity = { ### Response **Promise<[operations.OpenIdConnectAuthNewResponse](../../models/operations/openidconnectauthnewresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/documentation/README.md b/typescript-client-sdk/docs/sdks/documentation/README.md index 978196357..fda321b3d 100755 --- a/typescript-client-sdk/docs/sdks/documentation/README.md +++ b/typescript-client-sdk/docs/sdks/documentation/README.md @@ -31,7 +31,6 @@ const language: string = "string"; const res = await sdk.documentation.getDocumentationPerLanguage(language); - if (res.statusCode == 200) { // handle response } @@ -49,4 +48,8 @@ const language: string = "string"; ### Response **Promise<[operations.GetDocumentationPerLanguageResponse](../../models/operations/getdocumentationperlanguageresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/errors/README.md b/typescript-client-sdk/docs/sdks/errors/README.md index e2bb94c93..b5ccb661e 100755 --- a/typescript-client-sdk/docs/sdks/errors/README.md +++ b/typescript-client-sdk/docs/sdks/errors/README.md @@ -29,7 +29,6 @@ import { SDK } from "openapi"; const res = await sdk.errors.connectionErrorGet(); - if (res.statusCode == 200) { // handle response } @@ -47,7 +46,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ConnectionErrorGetResponse](../../models/operations/connectionerrorgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## statusGetError @@ -69,7 +72,6 @@ const statusCode: number = 458364; const res = await sdk.errors.statusGetError(statusCode); - if (res.statusCode == 200) { // handle response } @@ -87,7 +89,11 @@ const statusCode: number = 458364; ### Response **Promise<[operations.StatusGetErrorResponse](../../models/operations/statusgeterrorresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## statusGetXSpeakeasyErrors @@ -109,7 +115,6 @@ const statusCode: number = 385913; const res = await sdk.errors.statusGetXSpeakeasyErrors(statusCode); - if (res.statusCode == 200) { // handle response } @@ -128,4 +133,10 @@ const statusCode: number = 385913; ### Response **Promise<[operations.StatusGetXSpeakeasyErrorsResponse](../../models/operations/statusgetxspeakeasyerrorsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| errors.ErrorT | 500 | application/json | +| errors.StatusGetXSpeakeasyErrorsResponseBody | 501 | application/json | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/first/README.md b/typescript-client-sdk/docs/sdks/first/README.md index 55820339c..950cf054c 100755 --- a/typescript-client-sdk/docs/sdks/first/README.md +++ b/typescript-client-sdk/docs/sdks/first/README.md @@ -23,7 +23,6 @@ import { SDK } from "openapi"; const res = await sdk.first.get(); - if (res.statusCode == 200) { // handle response } @@ -40,4 +39,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.GroupFirstGetResponse](../../models/operations/groupfirstgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/flattening/README.md b/typescript-client-sdk/docs/sdks/flattening/README.md index cad8fe0cb..3967f8de8 100755 --- a/typescript-client-sdk/docs/sdks/flattening/README.md +++ b/typescript-client-sdk/docs/sdks/flattening/README.md @@ -55,7 +55,6 @@ const str: string = "string"; const res = await sdk.flattening.componentBodyAndParamConflict(simpleObject, str); - if (res.statusCode == 200) { // handle response } @@ -74,7 +73,11 @@ const str: string = "string"; ### Response **Promise<[operations.ComponentBodyAndParamConflictResponse](../../models/operations/componentbodyandparamconflictresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## componentBodyAndParamNoConflict @@ -118,7 +121,6 @@ const simpleObject: SimpleObject = { const res = await sdk.flattening.componentBodyAndParamNoConflict(paramStr, simpleObject); - if (res.statusCode == 200) { // handle response } @@ -137,7 +139,11 @@ const simpleObject: SimpleObject = { ### Response **Promise<[operations.ComponentBodyAndParamNoConflictResponse](../../models/operations/componentbodyandparamnoconflictresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## conflictingParams @@ -160,7 +166,6 @@ const strQueryParameter: string = "string"; const res = await sdk.flattening.conflictingParams(strPathParameter, strQueryParameter); - if (res.statusCode == 200) { // handle response } @@ -179,7 +184,11 @@ const strQueryParameter: string = "string"; ### Response **Promise<[operations.ConflictingParamsResponse](../../models/operations/conflictingparamsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## inlineBodyAndParamConflict @@ -204,7 +213,6 @@ const str: string = "string"; const res = await sdk.flattening.inlineBodyAndParamConflict(requestBody, str); - if (res.statusCode == 200) { // handle response } @@ -223,7 +231,11 @@ const str: string = "string"; ### Response **Promise<[operations.InlineBodyAndParamConflictResponse](../../models/operations/inlinebodyandparamconflictresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## inlineBodyAndParamNoConflict @@ -248,7 +260,6 @@ const paramStr: string = "string"; const res = await sdk.flattening.inlineBodyAndParamNoConflict(requestBody, paramStr); - if (res.statusCode == 200) { // handle response } @@ -267,4 +278,8 @@ const paramStr: string = "string"; ### Response **Promise<[operations.InlineBodyAndParamNoConflictResponse](../../models/operations/inlinebodyandparamnoconflictresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/generation/README.md b/typescript-client-sdk/docs/sdks/generation/README.md index ab27d13c9..f0a2c8181 100755 --- a/typescript-client-sdk/docs/sdks/generation/README.md +++ b/typescript-client-sdk/docs/sdks/generation/README.md @@ -46,7 +46,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.anchorTypesGet(); - if (res.statusCode == 200) { // handle response } @@ -63,7 +62,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.AnchorTypesGetResponse](../../models/operations/anchortypesgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## arrayCircularReferenceGet @@ -83,7 +86,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.arrayCircularReferenceGet(); - if (res.statusCode == 200) { // handle response } @@ -100,7 +102,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ArrayCircularReferenceGetResponse](../../models/operations/arraycircularreferencegetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## circularReferenceGet @@ -120,7 +126,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.circularReferenceGet(); - if (res.statusCode == 200) { // handle response } @@ -137,7 +142,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.CircularReferenceGetResponse](../../models/operations/circularreferencegetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## dateParamWithDefault @@ -160,7 +169,6 @@ const dateInput: RFCDate = new RFCDate("2021-11-30"); const res = await sdk.generation.dateParamWithDefault(dateInput); - if (res.statusCode == 200) { // handle response } @@ -178,7 +186,11 @@ const dateInput: RFCDate = new RFCDate("2021-11-30"); ### Response **Promise<[operations.DateParamWithDefaultResponse](../../models/operations/dateparamwithdefaultresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## dateTimeParamWithDefault @@ -200,7 +212,6 @@ const dateTimeInput: Date = new Date("2023-02-09T21:53:21.077Z"); const res = await sdk.generation.dateTimeParamWithDefault(dateTimeInput); - if (res.statusCode == 200) { // handle response } @@ -218,7 +229,11 @@ const dateTimeInput: Date = new Date("2023-02-09T21:53:21.077Z"); ### Response **Promise<[operations.DateTimeParamWithDefaultResponse](../../models/operations/datetimeparamwithdefaultresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## decimalParamWithDefault @@ -240,7 +255,6 @@ const decimalInput: number = 4060.06; const res = await sdk.generation.decimalParamWithDefault(decimalInput); - if (res.statusCode == 200) { // handle response } @@ -258,7 +272,11 @@ const decimalInput: number = 4060.06; ### Response **Promise<[operations.DecimalParamWithDefaultResponse](../../models/operations/decimalparamwithdefaultresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## deprecatedFieldInSchemaPost @@ -279,7 +297,6 @@ import { DeprecatedEnum } from "openapi/dist/sdk/models/shared"; const res = await sdk.generation.deprecatedFieldInSchemaPost({}); - if (res.statusCode == 200) { // handle response } @@ -297,7 +314,11 @@ import { DeprecatedEnum } from "openapi/dist/sdk/models/shared"; ### Response **Promise<[operations.DeprecatedFieldInSchemaPostResponse](../../models/operations/deprecatedfieldinschemapostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## deprecatedObjectInSchemaGet @@ -317,7 +338,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.deprecatedObjectInSchemaGet(); - if (res.statusCode == 200) { // handle response } @@ -334,7 +354,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.DeprecatedObjectInSchemaGetResponse](../../models/operations/deprecatedobjectinschemagetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ~~deprecatedOperationNoCommentsGet~~ @@ -358,7 +382,6 @@ const deprecatedParameter: string = "string"; const res = await sdk.generation.deprecatedOperationNoCommentsGet(deprecatedParameter); - if (res.statusCode == 200) { // handle response } @@ -376,7 +399,11 @@ const deprecatedParameter: string = "string"; ### Response **Promise<[operations.DeprecatedOperationNoCommentsGetResponse](../../models/operations/deprecatedoperationnocommentsgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ~~deprecatedOperationWithCommentsGet~~ @@ -403,7 +430,6 @@ const newParameter: string = "string"; const res = await sdk.generation.deprecatedOperationWithCommentsGet(deprecatedParameter, newParameter); - if (res.statusCode == 200) { // handle response } @@ -422,7 +448,11 @@ const newParameter: string = "string"; ### Response **Promise<[operations.DeprecatedOperationWithCommentsGetResponse](../../models/operations/deprecatedoperationwithcommentsgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## emptyObjectGet @@ -445,7 +475,6 @@ const emptyObject: EmptyObjectParam = {}; const res = await sdk.generation.emptyObjectGet(emptyObject); - if (res.statusCode == 200) { // handle response } @@ -463,7 +492,11 @@ const emptyObject: EmptyObjectParam = {}; ### Response **Promise<[operations.EmptyObjectGetResponse](../../models/operations/emptyobjectgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## emptyResponseObjectWithCommentGet @@ -483,7 +516,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.emptyResponseObjectWithCommentGet(); - if (res.statusCode == 200) { // handle response } @@ -500,7 +532,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.EmptyResponseObjectWithCommentGetResponse](../../models/operations/emptyresponseobjectwithcommentgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## globalNameOverridden @@ -520,7 +556,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.globalNameOverridden(); - if (res.statusCode == 200) { // handle response } @@ -537,7 +572,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.GetGlobalNameOverrideResponse](../../models/operations/getglobalnameoverrideresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ignoredGenerationGet @@ -557,7 +596,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.ignoredGenerationGet(); - if (res.statusCode == 200) { // handle response } @@ -574,7 +612,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.IgnoredGenerationGetResponse](../../models/operations/ignoredgenerationgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## ignoresPost @@ -597,7 +639,6 @@ const testParam: string = "string"; const res = await sdk.generation.ignoresPost(requestBody, testParam); - if (res.statusCode == 200) { // handle response } @@ -616,7 +657,11 @@ const testParam: string = "string"; ### Response **Promise<[operations.IgnoresPostResponse](../../models/operations/ignorespostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nameOverride @@ -639,7 +684,6 @@ const testQueryParam: string = "example"; const res = await sdk.generation.nameOverride(testEnumQueryParam, testQueryParam); - if (res.statusCode == 200) { // handle response } @@ -658,7 +702,11 @@ const testQueryParam: string = "example"; ### Response **Promise<[operations.NameOverrideGetResponse](../../models/operations/nameoverridegetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## objectCircularReferenceGet @@ -678,7 +726,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.objectCircularReferenceGet(); - if (res.statusCode == 200) { // handle response } @@ -695,7 +742,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ObjectCircularReferenceGetResponse](../../models/operations/objectcircularreferencegetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## oneOfCircularReferenceGet @@ -715,7 +766,6 @@ import { SDK } from "openapi"; const res = await sdk.generation.oneOfCircularReferenceGet(); - if (res.statusCode == 200) { // handle response } @@ -732,7 +782,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.OneOfCircularReferenceGetResponse](../../models/operations/oneofcircularreferencegetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## typedParameterGenerationGet @@ -762,7 +816,6 @@ const obj: Obj = { const res = await sdk.generation.typedParameterGenerationGet(bigint, date, decimal, obj); - if (res.statusCode == 200) { // handle response } @@ -783,7 +836,11 @@ const obj: Obj = { ### Response **Promise<[operations.TypedParameterGenerationGetResponse](../../models/operations/typedparametergenerationgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## usageExamplePost @@ -854,7 +911,6 @@ const operationSecurity: UsageExamplePostSecurity = { strParameter: "example 1", }, operationSecurity); - if (res.statusCode == 200) { // handle response } @@ -873,4 +929,8 @@ const operationSecurity: UsageExamplePostSecurity = { ### Response **Promise<[operations.UsageExamplePostResponse](../../models/operations/usageexamplepostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/globals/README.md b/typescript-client-sdk/docs/sdks/globals/README.md index d4bcf414e..13b4168cc 100755 --- a/typescript-client-sdk/docs/sdks/globals/README.md +++ b/typescript-client-sdk/docs/sdks/globals/README.md @@ -30,7 +30,6 @@ const globalPathParam: number = 719830; const res = await sdk.globals.globalPathParameterGet(globalPathParam); - if (res.statusCode == 200) { // handle response } @@ -48,7 +47,11 @@ const globalPathParam: number = 719830; ### Response **Promise<[operations.GlobalPathParameterGetResponse](../../models/operations/globalpathparametergetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## globalsQueryParameterGet @@ -70,7 +73,6 @@ const globalQueryParam: string = "string"; const res = await sdk.globals.globalsQueryParameterGet(globalQueryParam); - if (res.statusCode == 200) { // handle response } @@ -88,4 +90,8 @@ const globalQueryParam: string = "string"; ### Response **Promise<[operations.GlobalsQueryParameterGetResponse](../../models/operations/globalsqueryparametergetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/nested/README.md b/typescript-client-sdk/docs/sdks/nested/README.md index 7e0fdd5e7..a4ffc75ac 100755 --- a/typescript-client-sdk/docs/sdks/nested/README.md +++ b/typescript-client-sdk/docs/sdks/nested/README.md @@ -23,7 +23,6 @@ import { SDK } from "openapi"; const res = await sdk.nested.get(); - if (res.statusCode == 200) { // handle response } @@ -40,4 +39,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NestedGetResponse](../../models/operations/nestedgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/pagination/README.md b/typescript-client-sdk/docs/sdks/pagination/README.md index e083ce922..5f077b08d 100755 --- a/typescript-client-sdk/docs/sdks/pagination/README.md +++ b/typescript-client-sdk/docs/sdks/pagination/README.md @@ -34,7 +34,6 @@ import { SDK } from "openapi"; cursor: 868337, }); - if (res.statusCode == 200) { do { // handle items @@ -57,7 +56,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.PaginationCursorBodyResponse](../../models/operations/paginationcursorbodyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## paginationCursorParams @@ -79,7 +82,6 @@ const cursor: number = 24812; const res = await sdk.pagination.paginationCursorParams(cursor); - if (res.statusCode == 200) { do { // handle items @@ -102,7 +104,11 @@ const cursor: number = 24812; ### Response **Promise<[operations.PaginationCursorParamsResponse](../../models/operations/paginationcursorparamsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## paginationLimitOffsetOffsetBody @@ -122,7 +128,6 @@ import { SDK } from "openapi"; const res = await sdk.pagination.paginationLimitOffsetOffsetBody({}); - if (res.statusCode == 200) { do { // handle items @@ -145,7 +150,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.PaginationLimitOffsetOffsetBodyResponse](../../models/operations/paginationlimitoffsetoffsetbodyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## paginationLimitOffsetOffsetParams @@ -168,7 +177,6 @@ const offset: number = 600173; const res = await sdk.pagination.paginationLimitOffsetOffsetParams(limit, offset); - if (res.statusCode == 200) { do { // handle items @@ -192,7 +200,11 @@ const offset: number = 600173; ### Response **Promise<[operations.PaginationLimitOffsetOffsetParamsResponse](../../models/operations/paginationlimitoffsetoffsetparamsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## paginationLimitOffsetPageBody @@ -212,7 +224,6 @@ import { SDK } from "openapi"; const res = await sdk.pagination.paginationLimitOffsetPageBody({}); - if (res.statusCode == 200) { do { // handle items @@ -235,7 +246,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.PaginationLimitOffsetPageBodyResponse](../../models/operations/paginationlimitoffsetpagebodyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## paginationLimitOffsetPageParams @@ -257,7 +272,6 @@ const page: number = 1177; const res = await sdk.pagination.paginationLimitOffsetPageParams(page); - if (res.statusCode == 200) { do { // handle items @@ -280,4 +294,8 @@ const page: number = 1177; ### Response **Promise<[operations.PaginationLimitOffsetPageParamsResponse](../../models/operations/paginationlimitoffsetpageparamsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/parameters/README.md b/typescript-client-sdk/docs/sdks/parameters/README.md index c6dde2d29..8f02c1427 100755 --- a/typescript-client-sdk/docs/sdks/parameters/README.md +++ b/typescript-client-sdk/docs/sdks/parameters/README.md @@ -64,7 +64,6 @@ const mapArrParam: Record = { const res = await sdk.parameters.deepObjectQueryParamsMap(mapParam, mapArrParam); - if (res.statusCode == 200) { // handle response } @@ -83,7 +82,11 @@ const mapArrParam: Record = { ### Response **Promise<[operations.DeepObjectQueryParamsMapResponse](../../models/operations/deepobjectqueryparamsmapresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## deepObjectQueryParamsObject @@ -132,7 +135,6 @@ const objArrParam: ObjArrParam = { const res = await sdk.parameters.deepObjectQueryParamsObject(objParam, objArrParam); - if (res.statusCode == 200) { // handle response } @@ -151,7 +153,11 @@ const objArrParam: ObjArrParam = { ### Response **Promise<[operations.DeepObjectQueryParamsObjectResponse](../../models/operations/deepobjectqueryparamsobjectresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## duplicateParam @@ -173,7 +179,6 @@ const duplicateParamRequest: string = "string"; const res = await sdk.parameters.duplicateParam(duplicateParamRequest); - if (res.statusCode == 200) { // handle response } @@ -191,7 +196,11 @@ const duplicateParamRequest: string = "string"; ### Response **Promise<[operations.DuplicateParamResponse](../../models/operations/duplicateparamresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## formQueryParamsArray @@ -220,7 +229,6 @@ const arrParamExploded: number[] = [ const res = await sdk.parameters.formQueryParamsArray(arrParam, arrParamExploded); - if (res.statusCode == 200) { // handle response } @@ -239,7 +247,11 @@ const arrParamExploded: number[] = [ ### Response **Promise<[operations.FormQueryParamsArrayResponse](../../models/operations/formqueryparamsarrayresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## formQueryParamsCamelObject @@ -268,7 +280,6 @@ const objParam: ObjParam = { const res = await sdk.parameters.formQueryParamsCamelObject(objParamExploded, objParam); - if (res.statusCode == 200) { // handle response } @@ -287,7 +298,11 @@ const objParam: ObjParam = { ### Response **Promise<[operations.FormQueryParamsCamelObjectResponse](../../models/operations/formqueryparamscamelobjectresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## formQueryParamsMap @@ -316,7 +331,6 @@ const mapParamExploded: Record = { const res = await sdk.parameters.formQueryParamsMap(mapParam, mapParamExploded); - if (res.statusCode == 200) { // handle response } @@ -335,7 +349,11 @@ const mapParamExploded: Record = { ### Response **Promise<[operations.FormQueryParamsMapResponse](../../models/operations/formqueryparamsmapresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## formQueryParamsObject @@ -398,7 +416,6 @@ const objParam: SimpleObject = { const res = await sdk.parameters.formQueryParamsObject(objParamExploded, objParam); - if (res.statusCode == 200) { // handle response } @@ -417,7 +434,11 @@ const objParam: SimpleObject = { ### Response **Promise<[operations.FormQueryParamsObjectResponse](../../models/operations/formqueryparamsobjectresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## formQueryParamsPrimitive @@ -442,7 +463,6 @@ const strParam: string = "test"; const res = await sdk.parameters.formQueryParamsPrimitive(boolParam, intParam, numParam, strParam); - if (res.statusCode == 200) { // handle response } @@ -463,7 +483,11 @@ const strParam: string = "test"; ### Response **Promise<[operations.FormQueryParamsPrimitiveResponse](../../models/operations/formqueryparamsprimitiveresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## formQueryParamsRefParamObject @@ -497,7 +521,6 @@ const refObjParamExploded: RefQueryParamObjExploded = { const res = await sdk.parameters.formQueryParamsRefParamObject(refObjParam, refObjParamExploded); - if (res.statusCode == 200) { // handle response } @@ -516,7 +539,11 @@ const refObjParamExploded: RefQueryParamObjExploded = { ### Response **Promise<[operations.FormQueryParamsRefParamObjectResponse](../../models/operations/formqueryparamsrefparamobjectresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## headerParamsArray @@ -541,7 +568,6 @@ const xHeaderArray: string[] = [ const res = await sdk.parameters.headerParamsArray(xHeaderArray); - if (res.statusCode == 200) { // handle response } @@ -559,7 +585,11 @@ const xHeaderArray: string[] = [ ### Response **Promise<[operations.HeaderParamsArrayResponse](../../models/operations/headerparamsarrayresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## headerParamsMap @@ -588,7 +618,6 @@ const xHeaderMapExplode: Record = { const res = await sdk.parameters.headerParamsMap(xHeaderMap, xHeaderMapExplode); - if (res.statusCode == 200) { // handle response } @@ -607,7 +636,11 @@ const xHeaderMapExplode: Record = { ### Response **Promise<[operations.HeaderParamsMapResponse](../../models/operations/headerparamsmapresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## headerParamsObject @@ -670,7 +703,6 @@ const xHeaderObjExplode: SimpleObject = { const res = await sdk.parameters.headerParamsObject(xHeaderObj, xHeaderObjExplode); - if (res.statusCode == 200) { // handle response } @@ -689,7 +721,11 @@ const xHeaderObjExplode: SimpleObject = { ### Response **Promise<[operations.HeaderParamsObjectResponse](../../models/operations/headerparamsobjectresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## headerParamsPrimitive @@ -714,7 +750,6 @@ const xHeaderString: string = "test"; const res = await sdk.parameters.headerParamsPrimitive(xHeaderBoolean, xHeaderInteger, xHeaderNumber, xHeaderString); - if (res.statusCode == 200) { // handle response } @@ -735,7 +770,11 @@ const xHeaderString: string = "test"; ### Response **Promise<[operations.HeaderParamsPrimitiveResponse](../../models/operations/headerparamsprimitiveresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## jsonQueryParamsObject @@ -802,7 +841,7 @@ const deepObjParam: DeepObject = { bool: true, int: 1, map: { - "key2": { + "key": { any: "any", bigint: 8821239038968084, bigintStr: "9223372036854775808", @@ -822,7 +861,7 @@ const deepObjParam: DeepObject = { str: "test", strOpt: "testOptional", }, - "key": { + "key2": { any: "any", bigint: 8821239038968084, bigintStr: "9223372036854775808", @@ -889,7 +928,6 @@ const simpleObjParam: SimpleObject = { const res = await sdk.parameters.jsonQueryParamsObject(deepObjParam, simpleObjParam); - if (res.statusCode == 200) { // handle response } @@ -908,7 +946,11 @@ const simpleObjParam: SimpleObject = { ### Response **Promise<[operations.JsonQueryParamsObjectResponse](../../models/operations/jsonqueryparamsobjectresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixedParametersCamelCase @@ -932,7 +974,6 @@ const queryStringParam: string = "queryValue"; const res = await sdk.parameters.mixedParametersCamelCase(headerParam, pathParam, queryStringParam); - if (res.statusCode == 200) { // handle response } @@ -952,7 +993,11 @@ const queryStringParam: string = "queryValue"; ### Response **Promise<[operations.MixedParametersCamelCaseResponse](../../models/operations/mixedparameterscamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixedParametersPrimitives @@ -976,7 +1021,6 @@ const queryStringParam: string = "queryValue"; const res = await sdk.parameters.mixedParametersPrimitives(headerParam, pathParam, queryStringParam); - if (res.statusCode == 200) { // handle response } @@ -996,7 +1040,11 @@ const queryStringParam: string = "queryValue"; ### Response **Promise<[operations.MixedParametersPrimitivesResponse](../../models/operations/mixedparametersprimitivesresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixedQueryParams @@ -1079,7 +1127,6 @@ const jsonParam: SimpleObject = { const res = await sdk.parameters.mixedQueryParams(deepObjectParam, formParam, jsonParam); - if (res.statusCode == 200) { // handle response } @@ -1099,7 +1146,11 @@ const jsonParam: SimpleObject = { ### Response **Promise<[operations.MixedQueryParamsResponse](../../models/operations/mixedqueryparamsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pathParameterJson @@ -1142,7 +1193,6 @@ const jsonObj: SimpleObject = { const res = await sdk.parameters.pathParameterJson(jsonObj); - if (res.statusCode == 200) { // handle response } @@ -1160,7 +1210,11 @@ const jsonObj: SimpleObject = { ### Response **Promise<[operations.PathParameterJsonResponse](../../models/operations/pathparameterjsonresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## pipeDelimitedQueryParamsArray @@ -1215,7 +1269,6 @@ const objParam: SimpleObject = { const res = await sdk.parameters.pipeDelimitedQueryParamsArray(arrParam, arrParamExploded, mapParam, objParam); - if (res.statusCode == 200) { // handle response } @@ -1236,7 +1289,11 @@ const objParam: SimpleObject = { ### Response **Promise<[operations.PipeDelimitedQueryParamsArrayResponse](../../models/operations/pipedelimitedqueryparamsarrayresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simplePathParameterArrays @@ -1261,7 +1318,6 @@ const arrParam: string[] = [ const res = await sdk.parameters.simplePathParameterArrays(arrParam); - if (res.statusCode == 200) { // handle response } @@ -1279,7 +1335,11 @@ const arrParam: string[] = [ ### Response **Promise<[operations.SimplePathParameterArraysResponse](../../models/operations/simplepathparameterarraysresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simplePathParameterMaps @@ -1298,8 +1358,8 @@ import { SimplePathParameterMapsRequest } from "openapi/dist/sdk/models/operatio globalQueryParam: "some example global query param", }); const mapParam: Record = { - "test": "value", "test2": "value2", + "test": "value", }; const mapParamExploded: Record = { "test": 1, @@ -1308,7 +1368,6 @@ const mapParamExploded: Record = { const res = await sdk.parameters.simplePathParameterMaps(mapParam, mapParamExploded); - if (res.statusCode == 200) { // handle response } @@ -1327,7 +1386,11 @@ const mapParamExploded: Record = { ### Response **Promise<[operations.SimplePathParameterMapsResponse](../../models/operations/simplepathparametermapsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simplePathParameterObjects @@ -1390,7 +1453,6 @@ const objParamExploded: SimpleObject = { const res = await sdk.parameters.simplePathParameterObjects(objParam, objParamExploded); - if (res.statusCode == 200) { // handle response } @@ -1409,7 +1471,11 @@ const objParamExploded: SimpleObject = { ### Response **Promise<[operations.SimplePathParameterObjectsResponse](../../models/operations/simplepathparameterobjectsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## simplePathParameterPrimitives @@ -1434,7 +1500,6 @@ const strParam: string = "test"; const res = await sdk.parameters.simplePathParameterPrimitives(boolParam, intParam, numParam, strParam); - if (res.statusCode == 200) { // handle response } @@ -1455,4 +1520,8 @@ const strParam: string = "test"; ### Response **Promise<[operations.SimplePathParameterPrimitivesResponse](../../models/operations/simplepathparameterprimitivesresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/requestbodies/README.md b/typescript-client-sdk/docs/sdks/requestbodies/README.md index 0e5b8f3e0..0e4567227 100755 --- a/typescript-client-sdk/docs/sdks/requestbodies/README.md +++ b/typescript-client-sdk/docs/sdks/requestbodies/README.md @@ -109,7 +109,6 @@ import { SDK } from "openapi"; required: 302382, }); - if (res.statusCode == 200) { // handle response } @@ -127,7 +126,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NullableObjectPostResponse](../../models/operations/nullableobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullableRequiredEmptyObjectPost @@ -151,7 +154,6 @@ import { SDK } from "openapi"; requiredObj: {}, }); - if (res.statusCode == 200) { // handle response } @@ -169,7 +171,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NullableRequiredEmptyObjectPostResponse](../../models/operations/nullablerequiredemptyobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullableRequiredPropertyPost @@ -196,7 +202,6 @@ import { NullableRequiredEnum } from "openapi/dist/sdk/models/operations"; nullableRequiredInt: 50266, }); - if (res.statusCode == 200) { // handle response } @@ -214,7 +219,11 @@ import { NullableRequiredEnum } from "openapi/dist/sdk/models/operations"; ### Response **Promise<[operations.NullableRequiredPropertyPostResponse](../../models/operations/nullablerequiredpropertypostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullableRequiredSharedObjectPost @@ -241,7 +250,6 @@ import { SDK } from "openapi"; }, }); - if (res.statusCode == 200) { // handle response } @@ -259,7 +267,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NullableRequiredSharedObjectPostResponse](../../models/operations/nullablerequiredsharedobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArray @@ -302,7 +314,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, ]); - if (res.statusCode == 200) { // handle response } @@ -321,7 +332,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayResponse](../../models/operations/requestbodypostapplicationjsonarrayresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayCamelCase @@ -362,7 +377,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, ]); - if (res.statusCode == 200) { // handle response } @@ -381,7 +395,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarraycamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayObj @@ -424,7 +442,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, ]); - if (res.statusCode == 200) { // handle response } @@ -442,7 +459,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayObjResponse](../../models/operations/requestbodypostapplicationjsonarrayobjresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayObjCamelCase @@ -483,7 +504,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, ]); - if (res.statusCode == 200) { // handle response } @@ -501,7 +521,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayObjCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayobjcamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayOfArray @@ -546,7 +570,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; ], ]); - if (res.statusCode == 200) { // handle response } @@ -565,7 +588,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayOfArrayResponse](../../models/operations/requestbodypostapplicationjsonarrayofarrayresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayOfArrayCamelCase @@ -608,7 +635,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; ], ]); - if (res.statusCode == 200) { // handle response } @@ -627,7 +653,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayOfArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayofarraycamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayOfArrayOfPrimitive @@ -651,7 +681,6 @@ import { SDK } from "openapi"; ], ]); - if (res.statusCode == 200) { // handle response } @@ -670,7 +699,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayOfArrayOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonarrayofarrayofprimitiveresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayOfMap @@ -715,7 +748,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, ]); - if (res.statusCode == 200) { // handle response } @@ -734,7 +766,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayOfMapResponse](../../models/operations/requestbodypostapplicationjsonarrayofmapresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayOfMapCamelCase @@ -777,7 +813,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, ]); - if (res.statusCode == 200) { // handle response } @@ -796,7 +831,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayOfMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonarrayofmapcamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonArrayOfPrimitive @@ -818,7 +857,6 @@ import { SDK } from "openapi"; "string", ]); - if (res.statusCode == 200) { // handle response } @@ -837,7 +875,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonArrayOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonarrayofprimitiveresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonDeep @@ -904,7 +946,7 @@ import { RFCDate } from "openapi/dist/sdk/types"; bool: true, int: 1, map: { - "key": { + "key2": { any: "any", bigint: 8821239038968084, bigintStr: "9223372036854775808", @@ -924,7 +966,7 @@ import { RFCDate } from "openapi/dist/sdk/types"; str: "test", strOpt: "testOptional", }, - "key2": { + "key": { any: "any", bigint: 8821239038968084, bigintStr: "9223372036854775808", @@ -969,7 +1011,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; str: "test", }); - if (res.statusCode == 200) { // handle response } @@ -987,7 +1028,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonDeepResponse](../../models/operations/requestbodypostapplicationjsondeepresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonDeepCamelCase @@ -1073,7 +1118,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; strVal: "string", }); - if (res.statusCode == 200) { // handle response } @@ -1091,7 +1135,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonDeepCamelCaseResponse](../../models/operations/requestbodypostapplicationjsondeepcamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMap @@ -1134,7 +1182,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, }); - if (res.statusCode == 200) { // handle response } @@ -1153,7 +1200,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapResponse](../../models/operations/requestbodypostapplicationjsonmapresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapCamelCase @@ -1194,7 +1245,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, }); - if (res.statusCode == 200) { // handle response } @@ -1213,7 +1263,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapcamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapObj @@ -1256,7 +1310,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, }); - if (res.statusCode == 200) { // handle response } @@ -1274,7 +1327,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapObjResponse](../../models/operations/requestbodypostapplicationjsonmapobjresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapObjCamelCase @@ -1315,7 +1372,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, }); - if (res.statusCode == 200) { // handle response } @@ -1333,7 +1389,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapObjCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapobjcamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapOfArray @@ -1378,7 +1438,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; ], }); - if (res.statusCode == 200) { // handle response } @@ -1397,7 +1456,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapOfArrayResponse](../../models/operations/requestbodypostapplicationjsonmapofarrayresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapOfArrayCamelCase @@ -1440,7 +1503,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; ], }); - if (res.statusCode == 200) { // handle response } @@ -1459,7 +1521,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapOfArrayCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapofarraycamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapOfMap @@ -1504,7 +1570,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, }); - if (res.statusCode == 200) { // handle response } @@ -1523,7 +1588,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapOfMapResponse](../../models/operations/requestbodypostapplicationjsonmapofmapresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapOfMapCamelCase @@ -1566,7 +1635,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, }); - if (res.statusCode == 200) { // handle response } @@ -1585,7 +1653,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapOfMapCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonmapofmapcamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapOfMapOfPrimitive @@ -1609,7 +1681,6 @@ import { SDK } from "openapi"; }, }); - if (res.statusCode == 200) { // handle response } @@ -1628,7 +1699,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapOfMapOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonmapofmapofprimitiveresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMapOfPrimitive @@ -1650,7 +1725,6 @@ import { SDK } from "openapi"; "key": "string", }); - if (res.statusCode == 200) { // handle response } @@ -1669,7 +1743,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMapOfPrimitiveResponse](../../models/operations/requestbodypostapplicationjsonmapofprimitiveresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonMultipleJsonFiltered @@ -1710,7 +1788,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; strOpt: "testOptional", }); - if (res.statusCode == 200) { // handle response } @@ -1728,7 +1805,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonMultipleJsonFilteredResponse](../../models/operations/requestbodypostapplicationjsonmultiplejsonfilteredresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonSimple @@ -1769,7 +1850,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; strOpt: "testOptional", }); - if (res.statusCode == 200) { // handle response } @@ -1787,7 +1867,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonSimpleResponse](../../models/operations/requestbodypostapplicationjsonsimpleresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostApplicationJsonSimpleCamelCase @@ -1826,7 +1910,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; strVal: "example", }); - if (res.statusCode == 200) { // handle response } @@ -1844,7 +1927,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostApplicationJsonSimpleCamelCaseResponse](../../models/operations/requestbodypostapplicationjsonsimplecamelcaseresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostComplexNumberTypes @@ -1879,7 +1966,6 @@ import { SDK } from "openapi"; queryDecimalStr: "string", }); - if (res.statusCode == 200) { // handle response } @@ -1897,7 +1983,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostComplexNumberTypesResponse](../../models/operations/requestbodypostcomplexnumbertypesresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostDefaultsAndConsts @@ -1934,7 +2024,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; normalField: "string", }); - if (res.statusCode == 200) { // handle response } @@ -1952,7 +2041,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostDefaultsAndConstsResponse](../../models/operations/requestbodypostdefaultsandconstsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostEmptyObject @@ -1975,7 +2068,6 @@ import { SDK } from "openapi"; emptyWithEmptyProperties: {}, }); - if (res.statusCode == 200) { // handle response } @@ -1993,7 +2085,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostEmptyObjectResponse](../../models/operations/requestbodypostemptyobjectresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostFormDeep @@ -2125,7 +2221,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; str: "test", }); - if (res.statusCode == 200) { // handle response } @@ -2143,7 +2238,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostFormDeepResponse](../../models/operations/requestbodypostformdeepresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostFormMapPrimitive @@ -2165,7 +2264,6 @@ import { SDK } from "openapi"; "key": "string", }); - if (res.statusCode == 200) { // handle response } @@ -2183,7 +2281,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostFormMapPrimitiveResponse](../../models/operations/requestbodypostformmapprimitiveresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostFormSimple @@ -2224,7 +2326,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; strOpt: "testOptional", }); - if (res.statusCode == 200) { // handle response } @@ -2242,7 +2343,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostFormSimpleResponse](../../models/operations/requestbodypostformsimpleresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesArrayBigInt @@ -2264,7 +2369,6 @@ import { SDK } from "openapi"; 564849, ]); - if (res.statusCode == 200) { // handle response } @@ -2282,7 +2386,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesArrayBigIntResponse](../../models/operations/requestbodypostjsondatatypesarraybigintresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesArrayDate @@ -2304,7 +2412,6 @@ import { SDK } from "openapi"; new RFCDate("2022-03-22"), ]); - if (res.statusCode == 200) { // handle response } @@ -2322,7 +2429,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesArrayDateResponse](../../models/operations/requestbodypostjsondatatypesarraydateresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesArrayDecimalStr @@ -2344,7 +2455,6 @@ import { SDK } from "openapi"; "string", ]); - if (res.statusCode == 200) { // handle response } @@ -2362,7 +2472,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesArrayDecimalStrResponse](../../models/operations/requestbodypostjsondatatypesarraydecimalstrresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesBigInt @@ -2382,7 +2496,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesBigInt(687617); - if (res.statusCode == 200) { // handle response } @@ -2400,7 +2513,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesBigIntResponse](../../models/operations/requestbodypostjsondatatypesbigintresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesBigIntStr @@ -2420,7 +2537,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesBigIntStr("string"); - if (res.statusCode == 200) { // handle response } @@ -2438,7 +2554,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesBigIntStrResponse](../../models/operations/requestbodypostjsondatatypesbigintstrresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesBoolean @@ -2458,7 +2578,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesBoolean(false); - if (res.statusCode == 200) { // handle response } @@ -2476,7 +2595,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesBooleanResponse](../../models/operations/requestbodypostjsondatatypesbooleanresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesDate @@ -2496,7 +2619,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesDate(new RFCDate("2022-03-04")); - if (res.statusCode == 200) { // handle response } @@ -2514,7 +2636,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesDateResponse](../../models/operations/requestbodypostjsondatatypesdateresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesDateTime @@ -2534,7 +2660,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesDateTime(new Date("2023-03-04T01:33:15.031Z")); - if (res.statusCode == 200) { // handle response } @@ -2552,7 +2677,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesDateTimeResponse](../../models/operations/requestbodypostjsondatatypesdatetimeresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesDecimal @@ -2572,7 +2701,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesDecimal(1107.81); - if (res.statusCode == 200) { // handle response } @@ -2590,7 +2718,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesDecimalResponse](../../models/operations/requestbodypostjsondatatypesdecimalresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesDecimalStr @@ -2610,7 +2742,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesDecimalStr("string"); - if (res.statusCode == 200) { // handle response } @@ -2628,7 +2759,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesDecimalStrResponse](../../models/operations/requestbodypostjsondatatypesdecimalstrresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesFloat32 @@ -2648,7 +2783,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesFloat32(4464.34); - if (res.statusCode == 200) { // handle response } @@ -2666,7 +2800,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesFloat32Response](../../models/operations/requestbodypostjsondatatypesfloat32response.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesInt32 @@ -2686,7 +2824,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesInt32(22155); - if (res.statusCode == 200) { // handle response } @@ -2704,7 +2841,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesInt32Response](../../models/operations/requestbodypostjsondatatypesint32response.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesInteger @@ -2724,7 +2865,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesInteger(273673); - if (res.statusCode == 200) { // handle response } @@ -2742,7 +2882,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesIntegerResponse](../../models/operations/requestbodypostjsondatatypesintegerresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesMapBigIntStr @@ -2764,7 +2908,6 @@ import { SDK } from "openapi"; "key": "string", }); - if (res.statusCode == 200) { // handle response } @@ -2782,7 +2925,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesMapBigIntStrResponse](../../models/operations/requestbodypostjsondatatypesmapbigintstrresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesMapDateTime @@ -2804,7 +2951,6 @@ import { SDK } from "openapi"; "key": new Date("2022-09-03T18:52:14.477Z"), }); - if (res.statusCode == 200) { // handle response } @@ -2822,7 +2968,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesMapDateTimeResponse](../../models/operations/requestbodypostjsondatatypesmapdatetimeresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesMapDecimal @@ -2844,7 +2994,6 @@ import { SDK } from "openapi"; "key": 3472.82, }); - if (res.statusCode == 200) { // handle response } @@ -2862,7 +3011,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesMapDecimalResponse](../../models/operations/requestbodypostjsondatatypesmapdecimalresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesNumber @@ -2882,7 +3035,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesNumber(2193.66); - if (res.statusCode == 200) { // handle response } @@ -2900,7 +3052,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesNumberResponse](../../models/operations/requestbodypostjsondatatypesnumberresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostJsonDataTypesString @@ -2920,7 +3076,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostJsonDataTypesString("string"); - if (res.statusCode == 200) { // handle response } @@ -2938,7 +3093,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostJsonDataTypesStringResponse](../../models/operations/requestbodypostjsondatatypesstringresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesComponentFiltered @@ -2979,7 +3138,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; strOpt: "testOptional", }); - if (res.statusCode == 200) { // handle response } @@ -2997,7 +3155,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesComponentFilteredResponse](../../models/operations/requestbodypostmultiplecontenttypescomponentfilteredresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesInlineFiltered @@ -3021,7 +3183,6 @@ import { SDK } from "openapi"; str: "string", }); - if (res.statusCode == 200) { // handle response } @@ -3039,7 +3200,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesInlineFilteredResponse](../../models/operations/requestbodypostmultiplecontenttypesinlinefilteredresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesSplitParamForm @@ -3069,7 +3234,6 @@ const paramStr: string = "string"; const res = await sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamForm(requestBody, paramStr); - if (res.statusCode == 200) { // handle response } @@ -3088,7 +3252,11 @@ const paramStr: string = "string"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesSplitParamFormResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparamformresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesSplitParamJson @@ -3118,7 +3286,6 @@ const paramStr: string = "string"; const res = await sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamJson(requestBody, paramStr); - if (res.statusCode == 200) { // handle response } @@ -3137,7 +3304,11 @@ const paramStr: string = "string"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesSplitParamJsonResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparamjsonresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesSplitParamMultipart @@ -3167,7 +3338,6 @@ const paramStr: string = "string"; const res = await sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamMultipart(requestBody, paramStr); - if (res.statusCode == 200) { // handle response } @@ -3186,7 +3356,11 @@ const paramStr: string = "string"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesSplitParamMultipartResponse](../../models/operations/requestbodypostmultiplecontenttypessplitparammultipartresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesSplitForm @@ -3210,7 +3384,6 @@ import { SDK } from "openapi"; str3: "string", }); - if (res.statusCode == 200) { // handle response } @@ -3228,7 +3401,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesSplitFormResponse](../../models/operations/requestbodypostmultiplecontenttypessplitformresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesSplitJson @@ -3252,7 +3429,6 @@ import { SDK } from "openapi"; str: "string", }); - if (res.statusCode == 200) { // handle response } @@ -3270,7 +3446,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesSplitJsonResponse](../../models/operations/requestbodypostmultiplecontenttypessplitjsonresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostMultipleContentTypesSplitMultipart @@ -3294,7 +3474,6 @@ import { SDK } from "openapi"; str2: "string", }); - if (res.statusCode == 200) { // handle response } @@ -3312,7 +3491,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostMultipleContentTypesSplitMultipartResponse](../../models/operations/requestbodypostmultiplecontenttypessplitmultipartresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostNotNullableNotRequiredStringBody @@ -3332,7 +3515,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostNotNullableNotRequiredStringBody("string"); - if (res.statusCode == 200) { // handle response } @@ -3350,7 +3532,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostNotNullableNotRequiredStringBodyResponse](../../models/operations/requestbodypostnotnullablenotrequiredstringbodyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostNullArray @@ -3372,7 +3558,6 @@ import { SDK } from "openapi"; "string", ]); - if (res.statusCode == 200) { // handle response } @@ -3390,7 +3575,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostNullArrayResponse](../../models/operations/requestbodypostnullarrayresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostNullDictionary @@ -3412,7 +3601,6 @@ import { SDK } from "openapi"; "key": "string", }); - if (res.statusCode == 200) { // handle response } @@ -3430,7 +3618,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostNullDictionaryResponse](../../models/operations/requestbodypostnulldictionaryresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostNullableNotRequiredStringBody @@ -3450,7 +3642,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostNullableNotRequiredStringBody("string"); - if (res.statusCode == 200) { // handle response } @@ -3468,7 +3659,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostNullableNotRequiredStringBodyResponse](../../models/operations/requestbodypostnullablenotrequiredstringbodyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPostNullableRequiredStringBody @@ -3488,7 +3683,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPostNullableRequiredStringBody("string"); - if (res.statusCode == 200) { // handle response } @@ -3506,7 +3700,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPostNullableRequiredStringBodyResponse](../../models/operations/requestbodypostnullablerequiredstringbodyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutBytes @@ -3526,7 +3724,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPutBytes(new TextEncoder().encode("0x5DbFFb1Ff9")); - if (res.statusCode == 200) { // handle response } @@ -3544,7 +3741,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPutBytesResponse](../../models/operations/requestbodyputbytesresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutBytesWithParams @@ -3567,7 +3768,6 @@ const queryStringParam: string = "string"; const res = await sdk.requestBodies.requestBodyPutBytesWithParams(requestBody, queryStringParam); - if (res.statusCode == 200) { // handle response } @@ -3586,7 +3786,11 @@ const queryStringParam: string = "string"; ### Response **Promise<[operations.RequestBodyPutBytesWithParamsResponse](../../models/operations/requestbodyputbyteswithparamsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutMultipartDeep @@ -3718,7 +3922,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; str: "test", }); - if (res.statusCode == 200) { // handle response } @@ -3736,7 +3939,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPutMultipartDeepResponse](../../models/operations/requestbodyputmultipartdeepresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutMultipartDifferentFileName @@ -3761,7 +3968,6 @@ import { SDK } from "openapi"; }, }); - if (res.statusCode == 200) { // handle response } @@ -3779,7 +3985,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPutMultipartDifferentFileNameResponse](../../models/operations/requestbodyputmultipartdifferentfilenameresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutMultipartFile @@ -3804,7 +4014,6 @@ import { SDK } from "openapi"; }, }); - if (res.statusCode == 200) { // handle response } @@ -3822,7 +4031,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPutMultipartFileResponse](../../models/operations/requestbodyputmultipartfileresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutMultipartSimple @@ -3863,7 +4076,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; strOpt: "testOptional", }); - if (res.statusCode == 200) { // handle response } @@ -3881,7 +4093,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.RequestBodyPutMultipartSimpleResponse](../../models/operations/requestbodyputmultipartsimpleresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutString @@ -3901,7 +4117,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyPutString("string"); - if (res.statusCode == 200) { // handle response } @@ -3919,7 +4134,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyPutStringResponse](../../models/operations/requestbodyputstringresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyPutStringWithParams @@ -3942,7 +4161,6 @@ const queryStringParam: string = "string"; const res = await sdk.requestBodies.requestBodyPutStringWithParams(requestBody, queryStringParam); - if (res.statusCode == 200) { // handle response } @@ -3961,7 +4179,11 @@ const queryStringParam: string = "string"; ### Response **Promise<[operations.RequestBodyPutStringWithParamsResponse](../../models/operations/requestbodyputstringwithparamsresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyReadAndWrite @@ -3985,7 +4207,6 @@ import { SDK } from "openapi"; num3: 459345, }); - if (res.statusCode == 200) { // handle response } @@ -4004,7 +4225,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyReadAndWriteResponse](../../models/operations/requestbodyreadandwriteresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyReadOnlyInput @@ -4024,7 +4249,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyReadOnlyInput({}); - if (res.statusCode == 200) { // handle response } @@ -4043,7 +4267,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyReadOnlyInputResponse](../../models/operations/requestbodyreadonlyinputresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyReadOnlyUnion @@ -4063,7 +4291,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyReadOnlyUnion("string"); - if (res.statusCode == 200) { // handle response } @@ -4082,7 +4309,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyReadOnlyUnionResponse](../../models/operations/requestbodyreadonlyunionresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyReadWriteOnlyUnion @@ -4102,7 +4333,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyReadWriteOnlyUnion("string"); - if (res.statusCode == 200) { // handle response } @@ -4121,7 +4351,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyReadWriteOnlyUnionResponse](../../models/operations/requestbodyreadwriteonlyunionresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyWriteOnly @@ -4145,7 +4379,6 @@ import { SDK } from "openapi"; string: "string", }); - if (res.statusCode == 200) { // handle response } @@ -4164,7 +4397,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyWriteOnlyResponse](../../models/operations/requestbodywriteonlyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyWriteOnlyOutput @@ -4188,7 +4425,6 @@ import { SDK } from "openapi"; string: "string", }); - if (res.statusCode == 200) { // handle response } @@ -4207,7 +4443,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyWriteOnlyOutputResponse](../../models/operations/requestbodywriteonlyoutputresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## requestBodyWriteOnlyUnion @@ -4227,7 +4467,6 @@ import { SDK } from "openapi"; const res = await sdk.requestBodies.requestBodyWriteOnlyUnion("string"); - if (res.statusCode == 200) { // handle response } @@ -4246,4 +4485,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.RequestBodyWriteOnlyUnionResponse](../../models/operations/requestbodywriteonlyunionresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/resource/README.md b/typescript-client-sdk/docs/sdks/resource/README.md index 93bd894b7..01cf0228b 100755 --- a/typescript-client-sdk/docs/sdks/resource/README.md +++ b/typescript-client-sdk/docs/sdks/resource/README.md @@ -32,7 +32,6 @@ import { SDK } from "openapi"; }, }); - if (res.statusCode == 200) { // handle response } @@ -50,7 +49,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.CreateFileResponse](../../models/operations/createfileresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## createResource @@ -92,7 +95,6 @@ import { EnumNumber, EnumStr } from "openapi/dist/sdk/models/shared"; vehicle: "string", }); - if (res.statusCode == 200) { // handle response } @@ -110,7 +112,11 @@ import { EnumNumber, EnumStr } from "openapi/dist/sdk/models/shared"; ### Response **Promise<[operations.CreateResourceResponse](../../models/operations/createresourceresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## deleteResource @@ -132,7 +138,6 @@ const resourceId: string = "string"; const res = await sdk.resource.deleteResource(resourceId); - if (res.statusCode == 200) { // handle response } @@ -150,7 +155,11 @@ const resourceId: string = "string"; ### Response **Promise<[operations.DeleteResourceResponse](../../models/operations/deleteresourceresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## getResource @@ -172,7 +181,6 @@ const resourceId: string = "string"; const res = await sdk.resource.getResource(resourceId); - if (res.statusCode == 200) { // handle response } @@ -190,7 +198,11 @@ const resourceId: string = "string"; ### Response **Promise<[operations.GetResourceResponse](../../models/operations/getresourceresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## updateResource @@ -212,7 +224,6 @@ const resourceId: string = "string"; const res = await sdk.resource.updateResource(resourceId); - if (res.statusCode == 200) { // handle response } @@ -230,4 +241,8 @@ const resourceId: string = "string"; ### Response **Promise<[operations.UpdateResourceResponse](../../models/operations/updateresourceresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/responsebodies/README.md b/typescript-client-sdk/docs/sdks/responsebodies/README.md index 651872c29..b61c35532 100755 --- a/typescript-client-sdk/docs/sdks/responsebodies/README.md +++ b/typescript-client-sdk/docs/sdks/responsebodies/README.md @@ -39,7 +39,6 @@ import { SDK } from "openapi"; "key": "string", }); - if (res.statusCode == 200) { // handle response } @@ -57,7 +56,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyAdditionalPropertiesComplexNumbersPostResponse](../../models/operations/responsebodyadditionalpropertiescomplexnumberspostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyAdditionalPropertiesDatePost @@ -79,7 +82,6 @@ import { SDK } from "openapi"; "key": new RFCDate("2021-03-16"), }); - if (res.statusCode == 200) { // handle response } @@ -97,7 +99,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyAdditionalPropertiesDatePostResponse](../../models/operations/responsebodyadditionalpropertiesdatepostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyAdditionalPropertiesObjectPost @@ -140,7 +146,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; }, }); - if (res.statusCode == 200) { // handle response } @@ -158,7 +163,11 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.ResponseBodyAdditionalPropertiesObjectPostResponse](../../models/operations/responsebodyadditionalpropertiesobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyAdditionalPropertiesPost @@ -180,7 +189,6 @@ import { SDK } from "openapi"; "key": "string", }); - if (res.statusCode == 200) { // handle response } @@ -198,7 +206,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyAdditionalPropertiesPostResponse](../../models/operations/responsebodyadditionalpropertiespostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyBytesGet @@ -218,7 +230,6 @@ import { SDK } from "openapi"; const res = await sdk.responseBodies.responseBodyBytesGet(); - if (res.statusCode == 200) { // handle response } @@ -235,7 +246,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyBytesGetResponse](../../models/operations/responsebodybytesgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyEmptyWithHeaders @@ -258,7 +273,6 @@ const xStringHeader: string = "string"; const res = await sdk.responseBodies.responseBodyEmptyWithHeaders(xNumberHeader, xStringHeader); - if (res.statusCode == 200) { // handle response } @@ -277,7 +291,11 @@ const xStringHeader: string = "string"; ### Response **Promise<[operations.ResponseBodyEmptyWithHeadersResponse](../../models/operations/responsebodyemptywithheadersresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyOptionalGet @@ -297,7 +315,6 @@ import { SDK } from "openapi"; const res = await sdk.responseBodies.responseBodyOptionalGet(); - if (res.statusCode == 200) { // handle response } @@ -315,7 +332,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyOptionalGetResponse](../../models/operations/responsebodyoptionalgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyReadOnly @@ -335,7 +356,6 @@ import { SDK } from "openapi"; const res = await sdk.responseBodies.responseBodyReadOnly(); - if (res.statusCode == 200) { // handle response } @@ -353,7 +373,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyReadOnlyResponse](../../models/operations/responsebodyreadonlyresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyStringGet @@ -373,7 +397,6 @@ import { SDK } from "openapi"; const res = await sdk.responseBodies.responseBodyStringGet(); - if (res.statusCode == 200) { // handle response } @@ -390,7 +413,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyStringGetResponse](../../models/operations/responsebodystringgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyXmlGet @@ -410,7 +437,6 @@ import { SDK } from "openapi"; const res = await sdk.responseBodies.responseBodyXmlGet(); - if (res.statusCode == 200) { // handle response } @@ -427,7 +453,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyXmlGetResponse](../../models/operations/responsebodyxmlgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyZeroValueComplexTypePtrsPost @@ -451,7 +481,6 @@ import { RFCDate } from "openapi/dist/sdk/types"; dateTime: new Date("2020-01-01T00:00:00Z"), }); - if (res.statusCode == 200) { // handle response } @@ -469,4 +498,8 @@ import { RFCDate } from "openapi/dist/sdk/types"; ### Response **Promise<[operations.ResponseBodyZeroValueComplexTypePtrsPostResponse](../../models/operations/responsebodyzerovaluecomplextypeptrspostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/retries/README.md b/typescript-client-sdk/docs/sdks/retries/README.md index bdc80e367..67cb4a0e3 100755 --- a/typescript-client-sdk/docs/sdks/retries/README.md +++ b/typescript-client-sdk/docs/sdks/retries/README.md @@ -30,7 +30,6 @@ const numRetries: number = 75342; const res = await sdk.retries.retriesGet(requestId, numRetries); - if (res.statusCode == 200) { // handle response } @@ -51,4 +50,8 @@ const numRetries: number = 75342; ### Response **Promise<[operations.RetriesGetResponse](../../models/operations/retriesgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/sdk/README.md b/typescript-client-sdk/docs/sdks/sdk/README.md index c2a06818d..72f8df157 100755 --- a/typescript-client-sdk/docs/sdks/sdk/README.md +++ b/typescript-client-sdk/docs/sdks/sdk/README.md @@ -31,7 +31,6 @@ import { SDK } from "openapi"; const res = await sdk.putAnythingIgnoredGeneration("string"); - if (res.statusCode == 200) { // handle response } @@ -49,7 +48,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.PutAnythingIgnoredGenerationResponse](../../models/operations/putanythingignoredgenerationresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## responseBodyJsonGet @@ -69,7 +72,6 @@ import { SDK } from "openapi"; const res = await sdk.responseBodyJsonGet(); - if (res.statusCode == 200) { // handle response } @@ -86,4 +88,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ResponseBodyJsonGetResponse](../../models/operations/responsebodyjsongetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/sdkfirst/README.md b/typescript-client-sdk/docs/sdks/sdkfirst/README.md index 7a9ba5dd4..5583a9cb1 100755 --- a/typescript-client-sdk/docs/sdks/sdkfirst/README.md +++ b/typescript-client-sdk/docs/sdks/sdkfirst/README.md @@ -23,7 +23,6 @@ import { SDK } from "openapi"; const res = await sdk.nest.first.get(); - if (res.statusCode == 200) { // handle response } @@ -40,4 +39,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NestFirstGetResponse](../../models/operations/nestfirstgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/sdknestedfirst/README.md b/typescript-client-sdk/docs/sdks/sdknestedfirst/README.md index 7309e42db..45a764592 100755 --- a/typescript-client-sdk/docs/sdks/sdknestedfirst/README.md +++ b/typescript-client-sdk/docs/sdks/sdknestedfirst/README.md @@ -23,7 +23,6 @@ import { SDK } from "openapi"; const res = await sdk.nested.first.get(); - if (res.statusCode == 200) { // handle response } @@ -40,4 +39,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NestedFirstGetResponse](../../models/operations/nestedfirstgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/sdksecond/README.md b/typescript-client-sdk/docs/sdks/sdksecond/README.md index 595544b20..389d37105 100755 --- a/typescript-client-sdk/docs/sdks/sdksecond/README.md +++ b/typescript-client-sdk/docs/sdks/sdksecond/README.md @@ -23,7 +23,6 @@ import { SDK } from "openapi"; const res = await sdk.nested.second.get(); - if (res.statusCode == 200) { // handle response } @@ -40,4 +39,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NestedSecondGetResponse](../../models/operations/nestedsecondgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/second/README.md b/typescript-client-sdk/docs/sdks/second/README.md index bd1183488..a64ae4947 100755 --- a/typescript-client-sdk/docs/sdks/second/README.md +++ b/typescript-client-sdk/docs/sdks/second/README.md @@ -23,7 +23,6 @@ import { SDK } from "openapi"; const res = await sdk.second.get(); - if (res.statusCode == 200) { // handle response } @@ -40,4 +39,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.GroupSecondGetResponse](../../models/operations/groupsecondgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/servers/README.md b/typescript-client-sdk/docs/sdks/servers/README.md index 21bc88397..78b4d8722 100755 --- a/typescript-client-sdk/docs/sdks/servers/README.md +++ b/typescript-client-sdk/docs/sdks/servers/README.md @@ -32,7 +32,6 @@ import { SDK } from "openapi"; const res = await sdk.servers.selectGlobalServer(); - if (res.statusCode == 200) { // handle response } @@ -49,7 +48,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.SelectGlobalServerResponse](../../models/operations/selectglobalserverresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## selectServerWithID @@ -71,7 +74,6 @@ import { SDK } from "openapi"; const res = await sdk.servers.selectServerWithID(); - if (res.statusCode == 200) { // handle response } @@ -89,7 +91,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.SelectServerWithIDResponse](../../models/operations/selectserverwithidresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## serverWithProtocolTemplate @@ -109,7 +115,6 @@ import { SDK } from "openapi"; const res = await sdk.servers.serverWithProtocolTemplate(); - if (res.statusCode == 200) { // handle response } @@ -127,7 +132,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ServerWithProtocolTemplateResponse](../../models/operations/serverwithprotocoltemplateresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## serverWithTemplates @@ -147,7 +156,6 @@ import { SDK } from "openapi"; const res = await sdk.servers.serverWithTemplates(); - if (res.statusCode == 200) { // handle response } @@ -165,7 +173,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ServerWithTemplatesResponse](../../models/operations/serverwithtemplatesresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## serverWithTemplatesGlobal @@ -185,7 +197,6 @@ import { SDK } from "openapi"; const res = await sdk.servers.serverWithTemplatesGlobal(); - if (res.statusCode == 200) { // handle response } @@ -202,7 +213,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ServerWithTemplatesGlobalResponse](../../models/operations/serverwithtemplatesglobalresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## serversByIDWithTemplates @@ -222,7 +237,6 @@ import { SDK } from "openapi"; const res = await sdk.servers.serversByIDWithTemplates(); - if (res.statusCode == 200) { // handle response } @@ -240,4 +254,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.ServersByIDWithTemplatesResponse](../../models/operations/serversbyidwithtemplatesresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/telemetry/README.md b/typescript-client-sdk/docs/sdks/telemetry/README.md index 6aa0b1fd7..b9ffc6ca4 100755 --- a/typescript-client-sdk/docs/sdks/telemetry/README.md +++ b/typescript-client-sdk/docs/sdks/telemetry/README.md @@ -30,7 +30,6 @@ const userAgent: string = "string"; const res = await sdk.telemetry.telemetrySpeakeasyUserAgentGet(userAgent); - if (res.statusCode == 200) { // handle response } @@ -48,7 +47,11 @@ const userAgent: string = "string"; ### Response **Promise<[operations.TelemetrySpeakeasyUserAgentGetResponse](../../models/operations/telemetryspeakeasyuseragentgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## telemetryUserAgentGet @@ -68,7 +71,6 @@ import { SDK } from "openapi"; const res = await sdk.telemetry.telemetryUserAgentGet(); - if (res.statusCode == 200) { // handle response } @@ -85,4 +87,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.TelemetryUserAgentGetResponse](../../models/operations/telemetryuseragentgetresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/docs/sdks/unions/README.md b/typescript-client-sdk/docs/sdks/unions/README.md index 94cd7baa8..0b8260a34 100755 --- a/typescript-client-sdk/docs/sdks/unions/README.md +++ b/typescript-client-sdk/docs/sdks/unions/README.md @@ -41,7 +41,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.flattenedTypedObjectPost("string"); - if (res.statusCode == 200) { // handle response } @@ -59,7 +58,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.FlattenedTypedObjectPostResponse](../../models/operations/flattenedtypedobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## mixedTypeOneOfPost @@ -79,7 +82,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.mixedTypeOneOfPost("string"); - if (res.statusCode == 200) { // handle response } @@ -97,7 +99,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.MixedTypeOneOfPostResponse](../../models/operations/mixedtypeoneofpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullableOneOfRefInObjectPost @@ -125,7 +131,6 @@ import { TypeT } from "openapi/dist/sdk/models/shared"; oneOfOne: "string", }); - if (res.statusCode == 200) { // handle response } @@ -143,7 +148,11 @@ import { TypeT } from "openapi/dist/sdk/models/shared"; ### Response **Promise<[operations.NullableOneOfRefInObjectPostResponse](../../models/operations/nullableoneofrefinobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullableOneOfSchemaPost @@ -163,7 +172,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.nullableOneOfSchemaPost("string"); - if (res.statusCode == 200) { // handle response } @@ -181,7 +189,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NullableOneOfSchemaPostResponse](../../models/operations/nullableoneofschemapostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullableOneOfTypeInObjectPost @@ -205,7 +217,6 @@ import { SDK } from "openapi"; oneOfOne: false, }); - if (res.statusCode == 200) { // handle response } @@ -223,7 +234,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.NullableOneOfTypeInObjectPostResponse](../../models/operations/nullableoneoftypeinobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## nullableTypedObjectPost @@ -247,7 +262,6 @@ import { TypeT } from "openapi/dist/sdk/models/shared"; value: "string", }); - if (res.statusCode == 200) { // handle response } @@ -265,7 +279,11 @@ import { TypeT } from "openapi/dist/sdk/models/shared"; ### Response **Promise<[operations.NullableTypedObjectPostResponse](../../models/operations/nullabletypedobjectpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## primitiveTypeOneOfPost @@ -285,7 +303,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.primitiveTypeOneOfPost("string"); - if (res.statusCode == 200) { // handle response } @@ -303,7 +320,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.PrimitiveTypeOneOfPostResponse](../../models/operations/primitivetypeoneofpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## stronglyTypedOneOfPost @@ -323,7 +344,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.stronglyTypedOneOfPost("string"); - if (res.statusCode == 200) { // handle response } @@ -341,7 +361,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.StronglyTypedOneOfPostResponse](../../models/operations/stronglytypedoneofpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## typedObjectNullableOneOfPost @@ -361,7 +385,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.typedObjectNullableOneOfPost("string"); - if (res.statusCode == 200) { // handle response } @@ -379,7 +402,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.TypedObjectNullableOneOfPostResponse](../../models/operations/typedobjectnullableoneofpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## typedObjectOneOfPost @@ -399,7 +426,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.typedObjectOneOfPost("string"); - if (res.statusCode == 200) { // handle response } @@ -417,7 +443,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.TypedObjectOneOfPostResponse](../../models/operations/typedobjectoneofpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## unionBigIntDecimal @@ -437,7 +467,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.unionBigIntDecimal("string"); - if (res.statusCode == 200) { // handle response } @@ -455,7 +484,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.UnionBigIntDecimalResponse](../../models/operations/unionbigintdecimalresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## unionDateNull @@ -475,7 +508,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.unionDateNull(new RFCDate("2022-11-25")); - if (res.statusCode == 200) { // handle response } @@ -493,7 +525,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.UnionDateNullResponse](../../models/operations/uniondatenullresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## unionDateTimeBigInt @@ -513,7 +549,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.unionDateTimeBigInt("string"); - if (res.statusCode == 200) { // handle response } @@ -531,7 +566,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.UnionDateTimeBigIntResponse](../../models/operations/uniondatetimebigintresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## unionDateTimeNull @@ -551,7 +590,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.unionDateTimeNull(new Date("2022-04-12T19:39:53.907Z")); - if (res.statusCode == 200) { // handle response } @@ -569,7 +607,11 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.UnionDateTimeNullResponse](../../models/operations/uniondatetimenullresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | ## weaklyTypedOneOfPost @@ -589,7 +631,6 @@ import { SDK } from "openapi"; const res = await sdk.unions.weaklyTypedOneOfPost("string"); - if (res.statusCode == 200) { // handle response } @@ -607,4 +648,8 @@ import { SDK } from "openapi"; ### Response **Promise<[operations.WeaklyTypedOneOfPostResponse](../../models/operations/weaklytypedoneofpostresponse.md)>** +### Errors +| Error Object | Status Code | Content Type | +| --------------- | --------------- | --------------- | +| errors.SDKError | 400-600 | */* | diff --git a/typescript-client-sdk/gen.yaml b/typescript-client-sdk/gen.yaml index bea30f277..165c418b6 100755 --- a/typescript-client-sdk/gen.yaml +++ b/typescript-client-sdk/gen.yaml @@ -2,8 +2,8 @@ configVersion: 1.0.0 management: docChecksum: 0c1717dc8f9e83b99bad896fa719645c docVersion: 0.1.0 - speakeasyVersion: 1.114.1 - generationVersion: 2.181.1 + speakeasyVersion: 1.115.0 + generationVersion: 2.183.0 generation: comments: {} sdkClassName: SDK @@ -13,7 +13,7 @@ features: acceptHeaders: 2.81.1 core: 3.1.0 deprecations: 2.81.1 - docs: 0.3.9 + docs: 0.3.10 enums: 2.81.1 errors: 2.81.7 examples: 2.81.3 @@ -32,7 +32,7 @@ features: retries: 2.82.1 serverIDs: 2.81.2 typescript: - version: 2.0.0 + version: 2.0.1 author: Speakeasy clientServerStatusCodesAsErrors: true flattenGlobalSecurity: false diff --git a/typescript-client-sdk/package-lock.json b/typescript-client-sdk/package-lock.json index 61534a69f..05a809862 100755 --- a/typescript-client-sdk/package-lock.json +++ b/typescript-client-sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "openapi", - "version": "2.0.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "openapi", - "version": "2.0.0", + "version": "2.0.1", "dependencies": { "axios": "^1.1.3", "class-transformer": "^0.5.1", diff --git a/typescript-client-sdk/package.json b/typescript-client-sdk/package.json index e2a9fc65d..76392d03b 100755 --- a/typescript-client-sdk/package.json +++ b/typescript-client-sdk/package.json @@ -1,6 +1,6 @@ { "name": "openapi", - "version": "2.0.0", + "version": "2.0.1", "author": "Speakeasy", "scripts": { "prepare": "tsc --build", diff --git a/typescript-client-sdk/src/sdk/sdk.ts b/typescript-client-sdk/src/sdk/sdk.ts index a6101e9e7..08f537a11 100755 --- a/typescript-client-sdk/src/sdk/sdk.ts +++ b/typescript-client-sdk/src/sdk/sdk.ts @@ -130,9 +130,9 @@ export class SDKConfiguration { serverDefaults: any; language = "typescript"; openapiDocVersion = "0.1.0"; - sdkVersion = "2.0.0"; - genVersion = "2.181.1"; - userAgent = "speakeasy-sdk/typescript 2.0.0 2.181.1 0.1.0 openapi"; + sdkVersion = "2.0.1"; + genVersion = "2.183.0"; + userAgent = "speakeasy-sdk/typescript 2.0.1 2.183.0 0.1.0 openapi"; globals: any; retryConfig?: utils.RetryConfig; public constructor(init?: Partial) {