diff --git a/RELEASES.md b/RELEASES.md index 03f365a36..e1522fb99 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -705,4 +705,19 @@ Based on: - [ruby v1.33.1] ruby-client-sdk - [typescript v1.35.1] typescript-client-sdk ### Releases -- [Go v1.35.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.35.1 - go-client-sdk \ No newline at end of file +- [Go v1.35.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.35.1 - go-client-sdk + +## 2023-09-27 15:32:52 +### Changes +Based on: +- OpenAPI Doc 0.1.0 +- Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v1.35.2] typescript-client-sdk +- [go v1.35.2] go-client-sdk +- [java v1.33.2] java-client-sdk +- [php v1.33.2] php-client-sdk +- [python v1.34.2] python-client-sdk +- [ruby v1.33.2] ruby-client-sdk +### Releases +- [Go v1.35.2] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.35.2 - go-client-sdk \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md index 9f1f2cd5c..78caa6580 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | --------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [][*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md index 59bb25ea5..17c1614d6 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [][types.Date](../../types/date.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md index fa04c7c51..9bde28963 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [][*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md index b6e7f8f3a..657a69e81 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md index fd8f7e4e3..e94d004ee 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md index 47777fbfc..b9e00bd31 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [types.Date](../../types/date.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md index 0988f3dba..7caac7c32 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md index 6b9726f2d..f0fd2b7d5 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md index ca3ef31cd..686983f55 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md index f503dcba8..c677f2ed1 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | map[string][*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md index 327aac69e..f368eacc0 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | map[string][time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md index e376dcf26..cd721d8d9 100755 --- a/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md +++ b/go-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `Data` | *string* | :heavy_check_mark: | N/A | | `JSON` | map[string][*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/go-client-sdk/gen.yaml b/go-client-sdk/gen.yaml index efc422746..a682305a0 100755 --- a/go-client-sdk/gen.yaml +++ b/go-client-sdk/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 438034cce53a2da9414d89b820102ba8 + docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 docVersion: 0.1.0 - speakeasyVersion: 1.91.1 - generationVersion: 2.130.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: SDK singleTagPerOp: false @@ -11,7 +11,7 @@ features: go: additionalProperties: 0.1.0 constsAndDefaults: 0.1.0 - core: 2.89.2 + core: 2.89.3 deprecations: 2.81.1 docs: 0.2.1 enums: 2.81.1 @@ -33,7 +33,7 @@ features: serverIDs: 2.81.1 unions: 2.83.0 go: - version: 1.35.1 + version: 1.35.2 clientServerStatusCodesAsErrors: true maxMethodParams: 5 packageName: openapi diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraybigint.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraybigint.go index 451b743d9..2e3a2fbfb 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraybigint.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraybigint.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON - OK type RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON struct { + Data string `json:"data"` JSON []*big.Int `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON) UnmarshalJSO return nil } +func (o *RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON) GetJSON() []*big.Int { if o == nil { return []*big.Int{} diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydate.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydate.go index aeab06ecf..a931b045e 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydate.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydate.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON - OK type RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON struct { + Data string `json:"data"` JSON []types.Date `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON) UnmarshalJSON( return nil } +func (o *RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON) GetJSON() []types.Date { if o == nil { return []types.Date{} diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydecimalstr.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydecimalstr.go index 5c8a0112b..f8519b168 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydecimalstr.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesarraydecimalstr.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON - OK type RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON struct { + Data string `json:"data"` JSON []*decimal.Big `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON) Unmarsha return nil } +func (o *RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON) GetJSON() []*decimal.Big { if o == nil { return []*decimal.Big{} diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigint.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigint.go index e2aaa13f2..acc88584b 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigint.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigint.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesBigInt200ApplicationJSON - OK type RequestBodyPostJSONDataTypesBigInt200ApplicationJSON struct { + Data string `json:"data"` JSON *big.Int `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesBigInt200ApplicationJSON) UnmarshalJSON(dat return nil } +func (o *RequestBodyPostJSONDataTypesBigInt200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesBigInt200ApplicationJSON) GetJSON() *big.Int { if o == nil { return big.NewInt(0) diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigintstr.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigintstr.go index db5b0e3f0..f3a0b6f04 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigintstr.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesbigintstr.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON - OK type RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON struct { + Data string `json:"data"` JSON *big.Int `bigint:"string" json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON) UnmarshalJSON( return nil } +func (o *RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON) GetJSON() *big.Int { if o == nil { return big.NewInt(0) diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdate.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdate.go index ad9c8ef06..e7cf7a5ec 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdate.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdate.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesDate200ApplicationJSON - OK type RequestBodyPostJSONDataTypesDate200ApplicationJSON struct { + Data string `json:"data"` JSON types.Date `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesDate200ApplicationJSON) UnmarshalJSON(data return nil } +func (o *RequestBodyPostJSONDataTypesDate200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesDate200ApplicationJSON) GetJSON() types.Date { if o == nil { return types.Date{} diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdatetime.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdatetime.go index d39f7132a..a4273b9a3 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdatetime.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdatetime.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesDateTime200ApplicationJSON - OK type RequestBodyPostJSONDataTypesDateTime200ApplicationJSON struct { + Data string `json:"data"` JSON time.Time `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesDateTime200ApplicationJSON) UnmarshalJSON(d return nil } +func (o *RequestBodyPostJSONDataTypesDateTime200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesDateTime200ApplicationJSON) GetJSON() time.Time { if o == nil { return time.Time{} diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimal.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimal.go index 42b1ec9fe..0a658bcc6 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimal.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimal.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesDecimal200ApplicationJSON - OK type RequestBodyPostJSONDataTypesDecimal200ApplicationJSON struct { + Data string `json:"data"` JSON *decimal.Big `decimal:"number" json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesDecimal200ApplicationJSON) UnmarshalJSON(da return nil } +func (o *RequestBodyPostJSONDataTypesDecimal200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesDecimal200ApplicationJSON) GetJSON() *decimal.Big { if o == nil { return new(decimal.Big).SetFloat64(0.0) diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimalstr.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimalstr.go index bb1156dab..bf8420d4a 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimalstr.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesdecimalstr.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON - OK type RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON struct { + Data string `json:"data"` JSON *decimal.Big `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON) UnmarshalJSON return nil } +func (o *RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON) GetJSON() *decimal.Big { if o == nil { return new(decimal.Big).SetFloat64(0.0) diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapbigintstr.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapbigintstr.go index 7986de830..f6868839f 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapbigintstr.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapbigintstr.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON - OK type RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON struct { + Data string `json:"data"` JSON map[string]*big.Int `bigint:"string" json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON) UnmarshalJS return nil } +func (o *RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON) GetJSON() map[string]*big.Int { if o == nil { return map[string]*big.Int{} diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdatetime.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdatetime.go index de630bb7e..3556a18e5 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdatetime.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdatetime.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON - OK type RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON struct { + Data string `json:"data"` JSON map[string]time.Time `json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON) UnmarshalJSO return nil } +func (o *RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON) GetJSON() map[string]time.Time { if o == nil { return map[string]time.Time{} diff --git a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdecimal.go b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdecimal.go index 1fd37f5a8..424730ed8 100755 --- a/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdecimal.go +++ b/go-client-sdk/pkg/models/operations/requestbodypostjsondatatypesmapdecimal.go @@ -10,6 +10,7 @@ import ( // RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON - OK type RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON struct { + Data string `json:"data"` JSON map[string]*decimal.Big `decimal:"number" json:"json"` } @@ -24,6 +25,13 @@ func (r *RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON) UnmarshalJSON return nil } +func (o *RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON) GetData() string { + if o == nil { + return "" + } + return o.Data +} + func (o *RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON) GetJSON() map[string]*decimal.Big { if o == nil { return map[string]*decimal.Big{} diff --git a/go-client-sdk/pkg/utils/json.go b/go-client-sdk/pkg/utils/json.go index 30efec46c..eac494a6a 100755 --- a/go-client-sdk/pkg/utils/json.go +++ b/go-client-sdk/pkg/utils/json.go @@ -432,6 +432,9 @@ func unmarshalValue(value json.RawMessage, v reflect.Value, tag reflect.StructTa } if v.Kind() == reflect.Ptr { + if v.IsNil() { + v.Set(reflect.New(typ)) + } v = v.Elem() } @@ -498,6 +501,9 @@ func unmarshalValue(value json.RawMessage, v reflect.Value, tag reflect.StructTa } if v.Kind() == reflect.Ptr { + if v.IsNil() { + v.Set(reflect.New(typ)) + } v = v.Elem() } diff --git a/go-client-sdk/sdk.go b/go-client-sdk/sdk.go index bb941c26c..ae146cb77 100755 --- a/go-client-sdk/sdk.go +++ b/go-client-sdk/sdk.go @@ -284,8 +284,8 @@ func New(opts ...SDKOption) *SDK { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "0.1.0", - SDKVersion: "1.35.1", - GenVersion: "2.130.1", + SDKVersion: "1.35.2", + GenVersion: "2.131.1", Globals: map[string]map[string]map[string]interface{}{ "parameters": {}, }, diff --git a/go-client-sdk/tests/responsebodies_test.go b/go-client-sdk/tests/responsebodies_test.go index 30e40c7dd..4b674040e 100755 --- a/go-client-sdk/tests/responsebodies_test.go +++ b/go-client-sdk/tests/responsebodies_test.go @@ -8,6 +8,7 @@ import ( "math/big" "net/http" "testing" + "time" "openapi/pkg/models/operations" "openapi/pkg/models/shared" @@ -172,6 +173,25 @@ func TestResponseBodyAdditionalPropertiesComplexNumbersPost(t *testing.T) { assert.Equal(t, req, res.ResponseBodyAdditionalPropertiesComplexNumbersPost200ApplicationJSONObject.JSON) } +func TestResponseBodyZeroValueComplexTypePtrsPost(t *testing.T) { + recordTest("response-bodies-zero-value-complex-type-ptrs") + + s := sdk.New() + + req := shared.ObjWithZeroValueComplexTypePtrs{ + Bigint: &big.Int{}, + BigintStr: &big.Int{}, + Date: &types.Date{}, + DateTime: &time.Time{}, + } + + res, err := s.ResponseBodies.ResponseBodyZeroValueComplexTypePtrsPost(context.Background(), req) + require.NoError(t, err) + require.NotNil(t, res) + assert.Equal(t, http.StatusOK, res.StatusCode) + assert.Equal(t, req, res.ResponseBodyZeroValueComplexTypePtrsPost200ApplicationJSONObject.JSON) +} + func TestResponseBodyAdditionalPropertiesDatePost(t *testing.T) { recordTest("response-bodies-additional-properties-date") diff --git a/go-client-sdk/tests/telemetry_test.go b/go-client-sdk/tests/telemetry_test.go index f4cc45c7c..c70424d8c 100755 --- a/go-client-sdk/tests/telemetry_test.go +++ b/go-client-sdk/tests/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 1.35.1 2.130.1 0.1.0", res.Res.Headers["X-Speakeasy-User-Agent"]) + assert.Equal(t, "speakeasy-sdk/go 1.35.2 2.131.1 0.1.0", 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 1.35.1 2.130.1 0.1.0", res.Res.Headers["X-Speakeasy-User-Agent"]) + assert.Equal(t, "speakeasy-sdk/go 1.35.2 2.131.1 0.1.0", res.Res.Headers["X-Speakeasy-User-Agent"]) } diff --git a/java-client-sdk/README.md b/java-client-sdk/README.md index 15973f50e..54c30c22a 100755 --- a/java-client-sdk/README.md +++ b/java-client-sdk/README.md @@ -6,7 +6,7 @@ ### Gradle ```groovy -implementation 'org.openapis.openapi:openapi:1.33.1' +implementation 'org.openapis.openapi:openapi:1.33.2' ``` diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md index d57527261..24d3d17bf 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | List<*Long*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md index 652d78e86..d5907096e 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | List<[LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html)> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md index 30911c95a..14d189d1c 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | List<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md index b1d04e68d..826f0e22a 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *Long* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md index a0ce420e0..6b9609bdb 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md index 0f1b9e287..7f1419057 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md index 152e5f1e6..83c8ecf63 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md index 7999a74e4..7a5c419a3 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *Double* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md index 39fd9c269..82b51eaed 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md index ec79b1733..853ee05d3 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | --------------------- | --------------------- | --------------------- | --------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | Map | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md index 4abbbfd4d..e5bd52f81 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | Map | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md index d2f81db39..e7bfa5ba3 100755 --- a/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md +++ b/java-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | --------------------- | --------------------- | --------------------- | --------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | Map | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/java-client-sdk/gen.yaml b/java-client-sdk/gen.yaml index 4d395e4ae..b1ed7462d 100755 --- a/java-client-sdk/gen.yaml +++ b/java-client-sdk/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 438034cce53a2da9414d89b820102ba8 + docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 docVersion: 0.1.0 - speakeasyVersion: 1.91.1 - generationVersion: 2.130.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: SDK singleTagPerOp: false @@ -26,7 +26,7 @@ features: nameOverrides: 2.81.1 serverIDs: 2.81.1 java: - version: 1.33.1 + version: 1.33.2 artifactID: openapi companyEmail: info@mycompany.com companyName: My Company diff --git a/java-client-sdk/gradlew.bat b/java-client-sdk/gradlew.bat index f127cfd49..53a6b238d 100755 --- a/java-client-sdk/gradlew.bat +++ b/java-client-sdk/gradlew.bat @@ -1,91 +1,91 @@ -@rem -@rem Copyright 2015 the original author or authors. -@rem -@rem Licensed under the Apache License, Version 2.0 (the "License"); -@rem you may not use this file except in compliance with the License. -@rem You may obtain a copy of the License at -@rem -@rem https://www.apache.org/licenses/LICENSE-2.0 -@rem -@rem Unless required by applicable law or agreed to in writing, software -@rem distributed under the License is distributed on an "AS IS" BASIS, -@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -@rem See the License for the specific language governing permissions and -@rem limitations under the License. -@rem - -@if "%DEBUG%"=="" @echo off -@rem ########################################################################## -@rem -@rem Gradle startup script for Windows -@rem -@rem ########################################################################## - -@rem Set local scope for the variables with windows NT shell -if "%OS%"=="Windows_NT" setlocal - -set DIRNAME=%~dp0 -if "%DIRNAME%"=="" set DIRNAME=. -set APP_BASE_NAME=%~n0 -set APP_HOME=%DIRNAME% - -@rem Resolve any "." and ".." in APP_HOME to make it shorter. -for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi - -@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" - -@rem Find java.exe -if defined JAVA_HOME goto findJavaFromJavaHome - -set JAVA_EXE=java.exe -%JAVA_EXE% -version >NUL 2>&1 -if %ERRORLEVEL% equ 0 goto execute - -echo. -echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:findJavaFromJavaHome -set JAVA_HOME=%JAVA_HOME:"=% -set JAVA_EXE=%JAVA_HOME%/bin/java.exe - -if exist "%JAVA_EXE%" goto execute - -echo. -echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% -echo. -echo Please set the JAVA_HOME variable in your environment to match the -echo location of your Java installation. - -goto fail - -:execute -@rem Setup the command line - -set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar - - -@rem Execute Gradle -"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* - -:end -@rem End local scope for the variables with windows NT shell -if %ERRORLEVEL% equ 0 goto mainEnd - -:fail -rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of -rem the _cmd.exe /c_ return code! -set EXIT_CODE=%ERRORLEVEL% -if %EXIT_CODE% equ 0 set EXIT_CODE=1 -if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% -exit /b %EXIT_CODE% - -:mainEnd -if "%OS%"=="Windows_NT" endlocal - -:omega +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% +echo. +echo Please set the JAVA_HOME variable in your environment to match the +echo location of your Java installation. + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/java-client-sdk/lib/build.gradle b/java-client-sdk/lib/build.gradle index 8bd65319c..a6eceb1db 100755 --- a/java-client-sdk/lib/build.gradle +++ b/java-client-sdk/lib/build.gradle @@ -42,7 +42,7 @@ publishing { maven(MavenPublication) { groupId = 'org.openapis' artifactId = 'openapi' - version = '1.33.1' + version = '1.33.2' from components.java diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/SDKConfiguration.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/SDKConfiguration.java index c01d988f9..9ca0d9cf0 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/SDKConfiguration.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/SDKConfiguration.java @@ -35,8 +35,8 @@ class SDKConfiguration { }}; public String language = "java"; public String openapiDocVersion = "0.1.0"; - public String sdkVersion = "1.33.1"; - public String genVersion = "2.130.1"; + public String sdkVersion = "1.33.2"; + public String genVersion = "2.131.1"; public Map>> globals = new HashMap>>(){{ put("parameters", new HashMap>()); }}; diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.java index 939fa8dc3..32baa765f 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public Long[] json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON withJson(Long[] return this; } - public RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON(@JsonProperty("json") Long[] json) { + public RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") Long[] json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.java index c08c4fe6c..746002d2f 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.java @@ -12,6 +12,14 @@ */ public class RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public LocalDate[] json; @@ -20,7 +28,8 @@ public RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON withJson(LocalDat return this; } - public RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON(@JsonProperty("json") LocalDate[] json) { + public RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") LocalDate[] json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.java index 8ea02e1a6..12a4415f5 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public String[] json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON withJson(St return this; } - public RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON(@JsonProperty("json") String[] json) { + public RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") String[] json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.java index 5446b9464..8ef5352ea 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesBigInt200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesBigInt200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public Long json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesBigInt200ApplicationJSON withJson(Long json) return this; } - public RequestBodyPostJSONDataTypesBigInt200ApplicationJSON(@JsonProperty("json") Long json) { + public RequestBodyPostJSONDataTypesBigInt200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") Long json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.java index ed749fdd8..ef8d27d2c 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public String json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON withJson(String j return this; } - public RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON(@JsonProperty("json") String json) { + public RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") String json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.java index cff642f97..9f58ad520 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.java @@ -13,6 +13,14 @@ */ public class RequestBodyPostJSONDataTypesDate200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesDate200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd") @JsonProperty("json") public LocalDate json; @@ -22,7 +30,8 @@ public RequestBodyPostJSONDataTypesDate200ApplicationJSON withJson(LocalDate jso return this; } - public RequestBodyPostJSONDataTypesDate200ApplicationJSON(@JsonProperty("json") LocalDate json) { + public RequestBodyPostJSONDataTypesDate200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") LocalDate json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.java index 0c52b0b92..3fd8ccfd5 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.java @@ -16,6 +16,14 @@ */ public class RequestBodyPostJSONDataTypesDateTime200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesDateTime200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonSerialize(using = DateTimeSerializer.class) @JsonDeserialize(using = DateTimeDeserializer.class) @JsonProperty("json") @@ -26,7 +34,8 @@ public RequestBodyPostJSONDataTypesDateTime200ApplicationJSON withJson(OffsetDat return this; } - public RequestBodyPostJSONDataTypesDateTime200ApplicationJSON(@JsonProperty("json") OffsetDateTime json) { + public RequestBodyPostJSONDataTypesDateTime200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") OffsetDateTime json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.java index 6bed1ec2c..66a2aa3f9 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesDecimal200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesDecimal200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public Double json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesDecimal200ApplicationJSON withJson(Double jso return this; } - public RequestBodyPostJSONDataTypesDecimal200ApplicationJSON(@JsonProperty("json") Double json) { + public RequestBodyPostJSONDataTypesDecimal200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") Double json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.java index 0f47bd269..9d12fad38 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public String json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON withJson(String return this; } - public RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON(@JsonProperty("json") String json) { + public RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") String json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.java index 423611b2f..714397b38 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public java.util.Map json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON withJson(java. return this; } - public RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON(@JsonProperty("json") java.util.Map json) { + public RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") java.util.Map json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.java index 9b045bfd0..144c8ef06 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.java @@ -12,6 +12,14 @@ */ public class RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public java.util.Map json; @@ -20,7 +28,8 @@ public RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON withJson(java.u return this; } - public RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON(@JsonProperty("json") java.util.Map json) { + public RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") java.util.Map json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.java index e16f55d6b..5730afdb3 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.java @@ -11,6 +11,14 @@ */ public class RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON { + @JsonProperty("data") + public String data; + + public RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON withData(String data) { + this.data = data; + return this; + } + @JsonProperty("json") public java.util.Map json; @@ -19,7 +27,8 @@ public RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON withJson(java.ut return this; } - public RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON(@JsonProperty("json") java.util.Map json) { + public RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON(@JsonProperty("data") String data, @JsonProperty("json") java.util.Map json) { + this.data = data; this.json = json; } } diff --git a/java-client-sdk/lib/src/test/java/org/openapis/openapi/TelemetryTests.java b/java-client-sdk/lib/src/test/java/org/openapis/openapi/TelemetryTests.java index 36f6223ac..ffff90fd5 100755 --- a/java-client-sdk/lib/src/test/java/org/openapis/openapi/TelemetryTests.java +++ b/java-client-sdk/lib/src/test/java/org/openapis/openapi/TelemetryTests.java @@ -23,7 +23,7 @@ void testTelemetryUserAgentGet() throws Exception { assertNotNull(res); assertEquals(200, res.statusCode); - assertEquals("speakeasy-sdk/java 1.33.1 2.130.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent")); + assertEquals("speakeasy-sdk/java 1.33.2 2.131.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent")); } @Test @@ -40,6 +40,6 @@ void testTelemetrySpeakeasyUserAgentGet() throws Exception { assertNotNull(res); assertEquals(200, res.statusCode); assertEquals(userAgent, res.res.headers.get("User-Agent")); - assertEquals("speakeasy-sdk/java 1.33.1 2.130.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent")); + assertEquals("speakeasy-sdk/java 1.33.2 2.131.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent")); } } diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md index 26235d438..86929c08c 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | array<*int*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md index 79ffe2c55..40739b06d 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | array<[\DateTime](https://www.php.net/manual/en/class.datetime.php)> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md index a33f9b20c..44333c7d6 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | array<*string*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md index 31789eff1..8f90f5389 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md index 710643405..ba47ae0ac 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md index 7cca32ed1..75027d447 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md index c68a6ab92..6bcba3c28 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md index 318905f57..5c0cc06af 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md index 78d166afb..9361e6907 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md index 6df3c1c60..6ce06fd3a 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | array | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md index b936e1d1f..6314eced4 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | array | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md index f4a0c962a..69af70073 100755 --- a/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md +++ b/php-client-sdk/docs/models/operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ---------------------- | ---------------------- | ---------------------- | ---------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | array | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/php-client-sdk/gen.yaml b/php-client-sdk/gen.yaml index 4f717122a..eb41f0d9d 100755 --- a/php-client-sdk/gen.yaml +++ b/php-client-sdk/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 438034cce53a2da9414d89b820102ba8 + docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 docVersion: 0.1.0 - speakeasyVersion: 1.91.1 - generationVersion: 2.130.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: SDK singleTagPerOp: false @@ -26,7 +26,7 @@ features: nameOverrides: 2.81.1 serverIDs: 2.81.1 php: - version: 1.33.1 + version: 1.33.2 maxMethodParams: 5 namespace: OpenAPI\OpenAPI packageName: openapi/openapi diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.php index ddd8a322a..68505ed91 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON.php @@ -17,6 +17,10 @@ */ class RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + /** * $json * @@ -28,6 +32,7 @@ class RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON public function __construct() { + $this->data = ""; $this->json = []; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.php index d20c983bd..a505a3b72 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON.php @@ -17,6 +17,10 @@ */ class RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + /** * $json * @@ -28,6 +32,7 @@ class RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON public function __construct() { + $this->data = ""; $this->json = []; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.php index 5244ffc79..5ff3155ba 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON.php @@ -17,6 +17,10 @@ */ class RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + /** * $json * @@ -28,6 +32,7 @@ class RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON public function __construct() { + $this->data = ""; $this->json = []; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.php index feafe2c46..182cec3d6 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigInt200ApplicationJSON.php @@ -17,12 +17,17 @@ */ class RequestBodyPostJSONDataTypesBigInt200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + #[\JMS\Serializer\Annotation\SerializedName('json')] #[\JMS\Serializer\Annotation\Type('int')] public int $json; public function __construct() { + $this->data = ""; $this->json = 0; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.php index 81499706d..63a964e17 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON.php @@ -17,12 +17,17 @@ */ class RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + #[\JMS\Serializer\Annotation\SerializedName('json')] #[\JMS\Serializer\Annotation\Type('string')] public string $json; public function __construct() { + $this->data = ""; $this->json = ""; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.php index 64de462e3..96e81847b 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDate200ApplicationJSON.php @@ -17,12 +17,17 @@ */ class RequestBodyPostJSONDataTypesDate200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + #[\JMS\Serializer\Annotation\SerializedName('json')] #[\JMS\Serializer\Annotation\Type("DateTime<'Y-m-d', '', '|Y-m-d'>")] public \DateTime $json; public function __construct() { + $this->data = ""; $this->json = new \DateTime(); } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.php index 561b076c9..13236d856 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDateTime200ApplicationJSON.php @@ -17,12 +17,17 @@ */ class RequestBodyPostJSONDataTypesDateTime200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + #[\JMS\Serializer\Annotation\SerializedName('json')] #[\JMS\Serializer\Annotation\Type("DateTime<'Y-m-d\TH:i:s.up'>")] public \DateTime $json; public function __construct() { + $this->data = ""; $this->json = new \DateTime(); } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.php index afda4ad24..a6e470722 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimal200ApplicationJSON.php @@ -17,12 +17,17 @@ */ class RequestBodyPostJSONDataTypesDecimal200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + #[\JMS\Serializer\Annotation\SerializedName('json')] #[\JMS\Serializer\Annotation\Type('float')] public float $json; public function __construct() { + $this->data = ""; $this->json = 0; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.php index 6fe1163f4..3a6f32fb3 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON.php @@ -17,12 +17,17 @@ */ class RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + #[\JMS\Serializer\Annotation\SerializedName('json')] #[\JMS\Serializer\Annotation\Type('string')] public string $json; public function __construct() { + $this->data = ""; $this->json = ""; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.php index f0a707c3a..a2663f44f 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON.php @@ -17,6 +17,10 @@ */ class RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + /** * $json * @@ -28,6 +32,7 @@ class RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON public function __construct() { + $this->data = ""; $this->json = []; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.php index 32c3f9fbb..d547fb2df 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON.php @@ -17,6 +17,10 @@ */ class RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + /** * $json * @@ -28,6 +32,7 @@ class RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON public function __construct() { + $this->data = ""; $this->json = []; } } diff --git a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.php b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.php index 83c0110e4..ab79e82f5 100755 --- a/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.php +++ b/php-client-sdk/src/Models/Operations/RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON.php @@ -17,6 +17,10 @@ */ class RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON { + #[\JMS\Serializer\Annotation\SerializedName('data')] + #[\JMS\Serializer\Annotation\Type('string')] + public string $data; + /** * $json * @@ -28,6 +32,7 @@ class RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON public function __construct() { + $this->data = ""; $this->json = []; } } diff --git a/php-client-sdk/src/SDKConfiguration.php b/php-client-sdk/src/SDKConfiguration.php index b548cc0d7..72f57009b 100755 --- a/php-client-sdk/src/SDKConfiguration.php +++ b/php-client-sdk/src/SDKConfiguration.php @@ -36,8 +36,8 @@ class SDKConfiguration ]; public string $language = 'php'; public string $openapiDocVersion = '0.1.0'; - public string $sdkVersion = '1.33.1'; - public string $genVersion = '2.130.1'; + public string $sdkVersion = '1.33.2'; + public string $genVersion = '2.131.1'; /** @var array>> */ public ?array $globals = [ 'parameters' => [] diff --git a/php-client-sdk/tests/TelemetryTest.php b/php-client-sdk/tests/TelemetryTest.php index 0592a8091..1f5f00e11 100755 --- a/php-client-sdk/tests/TelemetryTest.php +++ b/php-client-sdk/tests/TelemetryTest.php @@ -21,7 +21,7 @@ public function testTelemetryUserAgentGet(): void $this->assertNotNull($response); $this->assertEquals(200, $response->statusCode); $this->assertEquals( - 'speakeasy-sdk/php 1.33.1 2.130.1 0.1.0', + 'speakeasy-sdk/php 1.33.2 2.131.1 0.1.0', $response->res->headers['X-Speakeasy-User-Agent'], ); } @@ -42,7 +42,7 @@ public function testTelemetrySpeakeasyUserAgentGet(): void $this->assertEquals(200, $response->statusCode); $this->assertEquals($userAgent, $response->res->headers['User-Agent']); $this->assertEquals( - 'speakeasy-sdk/php 1.33.1 2.130.1 0.1.0', + 'speakeasy-sdk/php 1.33.2 2.131.1 0.1.0', $response->res->headers['X-Speakeasy-User-Agent'], ); } diff --git a/python-client-sdk/README.md b/python-client-sdk/README.md index 8077b0a14..ffc34370c 100755 --- a/python-client-sdk/README.md +++ b/python-client-sdk/README.md @@ -410,7 +410,7 @@ s = sdk.SDK( ) req = operations.PaginationCursorBodyRequestBody( - cursor=592081, + cursor=790840, ) res = s.pagination_cursor_body(req) diff --git a/python-client-sdk/docs/models/operations/mixedtypeoneofpostrequestbody.md b/python-client-sdk/docs/models/operations/mixedtypeoneofpostrequestbody.md new file mode 100755 index 000000000..1b57d4fbf --- /dev/null +++ b/python-client-sdk/docs/models/operations/mixedtypeoneofpostrequestbody.md @@ -0,0 +1,23 @@ +# MixedTypeOneOfPostRequestBody + + +## Supported Types + +### + +```python +mixedTypeOneOfPostRequestBody: str = /* values here */ +``` + +### + +```python +mixedTypeOneOfPostRequestBody: int = /* values here */ +``` + +### SimpleObject + +```python +mixedTypeOneOfPostRequestBody: shared.SimpleObject = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/operations/mixedtypeoneofpostres.md b/python-client-sdk/docs/models/operations/mixedtypeoneofpostres.md index 37b9f3371..ba09e549b 100755 --- a/python-client-sdk/docs/models/operations/mixedtypeoneofpostres.md +++ b/python-client-sdk/docs/models/operations/mixedtypeoneofpostres.md @@ -5,6 +5,6 @@ OK ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `json` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `json` | [Union[str, int, shared.SimpleObject]](../../models/operations/mixedtypeoneofpostresjson.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/mixedtypeoneofpostresjson.md b/python-client-sdk/docs/models/operations/mixedtypeoneofpostresjson.md new file mode 100755 index 000000000..bb194c335 --- /dev/null +++ b/python-client-sdk/docs/models/operations/mixedtypeoneofpostresjson.md @@ -0,0 +1,23 @@ +# MixedTypeOneOfPostResJSON + + +## Supported Types + +### + +```python +mixedTypeOneOfPostResJSON: str = /* values here */ +``` + +### + +```python +mixedTypeOneOfPostResJSON: int = /* values here */ +``` + +### SimpleObject + +```python +mixedTypeOneOfPostResJSON: shared.SimpleObject = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/operations/nullableoneofschemapostrequestbody.md b/python-client-sdk/docs/models/operations/nullableoneofschemapostrequestbody.md new file mode 100755 index 000000000..5d3b06a10 --- /dev/null +++ b/python-client-sdk/docs/models/operations/nullableoneofschemapostrequestbody.md @@ -0,0 +1,17 @@ +# NullableOneOfSchemaPostRequestBody + + +## Supported Types + +### TypedObject1 + +```python +nullableOneOfSchemaPostRequestBody: shared.TypedObject1 = /* values here */ +``` + +### TypedObject2 + +```python +nullableOneOfSchemaPostRequestBody: shared.TypedObject2 = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/operations/nullableoneofschemapostres.md b/python-client-sdk/docs/models/operations/nullableoneofschemapostres.md index d78c09ab2..5f2b3a836 100755 --- a/python-client-sdk/docs/models/operations/nullableoneofschemapostres.md +++ b/python-client-sdk/docs/models/operations/nullableoneofschemapostres.md @@ -5,6 +5,6 @@ OK ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `json` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `json` | [Union[shared.TypedObject1, shared.TypedObject2]](../../models/operations/nullableoneofschemapostresjson.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/nullableoneofschemapostresjson.md b/python-client-sdk/docs/models/operations/nullableoneofschemapostresjson.md new file mode 100755 index 000000000..7ca4a254b --- /dev/null +++ b/python-client-sdk/docs/models/operations/nullableoneofschemapostresjson.md @@ -0,0 +1,17 @@ +# NullableOneOfSchemaPostResJSON + + +## Supported Types + +### TypedObject1 + +```python +nullableOneOfSchemaPostResJSON: shared.TypedObject1 = /* values here */ +``` + +### TypedObject2 + +```python +nullableOneOfSchemaPostResJSON: shared.TypedObject2 = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/operations/primitivetypeoneofpostrequestbody.md b/python-client-sdk/docs/models/operations/primitivetypeoneofpostrequestbody.md new file mode 100755 index 000000000..3173dea3d --- /dev/null +++ b/python-client-sdk/docs/models/operations/primitivetypeoneofpostrequestbody.md @@ -0,0 +1,29 @@ +# PrimitiveTypeOneOfPostRequestBody + + +## Supported Types + +### + +```python +primitiveTypeOneOfPostRequestBody: str = /* values here */ +``` + +### + +```python +primitiveTypeOneOfPostRequestBody: int = /* values here */ +``` + +### + +```python +primitiveTypeOneOfPostRequestBody: float = /* values here */ +``` + +### + +```python +primitiveTypeOneOfPostRequestBody: bool = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/operations/primitivetypeoneofpostres.md b/python-client-sdk/docs/models/operations/primitivetypeoneofpostres.md index 833dfd858..d9bd6b80c 100755 --- a/python-client-sdk/docs/models/operations/primitivetypeoneofpostres.md +++ b/python-client-sdk/docs/models/operations/primitivetypeoneofpostres.md @@ -5,6 +5,6 @@ OK ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `json` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | +| `json` | [Union[str, int, float, bool]](../../models/operations/primitivetypeoneofpostresjson.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/primitivetypeoneofpostresjson.md b/python-client-sdk/docs/models/operations/primitivetypeoneofpostresjson.md new file mode 100755 index 000000000..e24469265 --- /dev/null +++ b/python-client-sdk/docs/models/operations/primitivetypeoneofpostresjson.md @@ -0,0 +1,29 @@ +# PrimitiveTypeOneOfPostResJSON + + +## Supported Types + +### + +```python +primitiveTypeOneOfPostResJSON: str = /* values here */ +``` + +### + +```python +primitiveTypeOneOfPostResJSON: int = /* values here */ +``` + +### + +```python +primitiveTypeOneOfPostResJSON: float = /* values here */ +``` + +### + +```python +primitiveTypeOneOfPostResJSON: bool = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md index 438993b33..92f478156 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | list[*int*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md index 368c16498..06682d950 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | list[[datetime](https://docs.python.org/3/library/datetime.html#datetime-objects)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md index 0b1283304..78308feb3 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | list[*Decimal*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md index 31789eff1..f858193ac 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md index 86674e7fe..8f0ae35a8 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | *int* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md index 47e1055bd..9d2739d55 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md index 258a27ec1..932c6f8eb 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md index 20b60c944..7312c3197 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | *Decimal* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md index 707b1acd0..a096b9198 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | *Decimal* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md index 81a813554..345c5b24b 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | dict[str, *int*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md index e56a91fee..a1d954825 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | dict[str, [date](https://docs.python.org/3/library/datetime.html#date-objects)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md index 8a88e8954..b99fb1f54 100755 --- a/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md +++ b/python-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | -------------------- | -------------------- | -------------------- | -------------------- | +| `data` | *str* | :heavy_check_mark: | N/A | | `json` | dict[str, *Decimal*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodyreadonlyunionresponse.md b/python-client-sdk/docs/models/operations/requestbodyreadonlyunionresponse.md index b720d9e9c..03161cb1e 100755 --- a/python-client-sdk/docs/models/operations/requestbodyreadonlyunionresponse.md +++ b/python-client-sdk/docs/models/operations/requestbodyreadonlyunionresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `weakly_typed_one_of_read_only_object` | *Optional[Any]* | :heavy_minus_sign: | OK | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `weakly_typed_one_of_read_only_object` | [Optional[Union[shared.SimpleObject, shared.ReadOnlyObject]]](../../models/shared/weaklytypedoneofreadonlyobject.md) | :heavy_minus_sign: | OK | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodyreadwriteonlyunionresponse.md b/python-client-sdk/docs/models/operations/requestbodyreadwriteonlyunionresponse.md index 9792961a6..f7cc52024 100755 --- a/python-client-sdk/docs/models/operations/requestbodyreadwriteonlyunionresponse.md +++ b/python-client-sdk/docs/models/operations/requestbodyreadwriteonlyunionresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `weakly_typed_one_of_read_write_object` | *Optional[Any]* | :heavy_minus_sign: | OK | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `weakly_typed_one_of_read_write_object` | [Optional[Union[shared.SimpleObject, shared.ReadWriteObjectOutput]]](../../models/shared/weaklytypedoneofreadwriteobjectoutput.md) | :heavy_minus_sign: | OK | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/requestbodywriteonlyunionresponse.md b/python-client-sdk/docs/models/operations/requestbodywriteonlyunionresponse.md index 5729a62a9..c7612cc82 100755 --- a/python-client-sdk/docs/models/operations/requestbodywriteonlyunionresponse.md +++ b/python-client-sdk/docs/models/operations/requestbodywriteonlyunionresponse.md @@ -3,9 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | -| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | -| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | -| `weakly_typed_one_of_write_only_object` | *Optional[Any]* | :heavy_minus_sign: | OK | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `content_type` | *str* | :heavy_check_mark: | HTTP response content type for this operation | +| `status_code` | *int* | :heavy_check_mark: | HTTP response status code for this operation | +| `raw_response` | [requests.Response](https://requests.readthedocs.io/en/latest/api/#requests.Response) | :heavy_minus_sign: | Raw HTTP response; suitable for custom response parsing | +| `weakly_typed_one_of_write_only_object` | [Optional[Union[shared.SimpleObject, shared.WriteOnlyObjectOutput]]](../../models/shared/weaklytypedoneofwriteonlyobjectoutput.md) | :heavy_minus_sign: | OK | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/stronglytypedoneofpostres.md b/python-client-sdk/docs/models/operations/stronglytypedoneofpostres.md index ef82f19a2..341ea6d3c 100755 --- a/python-client-sdk/docs/models/operations/stronglytypedoneofpostres.md +++ b/python-client-sdk/docs/models/operations/stronglytypedoneofpostres.md @@ -5,6 +5,6 @@ OK ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `json` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `json` | [Union[shared.SimpleObjectWithType, shared.DeepObjectWithType]](../../models/shared/stronglytypedoneofobject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/typedobjectnullableoneofpostres.md b/python-client-sdk/docs/models/operations/typedobjectnullableoneofpostres.md index e17e70d41..e8eca0e02 100755 --- a/python-client-sdk/docs/models/operations/typedobjectnullableoneofpostres.md +++ b/python-client-sdk/docs/models/operations/typedobjectnullableoneofpostres.md @@ -5,6 +5,6 @@ OK ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `json` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `json` | [Union[shared.TypedObject1, shared.TypedObject2]](../../models/shared/typedobjectnullableoneof.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/typedobjectoneofpostres.md b/python-client-sdk/docs/models/operations/typedobjectoneofpostres.md index e7b6fb9e4..3733aa3c0 100755 --- a/python-client-sdk/docs/models/operations/typedobjectoneofpostres.md +++ b/python-client-sdk/docs/models/operations/typedobjectoneofpostres.md @@ -5,6 +5,6 @@ OK ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `json` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `json` | [Union[shared.TypedObject1, shared.TypedObject2, shared.TypedObject3]](../../models/shared/typedobjectoneof.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/weaklytypedoneofpostres.md b/python-client-sdk/docs/models/operations/weaklytypedoneofpostres.md index 8a4c28417..30dde9b4d 100755 --- a/python-client-sdk/docs/models/operations/weaklytypedoneofpostres.md +++ b/python-client-sdk/docs/models/operations/weaklytypedoneofpostres.md @@ -5,6 +5,6 @@ OK ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `json` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `json` | [Union[shared.SimpleObject, shared.DeepObject]](../../models/shared/weaklytypedoneofobject.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/shared/deepobject.md b/python-client-sdk/docs/models/shared/deepobject.md index b16ed9a48..d3477cdbe 100755 --- a/python-client-sdk/docs/models/shared/deepobject.md +++ b/python-client-sdk/docs/models/shared/deepobject.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `any` | *Any* | :heavy_check_mark: | N/A | +| `any` | [Union[SimpleObject, str]](../../models/shared/deepobjectany.md) | :heavy_check_mark: | N/A | | `arr` | list[[SimpleObject](../../models/shared/simpleobject.md)] | :heavy_check_mark: | N/A | | `bool` | *bool* | :heavy_check_mark: | N/A | | `int` | *int* | :heavy_check_mark: | N/A | diff --git a/python-client-sdk/docs/models/shared/deepobjectany.md b/python-client-sdk/docs/models/shared/deepobjectany.md new file mode 100755 index 000000000..28b016206 --- /dev/null +++ b/python-client-sdk/docs/models/shared/deepobjectany.md @@ -0,0 +1,17 @@ +# DeepObjectAny + + +## Supported Types + +### SimpleObject + +```python +deepObjectAny: shared.SimpleObject = /* values here */ +``` + +### + +```python +deepObjectAny: str = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/deepobjectcamelcase.md b/python-client-sdk/docs/models/shared/deepobjectcamelcase.md index a2918e0b9..a2c56dfb4 100755 --- a/python-client-sdk/docs/models/shared/deepobjectcamelcase.md +++ b/python-client-sdk/docs/models/shared/deepobjectcamelcase.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `any_val` | *Any* | :heavy_check_mark: | N/A | +| `any_val` | [Union[SimpleObjectCamelCase, str]](../../models/shared/deepobjectcamelcaseanyval.md) | :heavy_check_mark: | N/A | | `arr_val` | list[[SimpleObjectCamelCase](../../models/shared/simpleobjectcamelcase.md)] | :heavy_check_mark: | N/A | | `bool_val` | *bool* | :heavy_check_mark: | N/A | | `int_val` | *int* | :heavy_check_mark: | N/A | diff --git a/python-client-sdk/docs/models/shared/deepobjectcamelcaseanyval.md b/python-client-sdk/docs/models/shared/deepobjectcamelcaseanyval.md new file mode 100755 index 000000000..72958d8b4 --- /dev/null +++ b/python-client-sdk/docs/models/shared/deepobjectcamelcaseanyval.md @@ -0,0 +1,17 @@ +# DeepObjectCamelCaseAnyVal + + +## Supported Types + +### SimpleObjectCamelCase + +```python +deepObjectCamelCaseAnyVal: shared.SimpleObjectCamelCase = /* values here */ +``` + +### + +```python +deepObjectCamelCaseAnyVal: str = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/deepobjectwithtype.md b/python-client-sdk/docs/models/shared/deepobjectwithtype.md index 09c337325..b22378745 100755 --- a/python-client-sdk/docs/models/shared/deepobjectwithtype.md +++ b/python-client-sdk/docs/models/shared/deepobjectwithtype.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `any` | *Any* | :heavy_check_mark: | N/A | +| `any` | [Union[SimpleObject, str]](../../models/shared/deepobjectwithtypeany.md) | :heavy_check_mark: | N/A | | `arr` | list[[SimpleObject](../../models/shared/simpleobject.md)] | :heavy_check_mark: | N/A | | `bool` | *bool* | :heavy_check_mark: | N/A | | `int` | *int* | :heavy_check_mark: | N/A | diff --git a/python-client-sdk/docs/models/shared/deepobjectwithtypeany.md b/python-client-sdk/docs/models/shared/deepobjectwithtypeany.md new file mode 100755 index 000000000..ad70a627d --- /dev/null +++ b/python-client-sdk/docs/models/shared/deepobjectwithtypeany.md @@ -0,0 +1,17 @@ +# DeepObjectWithTypeAny + + +## Supported Types + +### SimpleObject + +```python +deepObjectWithTypeAny: shared.SimpleObject = /* values here */ +``` + +### + +```python +deepObjectWithTypeAny: str = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/exampleresource.md b/python-client-sdk/docs/models/shared/exampleresource.md index f0f121252..35e3b98f6 100755 --- a/python-client-sdk/docs/models/shared/exampleresource.md +++ b/python-client-sdk/docs/models/shared/exampleresource.md @@ -16,4 +16,4 @@ | `map_of_string` | dict[str, *str*] | :heavy_minus_sign: | N/A | | `name` | *str* | :heavy_check_mark: | N/A | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | N/A | -| `vehicle` | *Any* | :heavy_check_mark: | N/A | \ No newline at end of file +| `vehicle` | [Union[ExampleBoat, ExampleCar]](../../models/shared/examplevehicle.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/shared/examplevehicle.md b/python-client-sdk/docs/models/shared/examplevehicle.md new file mode 100755 index 000000000..bcf340e3d --- /dev/null +++ b/python-client-sdk/docs/models/shared/examplevehicle.md @@ -0,0 +1,17 @@ +# ExampleVehicle + + +## Supported Types + +### ExampleBoat + +```python +exampleVehicle: shared.ExampleBoat = /* values here */ +``` + +### ExampleCar + +```python +exampleVehicle: shared.ExampleCar = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/nullableoneofrefinobject.md b/python-client-sdk/docs/models/shared/nullableoneofrefinobject.md index 10d683e41..7802fcf37 100755 --- a/python-client-sdk/docs/models/shared/nullableoneofrefinobject.md +++ b/python-client-sdk/docs/models/shared/nullableoneofrefinobject.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------- | -| `nullable_one_of_one` | [TypedObject1](../../models/shared/typedobject1.md) | :heavy_check_mark: | N/A | -| `nullable_one_of_two` | *Any* | :heavy_check_mark: | N/A | -| `one_of_one` | [TypedObject1](../../models/shared/typedobject1.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `nullable_one_of_one` | [TypedObject1](../../models/shared/typedobject1.md) | :heavy_check_mark: | N/A | +| `nullable_one_of_two` | [Union[TypedObject1, TypedObject2]](../../models/shared/nullableoneofrefinobjectnullableoneoftwo.md) | :heavy_check_mark: | N/A | +| `one_of_one` | [TypedObject1](../../models/shared/typedobject1.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/shared/nullableoneofrefinobjectnullableoneoftwo.md b/python-client-sdk/docs/models/shared/nullableoneofrefinobjectnullableoneoftwo.md new file mode 100755 index 000000000..b47cd8519 --- /dev/null +++ b/python-client-sdk/docs/models/shared/nullableoneofrefinobjectnullableoneoftwo.md @@ -0,0 +1,17 @@ +# NullableOneOfRefInObjectNullableOneOfTwo + + +## Supported Types + +### TypedObject1 + +```python +nullableOneOfRefInObjectNullableOneOfTwo: shared.TypedObject1 = /* values here */ +``` + +### TypedObject2 + +```python +nullableOneOfRefInObjectNullableOneOfTwo: shared.TypedObject2 = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/nullableoneoftypeinobject.md b/python-client-sdk/docs/models/shared/nullableoneoftypeinobject.md index db94655bb..ed5115c52 100755 --- a/python-client-sdk/docs/models/shared/nullableoneoftypeinobject.md +++ b/python-client-sdk/docs/models/shared/nullableoneoftypeinobject.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| --------------------- | --------------------- | --------------------- | --------------------- | -| `nullable_one_of_one` | *bool* | :heavy_check_mark: | N/A | -| `nullable_one_of_two` | *Any* | :heavy_check_mark: | N/A | -| `one_of_one` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | +| `nullable_one_of_one` | *bool* | :heavy_check_mark: | N/A | +| `nullable_one_of_two` | [Union[bool, int]](../../models/shared/nullableoneoftypeinobjectnullableoneoftwo.md) | :heavy_check_mark: | N/A | +| `one_of_one` | *bool* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/shared/nullableoneoftypeinobjectnullableoneoftwo.md b/python-client-sdk/docs/models/shared/nullableoneoftypeinobjectnullableoneoftwo.md new file mode 100755 index 000000000..ede894ba2 --- /dev/null +++ b/python-client-sdk/docs/models/shared/nullableoneoftypeinobjectnullableoneoftwo.md @@ -0,0 +1,17 @@ +# NullableOneOfTypeInObjectNullableOneOfTwo + + +## Supported Types + +### + +```python +nullableOneOfTypeInObjectNullableOneOfTwo: bool = /* values here */ +``` + +### + +```python +nullableOneOfTypeInObjectNullableOneOfTwo: int = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/primitivetypeunion.md b/python-client-sdk/docs/models/shared/primitivetypeunion.md new file mode 100755 index 000000000..3d6d3796a --- /dev/null +++ b/python-client-sdk/docs/models/shared/primitivetypeunion.md @@ -0,0 +1,41 @@ +# PrimitiveTypeUnion + + +## Supported Types + +### + +```python +primitiveTypeUnion: str = /* values here */ +``` + +### + +```python +primitiveTypeUnion: int = /* values here */ +``` + +### + +```python +primitiveTypeUnion: int = /* values here */ +``` + +### + +```python +primitiveTypeUnion: float = /* values here */ +``` + +### + +```python +primitiveTypeUnion: float = /* values here */ +``` + +### + +```python +primitiveTypeUnion: bool = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/stronglytypedoneofobject.md b/python-client-sdk/docs/models/shared/stronglytypedoneofobject.md new file mode 100755 index 000000000..7deadf7e4 --- /dev/null +++ b/python-client-sdk/docs/models/shared/stronglytypedoneofobject.md @@ -0,0 +1,17 @@ +# StronglyTypedOneOfObject + + +## Supported Types + +### SimpleObjectWithType + +```python +stronglyTypedOneOfObject: shared.SimpleObjectWithType = /* values here */ +``` + +### DeepObjectWithType + +```python +stronglyTypedOneOfObject: shared.DeepObjectWithType = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/typedobjectnullableoneof.md b/python-client-sdk/docs/models/shared/typedobjectnullableoneof.md new file mode 100755 index 000000000..de1306614 --- /dev/null +++ b/python-client-sdk/docs/models/shared/typedobjectnullableoneof.md @@ -0,0 +1,17 @@ +# TypedObjectNullableOneOf + + +## Supported Types + +### TypedObject1 + +```python +typedObjectNullableOneOf: shared.TypedObject1 = /* values here */ +``` + +### TypedObject2 + +```python +typedObjectNullableOneOf: shared.TypedObject2 = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/typedobjectoneof.md b/python-client-sdk/docs/models/shared/typedobjectoneof.md new file mode 100755 index 000000000..7ebdee8a2 --- /dev/null +++ b/python-client-sdk/docs/models/shared/typedobjectoneof.md @@ -0,0 +1,23 @@ +# TypedObjectOneOf + + +## Supported Types + +### TypedObject1 + +```python +typedObjectOneOf: shared.TypedObject1 = /* values here */ +``` + +### TypedObject2 + +```python +typedObjectOneOf: shared.TypedObject2 = /* values here */ +``` + +### TypedObject3 + +```python +typedObjectOneOf: shared.TypedObject3 = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/weaklytypedoneofobject.md b/python-client-sdk/docs/models/shared/weaklytypedoneofobject.md new file mode 100755 index 000000000..d7769c5c6 --- /dev/null +++ b/python-client-sdk/docs/models/shared/weaklytypedoneofobject.md @@ -0,0 +1,17 @@ +# WeaklyTypedOneOfObject + + +## Supported Types + +### SimpleObject + +```python +weaklyTypedOneOfObject: shared.SimpleObject = /* values here */ +``` + +### DeepObject + +```python +weaklyTypedOneOfObject: shared.DeepObject = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/weaklytypedoneofreadonlyobject.md b/python-client-sdk/docs/models/shared/weaklytypedoneofreadonlyobject.md new file mode 100755 index 000000000..c3891484b --- /dev/null +++ b/python-client-sdk/docs/models/shared/weaklytypedoneofreadonlyobject.md @@ -0,0 +1,17 @@ +# WeaklyTypedOneOfReadOnlyObject + + +## Supported Types + +### SimpleObject + +```python +weaklyTypedOneOfReadOnlyObject: shared.SimpleObject = /* values here */ +``` + +### ReadOnlyObject + +```python +weaklyTypedOneOfReadOnlyObject: shared.ReadOnlyObject = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/weaklytypedoneofreadonlyobjectinput.md b/python-client-sdk/docs/models/shared/weaklytypedoneofreadonlyobjectinput.md new file mode 100755 index 000000000..eb6aad64e --- /dev/null +++ b/python-client-sdk/docs/models/shared/weaklytypedoneofreadonlyobjectinput.md @@ -0,0 +1,17 @@ +# WeaklyTypedOneOfReadOnlyObjectInput + + +## Supported Types + +### SimpleObject + +```python +weaklyTypedOneOfReadOnlyObjectInput: shared.SimpleObject = /* values here */ +``` + +### ReadOnlyObjectInput + +```python +weaklyTypedOneOfReadOnlyObjectInput: shared.ReadOnlyObjectInput = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/weaklytypedoneofreadwriteobjectinput.md b/python-client-sdk/docs/models/shared/weaklytypedoneofreadwriteobjectinput.md new file mode 100755 index 000000000..039879c95 --- /dev/null +++ b/python-client-sdk/docs/models/shared/weaklytypedoneofreadwriteobjectinput.md @@ -0,0 +1,17 @@ +# WeaklyTypedOneOfReadWriteObjectInput + + +## Supported Types + +### SimpleObject + +```python +weaklyTypedOneOfReadWriteObjectInput: shared.SimpleObject = /* values here */ +``` + +### ReadWriteObjectInput + +```python +weaklyTypedOneOfReadWriteObjectInput: shared.ReadWriteObjectInput = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/weaklytypedoneofreadwriteobjectoutput.md b/python-client-sdk/docs/models/shared/weaklytypedoneofreadwriteobjectoutput.md new file mode 100755 index 000000000..fafe38942 --- /dev/null +++ b/python-client-sdk/docs/models/shared/weaklytypedoneofreadwriteobjectoutput.md @@ -0,0 +1,17 @@ +# WeaklyTypedOneOfReadWriteObjectOutput + + +## Supported Types + +### SimpleObject + +```python +weaklyTypedOneOfReadWriteObjectOutput: shared.SimpleObject = /* values here */ +``` + +### ReadWriteObjectOutput + +```python +weaklyTypedOneOfReadWriteObjectOutput: shared.ReadWriteObjectOutput = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/weaklytypedoneofwriteonlyobject.md b/python-client-sdk/docs/models/shared/weaklytypedoneofwriteonlyobject.md new file mode 100755 index 000000000..9c09441ec --- /dev/null +++ b/python-client-sdk/docs/models/shared/weaklytypedoneofwriteonlyobject.md @@ -0,0 +1,17 @@ +# WeaklyTypedOneOfWriteOnlyObject + + +## Supported Types + +### SimpleObject + +```python +weaklyTypedOneOfWriteOnlyObject: shared.SimpleObject = /* values here */ +``` + +### WriteOnlyObject + +```python +weaklyTypedOneOfWriteOnlyObject: shared.WriteOnlyObject = /* values here */ +``` + diff --git a/python-client-sdk/docs/models/shared/weaklytypedoneofwriteonlyobjectoutput.md b/python-client-sdk/docs/models/shared/weaklytypedoneofwriteonlyobjectoutput.md new file mode 100755 index 000000000..5b6418e99 --- /dev/null +++ b/python-client-sdk/docs/models/shared/weaklytypedoneofwriteonlyobjectoutput.md @@ -0,0 +1,17 @@ +# WeaklyTypedOneOfWriteOnlyObjectOutput + + +## Supported Types + +### SimpleObject + +```python +weaklyTypedOneOfWriteOnlyObjectOutput: shared.SimpleObject = /* values here */ +``` + +### WriteOnlyObjectOutput + +```python +weaklyTypedOneOfWriteOnlyObjectOutput: shared.WriteOnlyObjectOutput = /* values here */ +``` + diff --git a/python-client-sdk/docs/sdks/parameters/README.md b/python-client-sdk/docs/sdks/parameters/README.md index 473f45c5a..66b9f36b6 100755 --- a/python-client-sdk/docs/sdks/parameters/README.md +++ b/python-client-sdk/docs/sdks/parameters/README.md @@ -624,37 +624,17 @@ s = sdk.SDK( res = s.parameters.json_query_params_object(deep_obj_param=shared.DeepObject( - any=shared.SimpleObject( - any='ea', - bigint=136900, - bigint_str=428224, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('8221.18'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.FIRST, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), + any=[], arr=[ shared.SimpleObject( - any='ex', - bigint=511319, - bigint_str=120657, + any='ipsam', + bigint=410492, + bigint_str=136900, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2243.17'), + decimal=Decimal('4282.24'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -669,23 +649,23 @@ res = s.parameters.json_query_params_object(deep_obj_param=shared.DeepObject( ), ], bool=False, - int=406120, + int=189848, map={ - "nulla": shared.SimpleObject( - any='excepturi', - bigint=972920, - bigint_str=343605, + "ex": shared.SimpleObject( + any='laudantium', + bigint=120657, + bigint_str=224317, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('9608.35'), + decimal=Decimal('9807'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -693,22 +673,22 @@ res = s.parameters.json_query_params_object(deep_obj_param=shared.DeepObject( str_opt='optional example', ), }, - num=4113.72, + num=8621.92, obj=shared.SimpleObject( - any='impedit', - bigint=359271, - bigint_str=333145, + any='excepturi', + bigint=972920, + bigint_str=343605, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('3994.99'), + decimal=Decimal('9608.35'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, + int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -716,22 +696,22 @@ res = s.parameters.json_query_params_object(deep_obj_param=shared.DeepObject( str_opt='optional example', ), str_='ea', - type='quo', + type='impedit', ), simple_obj_param=shared.SimpleObject( - any='consectetur', - bigint=926213, - bigint_str=132487, + any='corporis', + bigint=333145, + bigint_str=399499, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('3253.1'), + decimal=Decimal('811.01'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -773,7 +753,7 @@ s = sdk.SDK( ) -res = s.parameters.mixed_parameters_camel_case(header_param='libero', path_param='aut', query_string_param='aut') +res = s.parameters.mixed_parameters_camel_case(header_param='quo', path_param='consectetur', query_string_param='recusandae') if res.res is not None: # handle response @@ -810,7 +790,7 @@ s = sdk.SDK( ) -res = s.parameters.mixed_parameters_primitives(header_param='deleniti', path_param='impedit', query_string_param='aliquam') +res = s.parameters.mixed_parameters_primitives(header_param='aspernatur', path_param='minima', query_string_param='eaque') if res.res is not None: # handle response @@ -850,19 +830,19 @@ s = sdk.SDK( res = s.parameters.mixed_query_params(deep_object_param=shared.SimpleObject( - any='fugit', - bigint=882860, - bigint_str=79522, + any='a', + bigint=725595, + bigint_str=13948, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2506.22'), + decimal=Decimal('114.27'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, @@ -870,40 +850,40 @@ res = s.parameters.mixed_query_params(deep_object_param=shared.SimpleObject( str_='example', str_opt='optional example', ), form_param=shared.SimpleObject( - any='laborum', - bigint=810424, - bigint_str=245367, + any='aliquam', + bigint=146946, + bigint_str=882860, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('4321.48'), + decimal=Decimal('795.22'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, str_='example', str_opt='optional example', ), json_param=shared.SimpleObject( - any='quas', - bigint=829603, - bigint_str=860552, + any='dolorum', + bigint=672048, + bigint_str=810424, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('3790.34'), + decimal=Decimal('2453.67'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -949,20 +929,20 @@ s = sdk.SDK( res = s.parameters.path_parameter_json(json_obj=shared.SimpleObject( - any='tempora', - bigint=256139, - bigint_str=131482, + any='nobis', + bigint=557369, + bigint_str=829603, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('5919.35'), + decimal=Decimal('8605.52'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.SECOND, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -1006,26 +986,26 @@ s = sdk.SDK( res = s.parameters.pipe_delimited_query_params_array(arr_param=[ - 'magnam', + 'quasi', ], arr_param_exploded=[ - 487935, + 270328, ], map_param={ - "eius": 'esse', + "numquam": 'explicabo', }, obj_param=shared.SimpleObject( - any='esse', - bigint=524593, - bigint_str=683282, + any='provident', + bigint=55374, + bigint_str=476477, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('4420.15'), + decimal=Decimal('3015.98'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -1070,7 +1050,7 @@ s = sdk.SDK( res = s.parameters.simple_path_parameter_arrays(arr_param=[ - 'ut', + 'esse', ]) if res.res is not None: @@ -1107,9 +1087,9 @@ s = sdk.SDK( res = s.parameters.simple_path_parameter_maps(map_param={ - "eum": 'suscipit', + "esse": 'rem', }, map_param_exploded={ - "assumenda": 181151, + "fuga": 442015, }) if res.res is not None: @@ -1149,14 +1129,14 @@ s = sdk.SDK( res = s.parameters.simple_path_parameter_objects(obj_param=shared.SimpleObject( - any='praesentium', - bigint=788546, - bigint_str=86377, + any='quidem', + bigint=852635, + bigint_str=283519, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('568.48'), + decimal=Decimal('4334.39'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -1169,20 +1149,20 @@ res = s.parameters.simple_path_parameter_objects(obj_param=shared.SimpleObject( str_='example', str_opt='optional example', ), obj_param_exploded=shared.SimpleObject( - any='neque', - bigint=778696, - bigint_str=847276, + any='eos', + bigint=509342, + bigint_str=788546, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('7774.08'), + decimal=Decimal('863.77'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -1224,7 +1204,7 @@ s = sdk.SDK( ) -res = s.parameters.simple_path_parameter_primitives(bool_param=False, int_param=1, num_param=1783.67, str_param='voluptas') +res = s.parameters.simple_path_parameter_primitives(bool_param=False, int_param=1, num_param=6969.97, str_param='neque') if res.res is not None: # handle response diff --git a/python-client-sdk/docs/sdks/requestbodies/README.md b/python-client-sdk/docs/sdks/requestbodies/README.md index 70c3a20f1..9f5d33261 100755 --- a/python-client-sdk/docs/sdks/requestbodies/README.md +++ b/python-client-sdk/docs/sdks/requestbodies/README.md @@ -105,8 +105,8 @@ s = sdk.SDK( ) req = shared.NullableObject( - optional='ab', - required=587600, + optional='quo', + required=847276, ) res = s.request_bodies.nullable_object_post(req) @@ -184,12 +184,12 @@ s = sdk.SDK( ) req = operations.NullableRequiredPropertyPostRequestBody( - nullable_optional_int=9688, + nullable_optional_int=777408, nullable_required_array=[ - 2728.22, + 6813.59, ], - nullable_required_enum=operations.NullableRequiredPropertyPostRequestBodyNullableRequiredEnum.SECOND, - nullable_required_int=370853, + nullable_required_enum=operations.NullableRequiredPropertyPostRequestBodyNullableRequiredEnum.FIRST, + nullable_required_int=178367, ) res = s.request_bodies.nullable_required_property_post(req) @@ -228,12 +228,12 @@ s = sdk.SDK( req = operations.NullableRequiredSharedObjectPostRequestBody( nullable_optional_obj=shared.NullableObject( - optional='aspernatur', - required=197054, + optional='voluptas', + required=69859, ), nullable_required_obj=shared.NullableObject( - optional='quo', - required=459856, + optional='cupiditate', + required=9688, ), ) @@ -275,20 +275,20 @@ s = sdk.SDK( req = [ shared.SimpleObject( - any='recusandae', - bigint=44612, - bigint_str=715179, + any='tempora', + bigint=892050, + bigint_str=370853, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('7997.96'), + decimal=Decimal('1334.65'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -336,17 +336,17 @@ s = sdk.SDK( req = [ shared.SimpleObjectCamelCase( - any_val='nihil', - bigint_str_val=518835, - bigint_val=882710, + any_val='esse', + bigint_str_val=925164, + bigint_val=44612, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('3068.1'), + decimal_val=Decimal('7151.79'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, int32_val=1, int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, int_opt_null_val=999999, @@ -397,20 +397,20 @@ s = sdk.SDK( req = [ shared.SimpleObject( - any='commodi', - bigint=959434, - bigint_str=174112, + any='inventore', + bigint=469498, + bigint_str=518835, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('6455.7'), + decimal=Decimal('8827.1'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -457,17 +457,17 @@ s = sdk.SDK( req = [ shared.SimpleObjectCamelCase( - any_val='porro', - bigint_str_val=430402, - bigint_val=556429, + any_val='occaecati', + bigint_str_val=414567, + bigint_val=959434, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('5100.17'), + decimal_val=Decimal('1741.12'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, int32_val=1, int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, int_opt_null_val=999999, @@ -518,14 +518,14 @@ s = sdk.SDK( req = [ [ shared.SimpleObject( - any='fugit', - bigint=681393, - bigint_str=649463, + any='accusantium', + bigint=783648, + bigint_str=430402, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2775.96'), + decimal=Decimal('5564.29'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -581,19 +581,19 @@ s = sdk.SDK( req = [ [ shared.SimpleObjectCamelCase( - any_val='minima', - bigint_str_val=392676, - bigint_val=147014, + any_val='deleniti', + bigint_str_val=143829, + bigint_val=681393, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('9564.06'), + decimal_val=Decimal('6494.63'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.FIRST, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -684,21 +684,21 @@ s = sdk.SDK( req = [ { - "saepe": shared.SimpleObject( - any='occaecati', - bigint=543806, - bigint_str=92260, + "minima": shared.SimpleObject( + any='nisi', + bigint=147014, + bigint_str=956406, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('4569.11'), + decimal=Decimal('1598.7'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -747,20 +747,20 @@ s = sdk.SDK( req = [ { - "veritatis": shared.SimpleObjectCamelCase( - any_val='esse', - bigint_str_val=800379, - bigint_val=724168, + "saepe": shared.SimpleObjectCamelCase( + any_val='occaecati', + bigint_str_val=543806, + bigint_val=92260, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('8771.31'), + decimal_val=Decimal('4569.11'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.FIRST, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.THIRD, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -807,7 +807,7 @@ s = sdk.SDK( ) req = [ - 'saepe', + 'veritatis', ] res = s.request_bodies.request_body_post_application_json_array_of_primitive(req) @@ -848,43 +848,23 @@ s = sdk.SDK( ) req = shared.DeepObject( - any=shared.SimpleObject( - any='harum', - bigint=473221, - bigint_str=699622, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('5801.97'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.THIRD, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), + any=[], arr=[ shared.SimpleObject( - any='eligendi', - bigint=27069, - bigint_str=636061, + any='esse', + bigint=800379, + bigint_str=724168, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('7313.98'), + decimal=Decimal('8771.31'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -893,23 +873,23 @@ req = shared.DeepObject( ), ], bool=False, - int=160538, + int=904045, map={ - "consequatur": shared.SimpleObject( - any='minus', - bigint=308286, - bigint_str=959167, + "vel": shared.SimpleObject( + any='harum', + bigint=473221, + bigint_str=699622, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2328.65'), + decimal=Decimal('5801.97'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.SECOND, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -917,30 +897,30 @@ req = shared.DeepObject( str_opt='optional example', ), }, - num=5909.84, + num=7567.79, obj=shared.SimpleObject( - any='a', - bigint=857723, - bigint_str=557811, + any='sit', + bigint=636061, + bigint_str=731398, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('4572.23'), + decimal=Decimal('2400.2'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, str_='example', str_opt='optional example', ), - str_='error', - type='sint', + str_='consequatur', + type='minus', ) res = s.request_bodies.request_body_post_application_json_deep(req) @@ -980,22 +960,22 @@ s = sdk.SDK( ) req = shared.DeepObjectCamelCase( - any_val='possimus', + any_val=[], arr_val=[ shared.SimpleObjectCamelCase( - any_val='quia', - bigint_str_val=908844, - bigint_val=992430, + any_val='quaerat', + bigint_str_val=959167, + bigint_val=232865, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('8155.24'), + decimal_val=Decimal('4581.39'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.FIRST, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -1005,20 +985,20 @@ req = shared.DeepObjectCamelCase( ), ], bool_val=False, - int_val=94458, + int_val=953722, map_val={ - "similique": shared.SimpleObjectCamelCase( - any_val='culpa', - bigint_str_val=398434, - bigint_val=949298, + "nulla": shared.SimpleObjectCamelCase( + any_val='quas', + bigint_str_val=457223, + bigint_val=97468, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('627.13'), + decimal_val=Decimal('9518.75'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, int32_val=1, int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, int_opt_null_val=999999, @@ -1029,19 +1009,19 @@ req = shared.DeepObjectCamelCase( str_val='example', ), }, - num_val=4473.78, + num_val=8630.23, obj_val=shared.SimpleObjectCamelCase( - any_val='eius', - bigint_str_val=727697, - bigint_val=849039, + any_val='possimus', + bigint_str_val=157632, + bigint_val=908844, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('7422.38'), + decimal_val=Decimal('9924.3'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, int32_val=1, int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.FIRST, int_opt_null_val=999999, @@ -1051,8 +1031,8 @@ req = shared.DeepObjectCamelCase( str_opt_val='optional example', str_val='example', ), - str_val='sapiente', - type='dicta', + str_val='consequuntur', + type='quasi', ) res = s.request_bodies.request_body_post_application_json_deep_camel_case(req) @@ -1092,21 +1072,21 @@ s = sdk.SDK( ) req = { - "ullam": shared.SimpleObject( - any='reprehenderit', - bigint=356707, - bigint_str=391774, + "similique": shared.SimpleObject( + any='culpa', + bigint=398434, + bigint_str=949298, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('163.28'), + decimal=Decimal('627.13'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -1153,20 +1133,20 @@ s = sdk.SDK( ) req = { - "quibusdam": shared.SimpleObjectCamelCase( - any_val='ex', - bigint_str_val=536275, - bigint_val=929292, + "in": shared.SimpleObjectCamelCase( + any_val='eius', + bigint_str_val=727697, + bigint_val=849039, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('6802.7'), + decimal_val=Decimal('7422.38'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.FIRST, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -1214,20 +1194,20 @@ s = sdk.SDK( ) req = { - "tenetur": shared.SimpleObject( - any='quasi', - bigint=869489, - bigint_str=92027, + "sapiente": shared.SimpleObject( + any='dicta', + bigint=355369, + bigint_str=443879, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('4541.62'), + decimal=Decimal('3567.07'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, @@ -1274,20 +1254,20 @@ s = sdk.SDK( ) req = { - "veritatis": shared.SimpleObjectCamelCase( - any_val='consectetur', - bigint_str_val=237173, - bigint_val=614465, + "voluptatum": shared.SimpleObjectCamelCase( + any_val='qui', + bigint_str_val=845358, + bigint_val=401259, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('8395.13'), + decimal_val=Decimal('5362.75'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.THIRD, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -1334,22 +1314,22 @@ s = sdk.SDK( ) req = { - "aut": [ + "architecto": [ shared.SimpleObject( - any='laudantium', - bigint=428796, - bigint_str=649832, + any='omnis', + bigint=945302, + bigint_str=98478, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('680.74'), + decimal=Decimal('8694.89'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -1397,21 +1377,21 @@ s = sdk.SDK( ) req = { - "voluptatem": [ + "ipsa": [ shared.SimpleObjectCamelCase( - any_val='dolor', - bigint_str_val=580152, - bigint_val=253191, + any_val='minima', + bigint_str_val=86532, + bigint_val=232744, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('7710.89'), + decimal_val=Decimal('2371.73'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.THIRD, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -1460,21 +1440,21 @@ s = sdk.SDK( ) req = { - "aut": { - "dignissimos": shared.SimpleObject( - any='dicta', - bigint=981640, - bigint_str=618480, + "accusantium": { + "rem": shared.SimpleObject( + any='aut', + bigint=513075, + bigint_str=428796, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2446.51'), + decimal=Decimal('6498.32'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, @@ -1523,21 +1503,21 @@ s = sdk.SDK( ) req = { - "asperiores": { - "aperiam": shared.SimpleObjectCamelCase( - any_val='ea', - bigint_str_val=310067, - bigint_val=162954, + "non": { + "voluptatem": shared.SimpleObjectCamelCase( + any_val='dolor', + bigint_str_val=580152, + bigint_val=253191, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('8315.2'), + decimal_val=Decimal('7710.89'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.THIRD, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -1584,8 +1564,8 @@ s = sdk.SDK( ) req = { - "dignissimos": { - "officia": 'asperiores', + "aut": { + "dignissimos": 'dicta', }, } @@ -1625,7 +1605,7 @@ s = sdk.SDK( ) req = { - "nemo": 'quae', + "maiores": 'natus', } res = s.request_bodies.request_body_post_application_json_map_of_primitive(req) @@ -1666,20 +1646,20 @@ s = sdk.SDK( ) req = shared.SimpleObject( - any='quaerat', - bigint=783235, - bigint_str=801836, + any='velit', + bigint=974257, + bigint_str=374323, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2883.98'), + decimal=Decimal('9903.45'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -1724,19 +1704,19 @@ s = sdk.SDK( ) req = shared.SimpleObject( - any='fuga', - bigint=662505, - bigint_str=380729, + any='quaerat', + bigint=162954, + bigint_str=831520, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2460.63'), + decimal=Decimal('6387.62'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, int_enum=shared.SimpleObjectIntEnum.SECOND, int_opt_null=999999, num=1.1, @@ -1782,19 +1762,19 @@ s = sdk.SDK( ) req = shared.SimpleObjectCamelCase( - any_val='recusandae', - bigint_str_val=517309, - bigint_val=853940, + any_val='officia', + bigint_str_val=989410, + bigint_val=368102, bool_opt_val=True, bool_val=True, date_time_val=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), date_val=dateutil.parser.parse('2020-01-01').date(), - decimal_val=Decimal('4240.89'), + decimal_val=Decimal('653.04'), enum_val=shared.EnumT.TWO, float32_val=2.2222222, - int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, + int32_enum_val=shared.SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, int32_val=1, - int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.SECOND, + int_enum_val=shared.SimpleObjectCamelCaseIntEnumVal.THIRD, int_opt_null_val=999999, int_val=999999, num_opt_null_val=1.1, @@ -1840,19 +1820,19 @@ s = sdk.SDK( req = operations.RequestBodyPostComplexNumberTypesRequest( complex_number_types=shared.ComplexNumberTypes( - bigint=427834, - bigint_str=287051, - decimal=Decimal('8225.6'), - decimal_str=Decimal('7065.75'), + bigint=801836, + bigint_str=288398, + decimal=Decimal('704.47'), + decimal_str=Decimal('2414.18'), ), - path_big_int=738227, - path_big_int_str=414857, - path_decimal=Decimal('4471.44'), - path_decimal_str=Decimal('3605.45'), - query_big_int=968904, - query_big_int_str=828657, - query_decimal=Decimal('3631.61'), - query_decimal_str=Decimal('9249.67'), + path_big_int=683573, + path_big_int_str=662505, + path_decimal=Decimal('3807.29'), + path_decimal_str=Decimal('2460.63'), + query_big_int=633931, + query_big_int_str=665859, + query_decimal=Decimal('9268.8'), + query_decimal_str=Decimal('5173.09'), ) res = s.request_bodies.request_body_post_complex_number_types(req) @@ -1892,34 +1872,34 @@ s = sdk.SDK( ) req = shared.DefaultsAndConsts( - const_big_int=397533, - const_big_int_str=46007, + const_big_int=853940, + const_big_int_str=424089, const_bool=False, - const_date=dateutil.parser.parse('2022-07-15').date(), - const_date_time=dateutil.parser.isoparse('2022-08-26T18:58:12.703Z'), - const_decimal=Decimal('9372.85'), - const_decimal_str=Decimal('8149.67'), - const_enum_int=shared.DefaultsAndConstsConstEnumInt.ONE, - const_enum_str=shared.DefaultsAndConstsConstEnumStr.THREE, - const_int=381760, - const_num=9689.72, - const_str='quidem', - const_str_null='saepe', - default_big_int=897071, - default_big_int_str=296556, + const_date=dateutil.parser.parse('2022-06-12').date(), + const_date_time=dateutil.parser.isoparse('2022-09-18T05:25:42.565Z'), + const_decimal=Decimal('8225.6'), + const_decimal_str=Decimal('7065.75'), + const_enum_int=shared.DefaultsAndConstsConstEnumInt.THREE, + const_enum_str=shared.DefaultsAndConstsConstEnumStr.TWO, + const_int=447144, + const_num=3605.45, + const_str='reiciendis', + const_str_null='assumenda', + default_big_int=363161, + default_big_int_str=924967, default_bool=False, - default_date=dateutil.parser.parse('2022-01-03').date(), - default_date_time=dateutil.parser.isoparse('2022-10-01T23:04:48.771Z'), - default_decimal=Decimal('2282.63'), - default_decimal_str=Decimal('1059.06'), - default_enum_int=shared.DefaultsAndConstsDefaultEnumInt.TWO, + default_date=dateutil.parser.parse('2022-12-15').date(), + default_date_time=dateutil.parser.isoparse('2022-07-15T04:22:29.679Z'), + default_decimal=Decimal('4490.83'), + default_decimal_str=Decimal('3485.19'), + default_enum_int=shared.DefaultsAndConstsDefaultEnumInt.THREE, default_enum_str=shared.DefaultsAndConstsDefaultEnumStr.THREE, - default_int=891523, - default_num=2334.2, - default_str='corporis', - default_str_nullable='harum', - default_str_optional='laboriosam', - normal_field='ipsa', + default_int=257233, + default_num=9854.92, + default_str='suscipit', + default_str_nullable='reiciendis', + default_str_optional='quidem', + normal_field='saepe', single_enum_const_bool=False, single_enum_const_str=shared.DefaultsAndConstsSingleEnumConstStr.ONE, ) @@ -2000,23 +1980,23 @@ s = sdk.SDK( ) req = shared.DeepObject( - any='libero', + any=[], arr=[ shared.SimpleObject( - any='vitae', - bigint=881721, - bigint_str=631126, + any='necessitatibus', + bigint=296556, + bigint_str=121059, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2724.37'), + decimal=Decimal('9920.12'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.SECOND, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -2025,23 +2005,23 @@ req = shared.DeepObject( ), ], bool=False, - int=374244, + int=228263, map={ - "voluptas": shared.SimpleObject( - any='minima', - bigint=748789, - bigint_str=680116, + "beatae": shared.SimpleObject( + any='dignissimos', + bigint=950953, + bigint_str=891523, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('2378.07'), + decimal=Decimal('2334.2'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -2049,16 +2029,16 @@ req = shared.DeepObject( str_opt='optional example', ), }, - num=5039.34, + num=3852.37, obj=shared.SimpleObject( - any='in', - bigint=296242, - bigint_str=304468, + any='ipsa', + bigint=916727, + bigint_str=730709, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('8859.63'), + decimal=Decimal('1138.16'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -2071,8 +2051,8 @@ req = shared.DeepObject( str_='example', str_opt='optional example', ), - str_='adipisci', - type='cum', + str_='tempora', + type='aspernatur', ) res = s.request_bodies.request_body_post_form_deep(req) @@ -2110,7 +2090,7 @@ s = sdk.SDK( ) req = { - "blanditiis": 'quas', + "voluptas": 'voluptas', } res = s.request_bodies.request_body_post_form_map_primitive(req) @@ -2150,20 +2130,20 @@ s = sdk.SDK( ) req = shared.SimpleObject( - any='hic', - bigint=201517, - bigint_str=633998, + any='voluptas', + bigint=324405, + bigint_str=748789, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('5485.19'), + decimal=Decimal('6801.16'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.SECOND, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -2206,7 +2186,7 @@ s = sdk.SDK( ) req = [ - 940210, + 171853, ] res = s.request_bodies.request_body_post_json_data_types_array_big_int(req) @@ -2244,7 +2224,7 @@ s = sdk.SDK( ) req = [ - dateutil.parser.parse('2022-04-01').date(), + dateutil.parser.parse('2022-02-07').date(), ] res = s.request_bodies.request_body_post_json_data_types_array_date(req) @@ -2282,7 +2262,7 @@ s = sdk.SDK( ) req = [ - Decimal('246.19'), + Decimal('2962.42'), ] res = s.request_bodies.request_body_post_json_data_types_array_decimal_str(req) @@ -2319,7 +2299,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 699575 +req = 304468 res = s.request_bodies.request_body_post_json_data_types_big_int(req) @@ -2355,7 +2335,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 148829 +req = 885963 res = s.request_bodies.request_body_post_json_data_types_big_int_str(req) @@ -2427,7 +2407,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = dateutil.parser.parse('2022-08-09').date() +req = dateutil.parser.parse('2021-12-11').date() res = s.request_bodies.request_body_post_json_data_types_date(req) @@ -2463,7 +2443,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = dateutil.parser.isoparse('2020-11-16T19:55:44.497Z') +req = dateutil.parser.isoparse('2022-04-06T11:42:02.049Z') res = s.request_bodies.request_body_post_json_data_types_date_time(req) @@ -2499,7 +2479,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = Decimal('4518.22') +req = Decimal('5023.89') res = s.request_bodies.request_body_post_json_data_types_decimal(req) @@ -2535,7 +2515,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = Decimal('7090.72') +req = Decimal('5553.61') res = s.request_bodies.request_body_post_json_data_types_decimal_str(req) @@ -2571,7 +2551,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 708.69 +req = 9425.84 res = s.request_bodies.request_body_post_json_data_types_float32(req) @@ -2607,7 +2587,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 611749 +req = 201517 res = s.request_bodies.request_body_post_json_data_types_int32(req) @@ -2643,7 +2623,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 292794 +req = 633998 res = s.request_bodies.request_body_post_json_data_types_integer(req) @@ -2680,7 +2660,7 @@ s = sdk.SDK( ) req = { - "laborum": 152354, + "corrupti": 867290, } res = s.request_bodies.request_body_post_json_data_types_map_big_int_str(req) @@ -2718,7 +2698,7 @@ s = sdk.SDK( ) req = { - "in": dateutil.parser.isoparse('2022-04-21T22:21:50.112Z'), + "totam": dateutil.parser.isoparse('2021-12-15T01:59:29.520Z'), } res = s.request_bodies.request_body_post_json_data_types_map_date_time(req) @@ -2756,7 +2736,7 @@ s = sdk.SDK( ) req = { - "explicabo": Decimal('3783.26'), + "nobis": Decimal('246.19'), } res = s.request_bodies.request_body_post_json_data_types_map_decimal(req) @@ -2793,7 +2773,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 6041.18 +req = 6995.75 res = s.request_bodies.request_body_post_json_data_types_number(req) @@ -2829,7 +2809,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 'architecto' +req = 'sed' res = s.request_bodies.request_body_post_json_data_types_string(req) @@ -2868,20 +2848,20 @@ s = sdk.SDK( ) req = shared.SimpleObject( - any='suscipit', - bigint=960257, - bigint_str=895386, + any='reiciendis', + bigint=131852, + bigint_str=994401, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('724.34'), + decimal=Decimal('7079.18'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.FIRST, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -2925,8 +2905,8 @@ s = sdk.SDK( req = operations.RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON( bool=False, - num=5468.85, - str_='maiores', + num=708.69, + str_='iste', ) res = s.request_bodies.request_body_post_multiple_content_types_inline_filtered(req) @@ -2966,9 +2946,9 @@ s = sdk.SDK( res = s.request_bodies.request_body_post_multiple_content_types_split_param_form(request_body=operations.RequestBodyPostMultipleContentTypesSplitParamApplicationXWwwFormUrlencoded( bool3=False, - num3=2748.23, - str3='sed', -), param_str='provident') + num3=2927.94, + str3='laborum', +), param_str='sed') if res.res is not None: # handle response @@ -3006,9 +2986,9 @@ s = sdk.SDK( res = s.request_bodies.request_body_post_multiple_content_types_split_param_json(request_body=operations.RequestBodyPostMultipleContentTypesSplitParamApplicationJSON( bool=False, - num=2587.02, - str_='necessitatibus', -), param_str='ipsum') + num=4475.16, + str_='commodi', +), param_str='quidem') if res.res is not None: # handle response @@ -3046,9 +3026,9 @@ s = sdk.SDK( res = s.request_bodies.request_body_post_multiple_content_types_split_param_multipart(request_body=operations.RequestBodyPostMultipleContentTypesSplitParamMultipartFormData( bool2=False, - num2=4067.33, - str2='occaecati', -), param_str='quos') + num2=1312.89, + str2='voluptas', +), param_str='unde') if res.res is not None: # handle response @@ -3085,8 +3065,8 @@ s = sdk.SDK( req = operations.RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded( bool3=False, - num3=9757.52, - str3='tempora', + num3=1000.32, + str3='suscipit', ) res = s.request_bodies.request_body_post_multiple_content_types_split_form(req) @@ -3125,8 +3105,8 @@ s = sdk.SDK( req = operations.RequestBodyPostMultipleContentTypesSplitApplicationJSON( bool=False, - num=2730.09, - str_='voluptate', + num=9602.57, + str_='debitis', ) res = s.request_bodies.request_body_post_multiple_content_types_split_json(req) @@ -3165,8 +3145,8 @@ s = sdk.SDK( req = operations.RequestBodyPostMultipleContentTypesSplitMultipartFormData( bool2=False, - num2=9700.76, - str2='ex', + num2=724.34, + str2='reiciendis', ) res = s.request_bodies.request_body_post_multiple_content_types_split_multipart(req) @@ -3203,7 +3183,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 'sit' +req = 'perferendis' res = s.request_bodies.request_body_post_not_nullable_not_required_string_body(req) @@ -3240,7 +3220,7 @@ s = sdk.SDK( ) req = [ - 'non', + 'corrupti', ] res = s.request_bodies.request_body_post_null_array(req) @@ -3278,7 +3258,7 @@ s = sdk.SDK( ) req = { - "officiis": 'praesentium', + "maiores": 'incidunt', } res = s.request_bodies.request_body_post_null_dictionary(req) @@ -3315,7 +3295,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 'facilis' +req = 'sed' res = s.request_bodies.request_body_post_nullable_not_required_string_body(req) @@ -3351,7 +3331,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 'quaerat' +req = 'provident' res = s.request_bodies.request_body_post_nullable_required_string_body(req) @@ -3387,7 +3367,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 'incidunt'.encode() +req = 'eius'.encode() res = s.request_bodies.request_body_put_bytes(req) @@ -3424,7 +3404,7 @@ s = sdk.SDK( ) -res = s.request_bodies.request_body_put_bytes_with_params(request_body='ipsam'.encode(), query_string_param='debitis') +res = s.request_bodies.request_body_put_bytes_with_params(request_body='necessitatibus'.encode(), query_string_param='ipsum') if res.res is not None: # handle response @@ -3462,23 +3442,23 @@ s = sdk.SDK( ) req = shared.DeepObject( - any='sit', + any=[], arr=[ shared.SimpleObject( - any='nobis', - bigint=625637, - bigint_str=333507, + any='ea', + bigint=579912, + bigint_str=552078, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('3295.43'), + decimal=Decimal('9757.52'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -3487,17 +3467,17 @@ req = shared.DeepObject( ), ], bool=False, - int=862319, + int=455444, map={ - "magni": shared.SimpleObject( - any='aperiam', - bigint=901483, - bigint_str=253642, + "reiciendis": shared.SimpleObject( + any='ex', + bigint=25497, + bigint_str=248413, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('3299.35'), + decimal=Decimal('8880.44'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -3511,21 +3491,21 @@ req = shared.DeepObject( str_opt='optional example', ), }, - num=1046.27, + num=3103.81, obj=shared.SimpleObject( - any='laudantium', - bigint=348476, - bigint_str=510629, + any='incidunt', + bigint=373035, + bigint_str=894864, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('7400.98'), + decimal=Decimal('5249.7'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, @@ -3533,8 +3513,8 @@ req = shared.DeepObject( str_='example', str_opt='optional example', ), - str_='voluptatum', - type='error', + str_='error', + type='veniam', ) res = s.request_bodies.request_body_put_multipart_deep(req) @@ -3573,8 +3553,8 @@ s = sdk.SDK( req = operations.RequestBodyPutMultipartFileRequestBody( file=operations.RequestBodyPutMultipartFileRequestBodyFile( - content='hic'.encode(), - file='expedita', + content='minima'.encode(), + file='recusandae', ), ) @@ -3615,20 +3595,20 @@ s = sdk.SDK( ) req = shared.SimpleObject( - any='debitis', - bigint=204923, - bigint_str=677115, + any='reiciendis', + bigint=862319, + bigint_str=168576, bool=True, bool_opt=True, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('3416.98'), + decimal=Decimal('486.9'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.THIRD, + int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, + int_enum=shared.SimpleObjectIntEnum.FIRST, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -3670,7 +3650,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 'corrupti' +req = 'veniam' res = s.request_bodies.request_body_put_string(req) @@ -3707,7 +3687,7 @@ s = sdk.SDK( ) -res = s.request_bodies.request_body_put_string_with_params(request_body='accusamus', query_string_param='tempora') +res = s.request_bodies.request_body_put_string_with_params(request_body='in', query_string_param='officiis') if res.res is not None: # handle response @@ -3743,9 +3723,9 @@ s = sdk.SDK( ) req = shared.ReadWriteObjectInput( - num1=543678, - num2=148268, - num3=282699, + num1=104627, + num2=512452, + num3=348476, ) res = s.request_bodies.request_body_read_and_write(req) @@ -3822,7 +3802,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.ReadOnlyObjectInput() +req = [] res = s.request_bodies.request_body_read_only_union(req) @@ -3832,10 +3812,10 @@ if res.weakly_typed_one_of_read_only_object is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//input.md) | :heavy_check_mark: | The request object to use for the request. | -| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `request` | [Union[shared.SimpleObject, shared.ReadOnlyObjectInput]](../../models/shared/weaklytypedoneofreadonlyobjectinput.md) | :heavy_check_mark: | The request object to use for the request. | +| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | ### Response @@ -3861,27 +3841,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.SimpleObject( - any='culpa', - bigint=710337, - bigint_str=299643, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('78.84'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.SECOND, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', -) +req = [] res = s.request_bodies.request_body_read_write_only_union(req) @@ -3891,10 +3851,10 @@ if res.weakly_typed_one_of_read_write_object is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//input.md) | :heavy_check_mark: | The request object to use for the request. | -| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `request` | [Union[shared.SimpleObject, shared.ReadWriteObjectInput]](../../models/shared/weaklytypedoneofreadwriteobjectinput.md) | :heavy_check_mark: | The request object to use for the request. | +| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | ### Response @@ -3920,8 +3880,8 @@ s = sdk.SDK( req = shared.WriteOnlyObject( bool=False, - num=245.27, - string='voluptatum', + num=5106.29, + string='cum', ) res = s.request_bodies.request_body_write_only(req) @@ -3961,8 +3921,8 @@ s = sdk.SDK( req = shared.WriteOnlyObject( bool=False, - num=5580.65, - string='repudiandae', + num=3868.27, + string='dolorum', ) res = s.request_bodies.request_body_write_only_output(req) @@ -4002,27 +3962,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.SimpleObject( - any='et', - bigint=502710, - bigint_str=405942, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('1536.27'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.SECOND, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', -) +req = [] res = s.request_bodies.request_body_write_only_union(req) @@ -4032,10 +3972,10 @@ if res.weakly_typed_one_of_write_only_object is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | -| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `request` | [Union[shared.SimpleObject, shared.WriteOnlyObject]](../../models/shared/weaklytypedoneofwriteonlyobject.md) | :heavy_check_mark: | The request object to use for the request. | +| `server_url` | *Optional[str]* | :heavy_minus_sign: | An optional server URL to use. | ### Response diff --git a/python-client-sdk/docs/sdks/resource/README.md b/python-client-sdk/docs/sdks/resource/README.md index e63cf5163..72ab5990d 100755 --- a/python-client-sdk/docs/sdks/resource/README.md +++ b/python-client-sdk/docs/sdks/resource/README.md @@ -27,8 +27,8 @@ s = sdk.SDK( req = operations.CreateFileRequestBody( file=operations.CreateFileRequestBodyFile( - content='nostrum'.encode(), - file='saepe', + content='voluptatum'.encode(), + file='error', ), ) @@ -69,35 +69,29 @@ s = sdk.SDK( req = shared.ExampleResource( array_of_number=[ - 6222.31, + 9447.08, ], array_of_string=[ - 'consequatur', + 'expedita', ], chocolates=[ shared.ExampleResourceChocolates( - description='incidunt', + description='debitis', ), ], - created_at=dateutil.parser.isoparse('2022-05-16T07:46:15.799Z'), - enum_number=shared.ExampleResourceEnumNumber.THREE, - enum_str=shared.ExampleResourceEnumStr.ONE, - id='194b8abf-603a-479f-9dfe-0ab7da8a50ce', + created_at=dateutil.parser.isoparse('2022-04-28T20:28:39.956Z'), + enum_number=shared.ExampleResourceEnumNumber.TWO, + enum_str=shared.ExampleResourceEnumStr.TWO, + id='a8e4824d-0ab4-4075-888e-51862065e904', map_of_integer={ - "quasi": 542457, + "reiciendis": 209750, }, map_of_string={ - "reprehenderit": 'asperiores', + "harum": 'dicta', }, - name='Sam Powlowski IV', - updated_at=dateutil.parser.isoparse('2022-03-05T05:01:11.294Z'), - vehicle=shared.ExampleBoat( - created_at=dateutil.parser.isoparse('2021-10-02T23:52:38.012Z'), - length=8872.65, - name='Tomas Mosciski', - type=shared.ExampleBoatType.BOAT, - updated_at=dateutil.parser.isoparse('2022-01-08T02:07:04.894Z'), - ), + name='Violet Greenfelder', + updated_at=dateutil.parser.isoparse('2021-07-21T08:55:46.635Z'), + vehicle=[], ) res = s.resource.create_resource(req) @@ -135,7 +129,7 @@ s = sdk.SDK( ) -res = s.resource.delete_resource(resource_id='corrupti') +res = s.resource.delete_resource(resource_id='tenetur') if res.status_code == 200: # handle response @@ -170,7 +164,7 @@ s = sdk.SDK( ) -res = s.resource.get_resource(resource_id='at') +res = s.resource.get_resource(resource_id='laboriosam') if res.example_resource is not None: # handle response @@ -205,7 +199,7 @@ s = sdk.SDK( ) -res = s.resource.update_resource(resource_id='error') +res = s.resource.update_resource(resource_id='alias') if res.status_code == 200: # handle response diff --git a/python-client-sdk/docs/sdks/responsebodies/README.md b/python-client-sdk/docs/sdks/responsebodies/README.md index 96284cf98..6a0115fd3 100755 --- a/python-client-sdk/docs/sdks/responsebodies/README.md +++ b/python-client-sdk/docs/sdks/responsebodies/README.md @@ -35,7 +35,7 @@ s = sdk.SDK( ) req = { - "blanditiis": 379356, + "amet": 647197, } res = s.response_bodies.response_body_additional_properties_complex_numbers_post(req) @@ -73,7 +73,7 @@ s = sdk.SDK( ) req = { - "repudiandae": dateutil.parser.parse('2021-12-01').date(), + "voluptate": dateutil.parser.parse('2021-01-21').date(), } res = s.response_bodies.response_body_additional_properties_date_post(req) @@ -111,7 +111,7 @@ s = sdk.SDK( ) req = { - "sunt": 'recusandae', + "provident": 'repellendus', } res = s.response_bodies.response_body_additional_properties_post(req) @@ -178,7 +178,7 @@ s = sdk.SDK( ) -res = s.response_bodies.response_body_empty_with_headers(x_number_header=6806.97, x_string_header='repellendus') +res = s.response_bodies.response_body_empty_with_headers(x_number_header=9627.71, x_string_header='voluptates') if res.status_code == 200: # handle response @@ -344,11 +344,11 @@ s = sdk.SDK( ) req = shared.ObjWithZeroValueComplexTypePtrs( - bigint=287119, - bigint_str=968287, + bigint=16871, + bigint_str=667285, date_=dateutil.parser.parse('2020-01-01').date(), date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('429.76'), + decimal=Decimal('6964.83'), ) res = s.response_bodies.response_body_zero_value_complex_type_ptrs_post(req) diff --git a/python-client-sdk/docs/sdks/retries/README.md b/python-client-sdk/docs/sdks/retries/README.md index 421acc642..9ba83cfc5 100755 --- a/python-client-sdk/docs/sdks/retries/README.md +++ b/python-client-sdk/docs/sdks/retries/README.md @@ -26,7 +26,7 @@ s = sdk.SDK( ) -res = s.retries.retries_get(request_id='repudiandae', num_retries=116098) +res = s.retries.retries_get(request_id='reprehenderit', num_retries=813679) if res.retries is not None: # handle response diff --git a/python-client-sdk/docs/sdks/telemetry/README.md b/python-client-sdk/docs/sdks/telemetry/README.md index 5e918e6e3..42fd297ee 100755 --- a/python-client-sdk/docs/sdks/telemetry/README.md +++ b/python-client-sdk/docs/sdks/telemetry/README.md @@ -27,7 +27,7 @@ s = sdk.SDK( ) -res = s.telemetry.telemetry_speakeasy_user_agent_get(user_agent='accusantium') +res = s.telemetry.telemetry_speakeasy_user_agent_get(user_agent='fuga') if res.res is not None: # handle response diff --git a/python-client-sdk/docs/sdks/unions/README.md b/python-client-sdk/docs/sdks/unions/README.md index da006aac2..06b8f5724 100755 --- a/python-client-sdk/docs/sdks/unions/README.md +++ b/python-client-sdk/docs/sdks/unions/README.md @@ -37,7 +37,7 @@ s = sdk.SDK( req = shared.TypedObject1( type=shared.TypedObject1Type.OBJ1, - value='beatae', + value='praesentium', ) res = s.unions.flattened_typed_object_post(req) @@ -76,7 +76,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = 'enim' +req = [] res = s.unions.mixed_type_one_of_post(req) @@ -86,9 +86,9 @@ if res.res is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `request` | [Union[str, int, shared.SimpleObject]](../../models/operations/mixedtypeoneofpostrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -115,15 +115,12 @@ s = sdk.SDK( req = shared.NullableOneOfRefInObject( nullable_one_of_one=shared.TypedObject1( type=shared.TypedObject1Type.OBJ1, - value='laboriosam', - ), - nullable_one_of_two=shared.TypedObject1( - type=shared.TypedObject1Type.OBJ1, - value='a', + value='mollitia', ), + nullable_one_of_two=[], one_of_one=shared.TypedObject1( type=shared.TypedObject1Type.OBJ1, - value='molestias', + value='veniam', ), ) @@ -161,10 +158,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.TypedObject1( - type=shared.TypedObject1Type.OBJ1, - value='saepe', -) +req = [] res = s.unions.nullable_one_of_schema_post(req) @@ -174,9 +168,9 @@ if res.res is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `request` | [Union[shared.TypedObject1, shared.TypedObject2]](../../models/operations/nullableoneofschemapostrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -202,7 +196,7 @@ s = sdk.SDK( req = shared.NullableOneOfTypeInObject( nullable_one_of_one=False, - nullable_one_of_two=False, + nullable_one_of_two=[], one_of_one=False, ) @@ -242,7 +236,7 @@ s = sdk.SDK( req = shared.TypedObject1( type=shared.TypedObject1Type.OBJ1, - value='occaecati', + value='voluptatem', ) res = s.unions.nullable_typed_object_post(req) @@ -279,7 +273,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = False +req = [] res = s.unions.primitive_type_one_of_post(req) @@ -289,9 +283,9 @@ if res.res is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------- | +| `request` | [Union[str, int, float, bool]](../../models/operations/primitivetypeoneofpostrequestbody.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -317,101 +311,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.DeepObjectWithType( - any=shared.SimpleObject( - any='adipisci', - bigint=907876, - bigint_str=580887, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('1602.3'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.SECOND, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - arr=[ - shared.SimpleObject( - any='quis', - bigint=440264, - bigint_str=625528, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('764.86'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.THIRD, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - ], - bool=False, - int=910994, - map={ - "non": shared.SimpleObject( - any='vero', - bigint=39615, - bigint_str=434156, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('599.44'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.FIRST, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - }, - num=4746.68, - obj=shared.SimpleObject( - any='eveniet', - bigint=184362, - bigint_str=739884, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('4347.61'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, - int_enum=shared.SimpleObjectIntEnum.FIRST, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - str_='laborum', - type='distinctio', -) +req = [] res = s.unions.strongly_typed_one_of_post(req) @@ -421,9 +321,9 @@ if res.res is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `request` | [Union[shared.SimpleObjectWithType, shared.DeepObjectWithType]](../../models/shared/stronglytypedoneofobject.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -447,10 +347,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.TypedObject2( - type=shared.TypedObject2Type.OBJ2, - value='rem', -) +req = [] res = s.unions.typed_object_nullable_one_of_post(req) @@ -460,9 +357,9 @@ if res.res is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `request` | [Union[shared.TypedObject1, shared.TypedObject2]](../../models/shared/typedobjectnullableoneof.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -486,10 +383,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.TypedObject1( - type=shared.TypedObject1Type.OBJ1, - value='ad', -) +req = [] res = s.unions.typed_object_one_of_post(req) @@ -499,9 +393,9 @@ if res.res is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `request` | [Union[shared.TypedObject1, shared.TypedObject2, shared.TypedObject3]](../../models/shared/typedobjectoneof.md) | :heavy_check_mark: | The request object to use for the request. | ### Response @@ -527,101 +421,7 @@ s = sdk.SDK( global_query_param='some example global query param', ) -req = shared.DeepObject( - any=shared.SimpleObject( - any='corporis', - bigint=597303, - bigint_str=470649, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('6490.78'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.FIRST, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - arr=[ - shared.SimpleObject( - any='maiores', - bigint=970222, - bigint_str=174658, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('6638.66'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, - int_enum=shared.SimpleObjectIntEnum.FIRST, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - ], - bool=False, - int=680349, - map={ - "nesciunt": shared.SimpleObject( - any='quae', - bigint=925703, - bigint_str=607249, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('3092.51'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.SECOND, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - }, - num=2840, - obj=shared.SimpleObject( - any='culpa', - bigint=238413, - bigint_str=890653, - bool=True, - bool_opt=True, - date_=dateutil.parser.parse('2020-01-01').date(), - date_time=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal=Decimal('5145.13'), - enum=shared.EnumT.TWO, - float32=2.2222222, - int=999999, - int32=1, - int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, - int_enum=shared.SimpleObjectIntEnum.SECOND, - int_opt_null=999999, - num=1.1, - num_opt_null=1.1, - str_='example', - str_opt='optional example', - ), - str_='recusandae', - type='esse', -) +req = [] res = s.unions.weakly_typed_one_of_post(req) @@ -631,9 +431,9 @@ if res.res is not None: ### Parameters -| Parameter | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `request` | [Any](../../models//.md) | :heavy_check_mark: | The request object to use for the request. | +| Parameter | Type | Required | Description | +| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | +| `request` | [Union[shared.SimpleObject, shared.DeepObject]](../../models/shared/weaklytypedoneofobject.md) | :heavy_check_mark: | The request object to use for the request. | ### Response diff --git a/python-client-sdk/files.gen b/python-client-sdk/files.gen index 45bae589c..1f5d134c7 100755 --- a/python-client-sdk/files.gen +++ b/python-client-sdk/files.gen @@ -46,6 +46,7 @@ tests/test_response_bodies.py tests/test_retries.py tests/test_servers.py tests/test_telemetry.py +tests/test_unions.py ../../testprojects/python/pylintrc ../../testprojects/python/setup.py src/sdk/models/operations/apikeyauth.py @@ -716,16 +717,22 @@ docs/models/operations/telemetryuseragentgetres.md docs/models/operations/telemetryuseragentgetresponse.md docs/models/operations/flattenedtypedobjectpostres.md docs/models/operations/flattenedtypedobjectpostresponse.md +docs/models/operations/mixedtypeoneofpostrequestbody.md +docs/models/operations/mixedtypeoneofpostresjson.md docs/models/operations/mixedtypeoneofpostres.md docs/models/operations/mixedtypeoneofpostresponse.md docs/models/operations/nullableoneofrefinobjectpostres.md docs/models/operations/nullableoneofrefinobjectpostresponse.md +docs/models/operations/nullableoneofschemapostrequestbody.md +docs/models/operations/nullableoneofschemapostresjson.md docs/models/operations/nullableoneofschemapostres.md docs/models/operations/nullableoneofschemapostresponse.md docs/models/operations/nullableoneoftypeinobjectpostres.md docs/models/operations/nullableoneoftypeinobjectpostresponse.md docs/models/operations/nullabletypedobjectpostres.md docs/models/operations/nullabletypedobjectpostresponse.md +docs/models/operations/primitivetypeoneofpostrequestbody.md +docs/models/operations/primitivetypeoneofpostresjson.md docs/models/operations/primitivetypeoneofpostres.md docs/models/operations/primitivetypeoneofpostresponse.md docs/models/operations/stronglytypedoneofpostres.md @@ -759,6 +766,7 @@ docs/models/shared/httpbinsimplejsonobject.md docs/models/shared/limitoffsetconfig.md docs/models/shared/refqueryparamobjexploded.md docs/models/shared/refqueryparamobj.md +docs/models/shared/deepobjectany.md docs/models/shared/deepobject.md docs/models/shared/nullableobject.md docs/models/shared/simpleobjectcamelcaseint32enumval.md @@ -766,6 +774,7 @@ docs/models/shared/simpleobjectcamelcaseintenumval.md docs/models/shared/simpleobjectcamelcase.md docs/models/shared/arrobjvalue.md docs/models/shared/arrobjvaluecamelcase.md +docs/models/shared/deepobjectcamelcaseanyval.md docs/models/shared/deepobjectcamelcase.md docs/models/shared/mapobjvalue.md docs/models/shared/mapobjvaluecamelcase.md @@ -785,13 +794,20 @@ docs/models/shared/readwriteobjectinput.md docs/models/shared/readwriteobjectoutput.md docs/models/shared/readonlyobject.md docs/models/shared/readonlyobjectinput.md +docs/models/shared/weaklytypedoneofreadonlyobject.md +docs/models/shared/weaklytypedoneofreadonlyobjectinput.md +docs/models/shared/weaklytypedoneofreadwriteobjectoutput.md +docs/models/shared/weaklytypedoneofreadwriteobjectinput.md docs/models/shared/writeonlyobject.md docs/models/shared/writeonlyobjectoutput.md +docs/models/shared/weaklytypedoneofwriteonlyobjectoutput.md +docs/models/shared/weaklytypedoneofwriteonlyobject.md docs/models/shared/fileresource.md docs/models/shared/exampleresourcechocolates.md docs/models/shared/exampleresourceenumnumber.md docs/models/shared/exampleresourceenumstr.md docs/models/shared/exampleresource.md +docs/models/shared/examplevehicle.md docs/models/shared/exampleboattype.md docs/models/shared/exampleboat.md docs/models/shared/examplecartype.md @@ -799,17 +815,25 @@ docs/models/shared/examplecar.md docs/models/shared/typedobject1type.md docs/models/shared/typedobject1.md docs/models/shared/objwithzerovaluecomplextypeptrs.md +docs/models/shared/nullableoneofrefinobjectnullableoneoftwo.md docs/models/shared/nullableoneofrefinobject.md docs/models/shared/typedobject2type.md docs/models/shared/typedobject2.md +docs/models/shared/nullableoneoftypeinobjectnullableoneoftwo.md docs/models/shared/nullableoneoftypeinobject.md +docs/models/shared/stronglytypedoneofobject.md docs/models/shared/simpleobjectwithtypeint32enum.md docs/models/shared/simpleobjectwithtypeintenum.md docs/models/shared/simpleobjectwithtype.md +docs/models/shared/deepobjectwithtypeany.md docs/models/shared/deepobjectwithtype.md +docs/models/shared/typedobjectnullableoneof.md +docs/models/shared/typedobjectoneof.md docs/models/shared/typedobject3type.md docs/models/shared/typedobject3.md +docs/models/shared/weaklytypedoneofobject.md docs/models/shared/alloftoallof.md +docs/models/shared/primitivetypeunion.md docs/models/shared/unsupportedenums.md docs/models/errors/error.md docs/models/errors/statusgetxspeakeasyerrors501applicationjson.md diff --git a/python-client-sdk/gen.yaml b/python-client-sdk/gen.yaml index cc716f3e3..d57a46c10 100755 --- a/python-client-sdk/gen.yaml +++ b/python-client-sdk/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 438034cce53a2da9414d89b820102ba8 + docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 docVersion: 0.1.0 - speakeasyVersion: 1.91.1 - generationVersion: 2.130.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: SDK singleTagPerOp: false @@ -30,7 +30,7 @@ features: retries: 2.82.0 serverIDs: 2.81.1 python: - version: 1.34.1 + version: 1.34.2 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 65666ce7c..1e7bd15b3 100755 --- a/python-client-sdk/setup.py +++ b/python-client-sdk/setup.py @@ -10,7 +10,7 @@ setuptools.setup( name="openapi", - version="1.34.1", + version="1.34.2", author="Speakeasy", description="Python Client SDK Generated by Speakeasy", long_description=long_description, @@ -19,7 +19,7 @@ install_requires=[ "certifi>=2022.12.7", "charset-normalizer>=2.1.1", - "dataclasses-json>=0.5.12", + "dataclasses-json>=0.6.1", "idna>=3.3", "jsonpath-python>=1.0.6 ", "marshmallow>=3.17.1", diff --git a/python-client-sdk/src/sdk/models/operations/__init__.py b/python-client-sdk/src/sdk/models/operations/__init__.py index e13e99f7e..3dab1112e 100755 --- a/python-client-sdk/src/sdk/models/operations/__init__.py +++ b/python-client-sdk/src/sdk/models/operations/__init__.py @@ -196,4 +196,4 @@ from .usageexamplepost import * from .weaklytypedoneofpost import * -__all__ = ["APIKeyAuthGlobalNewResponse","APIKeyAuthGlobalResponse","APIKeyAuthGlobalToken","APIKeyAuthResponse","APIKeyAuthSecurity","APIKeyAuthToken","AnchorTypesGetResponse","AuthGlobalResponse","BasicAuthNewResponse","BasicAuthNewSecurity","BasicAuthRequest","BasicAuthResponse","BasicAuthSecurity","BasicAuthUser","BearerAuthResponse","BearerAuthSecurity","BearerAuthToken","CircularReferenceGetResponse","ComponentBodyAndParamConflictRequest","ComponentBodyAndParamConflictRes","ComponentBodyAndParamConflictResponse","ComponentBodyAndParamNoConflictRequest","ComponentBodyAndParamNoConflictRes","ComponentBodyAndParamNoConflictResponse","ConflictingParamsRequest","ConflictingParamsRes","ConflictingParamsResponse","ConnectionErrorGetResponse","CreateFileRequestBody","CreateFileRequestBodyFile","CreateFileResponse","CreateResourceResponse","DeepObjectQueryParamsMapRequest","DeepObjectQueryParamsMapRes","DeepObjectQueryParamsMapResponse","DeepObjectQueryParamsObjectObjArrParam","DeepObjectQueryParamsObjectRequest","DeepObjectQueryParamsObjectRes","DeepObjectQueryParamsObjectResArgs","DeepObjectQueryParamsObjectResponse","DeleteResourceRequest","DeleteResourceResponse","DeprecatedFieldInSchemaPostResponse","DeprecatedObjectInSchemaGet200ApplicationJSON","DeprecatedObjectInSchemaGetResponse","DeprecatedOperationNoCommentsGetRequest","DeprecatedOperationNoCommentsGetResponse","DeprecatedOperationWithCommentsGetRequest","DeprecatedOperationWithCommentsGetResponse","DuplicateParamDuplicateParamResponse","DuplicateParamRequest","DuplicateParamResponse","EmptyObjectGetRequest","EmptyObjectGetResponse","EmptyResponseObjectWithCommentGet200ApplicationOctetStream","EmptyResponseObjectWithCommentGetResponse","FlattenedTypedObjectPostRes","FlattenedTypedObjectPostResponse","FormQueryParamsArrayRequest","FormQueryParamsArrayRes","FormQueryParamsArrayResArgs","FormQueryParamsArrayResponse","FormQueryParamsMapRequest","FormQueryParamsMapRes","FormQueryParamsMapResponse","FormQueryParamsObjectRequest","FormQueryParamsObjectRes","FormQueryParamsObjectResArgs","FormQueryParamsObjectResponse","FormQueryParamsPrimitiveRequest","FormQueryParamsPrimitiveRes","FormQueryParamsPrimitiveResArgs","FormQueryParamsPrimitiveResponse","FormQueryParamsRefParamObjectRequest","FormQueryParamsRefParamObjectRes","FormQueryParamsRefParamObjectResArgs","FormQueryParamsRefParamObjectResponse","GetDocumentationPerLanguageRequest","GetDocumentationPerLanguageResponse","GetGlobalNameOverride200ApplicationJSON","GetGlobalNameOverrideResponse","GetResourceRequest","GetResourceResponse","GlobalBearerAuthResponse","GlobalBearerAuthToken","GlobalPathParameterGetRequest","GlobalPathParameterGetRes","GlobalPathParameterGetResponse","GlobalsQueryParameterGetRequest","GlobalsQueryParameterGetRes","GlobalsQueryParameterGetResArgs","GlobalsQueryParameterGetResponse","GroupFirstGetResponse","GroupSecondGetResponse","HeaderParamsArrayRequest","HeaderParamsArrayRes","HeaderParamsArrayResHeaders","HeaderParamsArrayResponse","HeaderParamsMapRequest","HeaderParamsMapRes","HeaderParamsMapResHeaders","HeaderParamsMapResponse","HeaderParamsObjectRequest","HeaderParamsObjectRes","HeaderParamsObjectResHeaders","HeaderParamsObjectResponse","HeaderParamsPrimitiveRequest","HeaderParamsPrimitiveRes","HeaderParamsPrimitiveResHeaders","HeaderParamsPrimitiveResponse","IgnoredGenerationGet200ApplicationJSON","IgnoredGenerationGetResponse","IgnoresPostApplicationJSON","IgnoresPostRequest","IgnoresPostResponse","InlineBodyAndParamConflictRequest","InlineBodyAndParamConflictRequestBody","InlineBodyAndParamConflictRes","InlineBodyAndParamConflictResJSON","InlineBodyAndParamConflictResponse","InlineBodyAndParamNoConflictRequest","InlineBodyAndParamNoConflictRequestBody","InlineBodyAndParamNoConflictRes","InlineBodyAndParamNoConflictResJSON","InlineBodyAndParamNoConflictResponse","JSONQueryParamsObjectRequest","JSONQueryParamsObjectRes","JSONQueryParamsObjectResArgs","JSONQueryParamsObjectResponse","MixedParametersCamelCaseRequest","MixedParametersCamelCaseRes","MixedParametersCamelCaseResArgs","MixedParametersCamelCaseResHeaders","MixedParametersCamelCaseResponse","MixedParametersPrimitivesRequest","MixedParametersPrimitivesRes","MixedParametersPrimitivesResArgs","MixedParametersPrimitivesResHeaders","MixedParametersPrimitivesResponse","MixedQueryParamsRequest","MixedQueryParamsRes","MixedQueryParamsResponse","MixedTypeOneOfPostRes","MixedTypeOneOfPostResponse","MultipleMixedOptionsAuthResponse","MultipleMixedOptionsAuthSecurity","MultipleMixedSchemeAuthResponse","MultipleMixedSchemeAuthSecurity","MultipleOptionsWithMixedSchemesAuthResponse","MultipleOptionsWithMixedSchemesAuthSecurity","MultipleOptionsWithMixedSchemesAuthSecurityOption1","MultipleOptionsWithMixedSchemesAuthSecurityOption2","MultipleOptionsWithSimpleSchemesAuthResponse","MultipleOptionsWithSimpleSchemesAuthSecurity","MultipleOptionsWithSimpleSchemesAuthSecurityOption1","MultipleOptionsWithSimpleSchemesAuthSecurityOption2","MultipleSimpleOptionsAuthResponse","MultipleSimpleOptionsAuthSecurity","MultipleSimpleSchemeAuthResponse","MultipleSimpleSchemeAuthSecurity","NameOverrideGetEnumNameOverride","NameOverrideGetRequest","NameOverrideGetResponse","NestFirstGetResponse","NestedFirstGetResponse","NestedGetResponse","NestedSecondGetResponse","NullableObjectPostRes","NullableObjectPostResponse","NullableOneOfRefInObjectPostRes","NullableOneOfRefInObjectPostResponse","NullableOneOfSchemaPostRes","NullableOneOfSchemaPostResponse","NullableOneOfTypeInObjectPostRes","NullableOneOfTypeInObjectPostResponse","NullableRequiredEmptyObjectPostRequestBody","NullableRequiredEmptyObjectPostRequestBodyNullableOptionalObj","NullableRequiredEmptyObjectPostRequestBodyNullableRequiredObj","NullableRequiredEmptyObjectPostRequestBodyRequiredObj","NullableRequiredEmptyObjectPostResponse","NullableRequiredPropertyPostRequestBody","NullableRequiredPropertyPostRequestBodyNullableRequiredEnum","NullableRequiredPropertyPostResponse","NullableRequiredSharedObjectPostRequestBody","NullableRequiredSharedObjectPostResponse","NullableTypedObjectPostRes","NullableTypedObjectPostResponse","Oauth2AuthNewResponse","Oauth2AuthNewSecurity","Oauth2AuthResponse","Oauth2AuthSecurity","Oauth2AuthToken","Oauth2OverrideRequest","Oauth2OverrideResponse","Oauth2OverrideSecurity","Oauth2OverrideToken","OpenIDConnectAuthNewResponse","OpenIDConnectAuthNewSecurity","OpenIDConnectAuthResponse","OpenIDConnectAuthSecurity","OpenIDConnectAuthToken","OverriddenResponse","PaginationCursorBodyRequestBody","PaginationCursorBodyRes","PaginationCursorBodyResponse","PaginationCursorParamsRequest","PaginationCursorParamsRes","PaginationCursorParamsResponse","PaginationLimitOffsetOffsetBodyRes","PaginationLimitOffsetOffsetBodyResponse","PaginationLimitOffsetOffsetParamsRequest","PaginationLimitOffsetOffsetParamsRes","PaginationLimitOffsetOffsetParamsResponse","PaginationLimitOffsetPageBodyRes","PaginationLimitOffsetPageBodyResponse","PaginationLimitOffsetPageParamsRequest","PaginationLimitOffsetPageParamsRes","PaginationLimitOffsetPageParamsResponse","PathParameterJSONRequest","PathParameterJSONRes","PathParameterJSONResponse","PipeDelimitedQueryParamsArrayRequest","PipeDelimitedQueryParamsArrayRes","PipeDelimitedQueryParamsArrayResArgs","PipeDelimitedQueryParamsArrayResponse","PrimitiveTypeOneOfPostRes","PrimitiveTypeOneOfPostResponse","PutAnythingIgnoredGeneration200ApplicationJSON","PutAnythingIgnoredGenerationResponse","RequestBodyPostApplicationJSONArrayCamelCaseResponse","RequestBodyPostApplicationJSONArrayObjCamelCaseResponse","RequestBodyPostApplicationJSONArrayObjResponse","RequestBodyPostApplicationJSONArrayOfArrayCamelCaseResponse","RequestBodyPostApplicationJSONArrayOfArrayOfPrimitiveResponse","RequestBodyPostApplicationJSONArrayOfArrayResponse","RequestBodyPostApplicationJSONArrayOfMapCamelCaseResponse","RequestBodyPostApplicationJSONArrayOfMapResponse","RequestBodyPostApplicationJSONArrayOfPrimitiveResponse","RequestBodyPostApplicationJSONArrayResponse","RequestBodyPostApplicationJSONDeepCamelCaseRes","RequestBodyPostApplicationJSONDeepCamelCaseResponse","RequestBodyPostApplicationJSONDeepRes","RequestBodyPostApplicationJSONDeepResponse","RequestBodyPostApplicationJSONMapCamelCaseResponse","RequestBodyPostApplicationJSONMapObjCamelCaseResponse","RequestBodyPostApplicationJSONMapObjResponse","RequestBodyPostApplicationJSONMapOfArrayCamelCaseResponse","RequestBodyPostApplicationJSONMapOfArrayResponse","RequestBodyPostApplicationJSONMapOfMapCamelCaseResponse","RequestBodyPostApplicationJSONMapOfMapOfPrimitiveResponse","RequestBodyPostApplicationJSONMapOfMapResponse","RequestBodyPostApplicationJSONMapOfPrimitiveResponse","RequestBodyPostApplicationJSONMapResponse","RequestBodyPostApplicationJSONMultipleJSONFilteredRes","RequestBodyPostApplicationJSONMultipleJSONFilteredResponse","RequestBodyPostApplicationJSONSimpleCamelCaseRes","RequestBodyPostApplicationJSONSimpleCamelCaseResponse","RequestBodyPostApplicationJSONSimpleRes","RequestBodyPostApplicationJSONSimpleResponse","RequestBodyPostComplexNumberTypes200ApplicationJSON","RequestBodyPostComplexNumberTypesRequest","RequestBodyPostComplexNumberTypesResponse","RequestBodyPostDefaultsAndConsts200ApplicationJSON","RequestBodyPostDefaultsAndConstsResponse","RequestBodyPostEmptyObject200ApplicationJSON","RequestBodyPostEmptyObject200ApplicationJSONEmpty","RequestBodyPostEmptyObject200ApplicationJSONEmptyRespWithEmptyProperies","RequestBodyPostEmptyObjectRequestBody","RequestBodyPostEmptyObjectRequestBodyEmpty","RequestBodyPostEmptyObjectRequestBodyEmptyWithEmptyProperties","RequestBodyPostEmptyObjectResponse","RequestBodyPostFormDeepRes","RequestBodyPostFormDeepResForm","RequestBodyPostFormDeepResponse","RequestBodyPostFormMapPrimitiveRes","RequestBodyPostFormMapPrimitiveResponse","RequestBodyPostFormSimpleRes","RequestBodyPostFormSimpleResForm","RequestBodyPostFormSimpleResponse","RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON","RequestBodyPostJSONDataTypesArrayBigIntResponse","RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON","RequestBodyPostJSONDataTypesArrayDateResponse","RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON","RequestBodyPostJSONDataTypesArrayDecimalStrResponse","RequestBodyPostJSONDataTypesBigInt200ApplicationJSON","RequestBodyPostJSONDataTypesBigIntResponse","RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON","RequestBodyPostJSONDataTypesBigIntStrResponse","RequestBodyPostJSONDataTypesBoolean200ApplicationJSON","RequestBodyPostJSONDataTypesBooleanResponse","RequestBodyPostJSONDataTypesDate200ApplicationJSON","RequestBodyPostJSONDataTypesDateResponse","RequestBodyPostJSONDataTypesDateTime200ApplicationJSON","RequestBodyPostJSONDataTypesDateTimeResponse","RequestBodyPostJSONDataTypesDecimal200ApplicationJSON","RequestBodyPostJSONDataTypesDecimalResponse","RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON","RequestBodyPostJSONDataTypesDecimalStrResponse","RequestBodyPostJSONDataTypesFloat32200ApplicationJSON","RequestBodyPostJSONDataTypesFloat32Response","RequestBodyPostJSONDataTypesInt32200ApplicationJSON","RequestBodyPostJSONDataTypesInt32Response","RequestBodyPostJSONDataTypesInteger200ApplicationJSON","RequestBodyPostJSONDataTypesIntegerResponse","RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON","RequestBodyPostJSONDataTypesMapBigIntStrResponse","RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON","RequestBodyPostJSONDataTypesMapDateTimeResponse","RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON","RequestBodyPostJSONDataTypesMapDecimalResponse","RequestBodyPostJSONDataTypesNumber200ApplicationJSON","RequestBodyPostJSONDataTypesNumberResponse","RequestBodyPostJSONDataTypesString200ApplicationJSON","RequestBodyPostJSONDataTypesStringResponse","RequestBodyPostMultipleContentTypesComponentFilteredRes","RequestBodyPostMultipleContentTypesComponentFilteredResponse","RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON","RequestBodyPostMultipleContentTypesInlineFilteredRes","RequestBodyPostMultipleContentTypesInlineFilteredResponse","RequestBodyPostMultipleContentTypesSplitApplicationJSON","RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded","RequestBodyPostMultipleContentTypesSplitFormRes","RequestBodyPostMultipleContentTypesSplitFormResponse","RequestBodyPostMultipleContentTypesSplitJSONRes","RequestBodyPostMultipleContentTypesSplitJSONResponse","RequestBodyPostMultipleContentTypesSplitMultipartFormData","RequestBodyPostMultipleContentTypesSplitMultipartRes","RequestBodyPostMultipleContentTypesSplitMultipartResponse","RequestBodyPostMultipleContentTypesSplitParamApplicationJSON","RequestBodyPostMultipleContentTypesSplitParamApplicationXWwwFormUrlencoded","RequestBodyPostMultipleContentTypesSplitParamFormRequest","RequestBodyPostMultipleContentTypesSplitParamFormRes","RequestBodyPostMultipleContentTypesSplitParamFormResponse","RequestBodyPostMultipleContentTypesSplitParamJSONRequest","RequestBodyPostMultipleContentTypesSplitParamJSONRes","RequestBodyPostMultipleContentTypesSplitParamJSONResponse","RequestBodyPostMultipleContentTypesSplitParamMultipartFormData","RequestBodyPostMultipleContentTypesSplitParamMultipartRequest","RequestBodyPostMultipleContentTypesSplitParamMultipartRes","RequestBodyPostMultipleContentTypesSplitParamMultipartResponse","RequestBodyPostNotNullableNotRequiredStringBody200ApplicationJSON","RequestBodyPostNotNullableNotRequiredStringBodyResponse","RequestBodyPostNullArray200ApplicationJSON","RequestBodyPostNullArrayResponse","RequestBodyPostNullDictionary200ApplicationJSON","RequestBodyPostNullDictionaryResponse","RequestBodyPostNullableNotRequiredStringBody200ApplicationJSON","RequestBodyPostNullableNotRequiredStringBodyResponse","RequestBodyPostNullableRequiredStringBody200ApplicationJSON","RequestBodyPostNullableRequiredStringBodyResponse","RequestBodyPutBytesRes","RequestBodyPutBytesResponse","RequestBodyPutBytesWithParamsRequest","RequestBodyPutBytesWithParamsRes","RequestBodyPutBytesWithParamsResArgs","RequestBodyPutBytesWithParamsResponse","RequestBodyPutMultipartDeepRes","RequestBodyPutMultipartDeepResForm","RequestBodyPutMultipartDeepResponse","RequestBodyPutMultipartFileRequestBody","RequestBodyPutMultipartFileRequestBodyFile","RequestBodyPutMultipartFileRes","RequestBodyPutMultipartFileResponse","RequestBodyPutMultipartSimpleRes","RequestBodyPutMultipartSimpleResForm","RequestBodyPutMultipartSimpleResponse","RequestBodyPutStringRes","RequestBodyPutStringResponse","RequestBodyPutStringWithParamsRequest","RequestBodyPutStringWithParamsRes","RequestBodyPutStringWithParamsResArgs","RequestBodyPutStringWithParamsResponse","RequestBodyReadAndWriteResponse","RequestBodyReadOnlyInputResponse","RequestBodyReadOnlyUnionResponse","RequestBodyReadWriteOnlyUnionResponse","RequestBodyWriteOnlyOutputResponse","RequestBodyWriteOnlyResponse","RequestBodyWriteOnlyUnionResponse","ResponseBodyAdditionalPropertiesComplexNumbersPost200ApplicationJSON","ResponseBodyAdditionalPropertiesComplexNumbersPostResponse","ResponseBodyAdditionalPropertiesDatePost200ApplicationJSON","ResponseBodyAdditionalPropertiesDatePostResponse","ResponseBodyAdditionalPropertiesPost200ApplicationJSON","ResponseBodyAdditionalPropertiesPostResponse","ResponseBodyBytesGetResponse","ResponseBodyEmptyWithHeadersRequest","ResponseBodyEmptyWithHeadersResponse","ResponseBodyJSONGetResponse","ResponseBodyOptionalGetResponse","ResponseBodyReadOnlyResponse","ResponseBodyStringGetResponse","ResponseBodyXMLGetResponse","ResponseBodyZeroValueComplexTypePtrsPost200ApplicationJSON","ResponseBodyZeroValueComplexTypePtrsPostResponse","RetriesGetRequest","RetriesGetResponse","RetriesGetRetries","SelectGlobalServerResponse","SelectServerWithIDResponse","ServerWithProtocolTemplateResponse","ServerWithTemplatesGlobalResponse","ServerWithTemplatesResponse","ServersByIDWithTemplatesResponse","SimplePathParameterArraysRequest","SimplePathParameterArraysRes","SimplePathParameterArraysResponse","SimplePathParameterMapsRequest","SimplePathParameterMapsRes","SimplePathParameterMapsResponse","SimplePathParameterObjectsRequest","SimplePathParameterObjectsRes","SimplePathParameterObjectsResponse","SimplePathParameterPrimitivesRequest","SimplePathParameterPrimitivesRes","SimplePathParameterPrimitivesResponse","StatusGetErrorRequest","StatusGetErrorResponse","StatusGetXSpeakeasyErrorsRequest","StatusGetXSpeakeasyErrorsResponse","StronglyTypedOneOfPostRes","StronglyTypedOneOfPostResponse","TelemetrySpeakeasyUserAgentGetRequest","TelemetrySpeakeasyUserAgentGetRes","TelemetrySpeakeasyUserAgentGetResponse","TelemetryUserAgentGetRes","TelemetryUserAgentGetResponse","TypeFromAnchor","TypedObjectNullableOneOfPostRes","TypedObjectNullableOneOfPostResponse","TypedObjectOneOfPostRes","TypedObjectOneOfPostResponse","TypedParameterGenerationGetObj","TypedParameterGenerationGetRequest","TypedParameterGenerationGetResponse","UpdateResourceRequest","UpdateResourceResponse","UsageExamplePost200ApplicationJSON","UsageExamplePost200ApplicationJSONJSON","UsageExamplePostEnumParameter","UsageExamplePostOptEnumParameter","UsageExamplePostRequest","UsageExamplePostRequestBody","UsageExamplePostResponse","UsageExamplePostSecurity","WeaklyTypedOneOfPostRes","WeaklyTypedOneOfPostResponse","API_KEY_AUTH_GLOBAL_NEW_SERVERS","AUTH_GLOBAL_SERVERS","BASIC_AUTH_NEW_SERVERS","CONNECTION_ERROR_GET_SERVERS","MULTIPLE_MIXED_OPTIONS_AUTH_SERVERS","MULTIPLE_MIXED_SCHEME_AUTH_SERVERS","MULTIPLE_OPTIONS_WITH_MIXED_SCHEMES_AUTH_SERVERS","MULTIPLE_OPTIONS_WITH_SIMPLE_SCHEMES_AUTH_SERVERS","MULTIPLE_SIMPLE_OPTIONS_AUTH_SERVERS","MULTIPLE_SIMPLE_SCHEME_AUTH_SERVERS","OAUTH2_AUTH_NEW_SERVERS","OPEN_ID_CONNECT_AUTH_NEW_SERVERS","PAGINATION_CURSOR_BODY_SERVERS","PAGINATION_CURSOR_PARAMS_SERVERS","PAGINATION_LIMIT_OFFSET_OFFSET_BODY_SERVERS","PAGINATION_LIMIT_OFFSET_OFFSET_PARAMS_SERVERS","PAGINATION_LIMIT_OFFSET_PAGE_BODY_SERVERS","PAGINATION_LIMIT_OFFSET_PAGE_PARAMS_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_ARRAY_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_ARRAY_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_ARRAY_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_MAP_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_MAP_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_ARRAY_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_ARRAY_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_MAP_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_MAP_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_MAP_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_SERVERS","REQUEST_BODY_READ_AND_WRITE_SERVERS","REQUEST_BODY_READ_ONLY_INPUT_SERVERS","REQUEST_BODY_READ_ONLY_UNION_SERVERS","REQUEST_BODY_READ_WRITE_ONLY_UNION_SERVERS","REQUEST_BODY_WRITE_ONLY_OUTPUT_SERVERS","REQUEST_BODY_WRITE_ONLY_SERVERS","REQUEST_BODY_WRITE_ONLY_UNION_SERVERS","RESPONSE_BODY_OPTIONAL_GET_SERVERS","RESPONSE_BODY_READ_ONLY_SERVERS","RETRIES_GET_SERVERS","SELECT_SERVER_WITH_ID_SERVERS","SELECT_SERVER_WITH_ID_SERVER_BROKEN","SELECT_SERVER_WITH_ID_SERVER_VALID","SERVERS_BY_ID_WITH_TEMPLATES_SERVERS","SERVERS_BY_ID_WITH_TEMPLATES_SERVER_MAIN","SERVER_WITH_PROTOCOL_TEMPLATE_SERVERS","SERVER_WITH_PROTOCOL_TEMPLATE_SERVER_MAIN","SERVER_WITH_TEMPLATES_SERVERS","STATUS_GET_X_SPEAKEASY_ERRORS_SERVERS"] +__all__ = ["APIKeyAuthGlobalNewResponse","APIKeyAuthGlobalResponse","APIKeyAuthGlobalToken","APIKeyAuthResponse","APIKeyAuthSecurity","APIKeyAuthToken","AnchorTypesGetResponse","AuthGlobalResponse","BasicAuthNewResponse","BasicAuthNewSecurity","BasicAuthRequest","BasicAuthResponse","BasicAuthSecurity","BasicAuthUser","BearerAuthResponse","BearerAuthSecurity","BearerAuthToken","CircularReferenceGetResponse","ComponentBodyAndParamConflictRequest","ComponentBodyAndParamConflictRes","ComponentBodyAndParamConflictResponse","ComponentBodyAndParamNoConflictRequest","ComponentBodyAndParamNoConflictRes","ComponentBodyAndParamNoConflictResponse","ConflictingParamsRequest","ConflictingParamsRes","ConflictingParamsResponse","ConnectionErrorGetResponse","CreateFileRequestBody","CreateFileRequestBodyFile","CreateFileResponse","CreateResourceResponse","DeepObjectQueryParamsMapRequest","DeepObjectQueryParamsMapRes","DeepObjectQueryParamsMapResponse","DeepObjectQueryParamsObjectObjArrParam","DeepObjectQueryParamsObjectRequest","DeepObjectQueryParamsObjectRes","DeepObjectQueryParamsObjectResArgs","DeepObjectQueryParamsObjectResponse","DeleteResourceRequest","DeleteResourceResponse","DeprecatedFieldInSchemaPostResponse","DeprecatedObjectInSchemaGet200ApplicationJSON","DeprecatedObjectInSchemaGetResponse","DeprecatedOperationNoCommentsGetRequest","DeprecatedOperationNoCommentsGetResponse","DeprecatedOperationWithCommentsGetRequest","DeprecatedOperationWithCommentsGetResponse","DuplicateParamDuplicateParamResponse","DuplicateParamRequest","DuplicateParamResponse","EmptyObjectGetRequest","EmptyObjectGetResponse","EmptyResponseObjectWithCommentGet200ApplicationOctetStream","EmptyResponseObjectWithCommentGetResponse","FlattenedTypedObjectPostRes","FlattenedTypedObjectPostResponse","FormQueryParamsArrayRequest","FormQueryParamsArrayRes","FormQueryParamsArrayResArgs","FormQueryParamsArrayResponse","FormQueryParamsMapRequest","FormQueryParamsMapRes","FormQueryParamsMapResponse","FormQueryParamsObjectRequest","FormQueryParamsObjectRes","FormQueryParamsObjectResArgs","FormQueryParamsObjectResponse","FormQueryParamsPrimitiveRequest","FormQueryParamsPrimitiveRes","FormQueryParamsPrimitiveResArgs","FormQueryParamsPrimitiveResponse","FormQueryParamsRefParamObjectRequest","FormQueryParamsRefParamObjectRes","FormQueryParamsRefParamObjectResArgs","FormQueryParamsRefParamObjectResponse","GetDocumentationPerLanguageRequest","GetDocumentationPerLanguageResponse","GetGlobalNameOverride200ApplicationJSON","GetGlobalNameOverrideResponse","GetResourceRequest","GetResourceResponse","GlobalBearerAuthResponse","GlobalBearerAuthToken","GlobalPathParameterGetRequest","GlobalPathParameterGetRes","GlobalPathParameterGetResponse","GlobalsQueryParameterGetRequest","GlobalsQueryParameterGetRes","GlobalsQueryParameterGetResArgs","GlobalsQueryParameterGetResponse","GroupFirstGetResponse","GroupSecondGetResponse","HeaderParamsArrayRequest","HeaderParamsArrayRes","HeaderParamsArrayResHeaders","HeaderParamsArrayResponse","HeaderParamsMapRequest","HeaderParamsMapRes","HeaderParamsMapResHeaders","HeaderParamsMapResponse","HeaderParamsObjectRequest","HeaderParamsObjectRes","HeaderParamsObjectResHeaders","HeaderParamsObjectResponse","HeaderParamsPrimitiveRequest","HeaderParamsPrimitiveRes","HeaderParamsPrimitiveResHeaders","HeaderParamsPrimitiveResponse","IgnoredGenerationGet200ApplicationJSON","IgnoredGenerationGetResponse","IgnoresPostApplicationJSON","IgnoresPostRequest","IgnoresPostResponse","InlineBodyAndParamConflictRequest","InlineBodyAndParamConflictRequestBody","InlineBodyAndParamConflictRes","InlineBodyAndParamConflictResJSON","InlineBodyAndParamConflictResponse","InlineBodyAndParamNoConflictRequest","InlineBodyAndParamNoConflictRequestBody","InlineBodyAndParamNoConflictRes","InlineBodyAndParamNoConflictResJSON","InlineBodyAndParamNoConflictResponse","JSONQueryParamsObjectRequest","JSONQueryParamsObjectRes","JSONQueryParamsObjectResArgs","JSONQueryParamsObjectResponse","MixedParametersCamelCaseRequest","MixedParametersCamelCaseRes","MixedParametersCamelCaseResArgs","MixedParametersCamelCaseResHeaders","MixedParametersCamelCaseResponse","MixedParametersPrimitivesRequest","MixedParametersPrimitivesRes","MixedParametersPrimitivesResArgs","MixedParametersPrimitivesResHeaders","MixedParametersPrimitivesResponse","MixedQueryParamsRequest","MixedQueryParamsRes","MixedQueryParamsResponse","MixedTypeOneOfPostRequestBody","MixedTypeOneOfPostRes","MixedTypeOneOfPostResJSON","MixedTypeOneOfPostResponse","MultipleMixedOptionsAuthResponse","MultipleMixedOptionsAuthSecurity","MultipleMixedSchemeAuthResponse","MultipleMixedSchemeAuthSecurity","MultipleOptionsWithMixedSchemesAuthResponse","MultipleOptionsWithMixedSchemesAuthSecurity","MultipleOptionsWithMixedSchemesAuthSecurityOption1","MultipleOptionsWithMixedSchemesAuthSecurityOption2","MultipleOptionsWithSimpleSchemesAuthResponse","MultipleOptionsWithSimpleSchemesAuthSecurity","MultipleOptionsWithSimpleSchemesAuthSecurityOption1","MultipleOptionsWithSimpleSchemesAuthSecurityOption2","MultipleSimpleOptionsAuthResponse","MultipleSimpleOptionsAuthSecurity","MultipleSimpleSchemeAuthResponse","MultipleSimpleSchemeAuthSecurity","NameOverrideGetEnumNameOverride","NameOverrideGetRequest","NameOverrideGetResponse","NestFirstGetResponse","NestedFirstGetResponse","NestedGetResponse","NestedSecondGetResponse","NullableObjectPostRes","NullableObjectPostResponse","NullableOneOfRefInObjectPostRes","NullableOneOfRefInObjectPostResponse","NullableOneOfSchemaPostRequestBody","NullableOneOfSchemaPostRes","NullableOneOfSchemaPostResJSON","NullableOneOfSchemaPostResponse","NullableOneOfTypeInObjectPostRes","NullableOneOfTypeInObjectPostResponse","NullableRequiredEmptyObjectPostRequestBody","NullableRequiredEmptyObjectPostRequestBodyNullableOptionalObj","NullableRequiredEmptyObjectPostRequestBodyNullableRequiredObj","NullableRequiredEmptyObjectPostRequestBodyRequiredObj","NullableRequiredEmptyObjectPostResponse","NullableRequiredPropertyPostRequestBody","NullableRequiredPropertyPostRequestBodyNullableRequiredEnum","NullableRequiredPropertyPostResponse","NullableRequiredSharedObjectPostRequestBody","NullableRequiredSharedObjectPostResponse","NullableTypedObjectPostRes","NullableTypedObjectPostResponse","Oauth2AuthNewResponse","Oauth2AuthNewSecurity","Oauth2AuthResponse","Oauth2AuthSecurity","Oauth2AuthToken","Oauth2OverrideRequest","Oauth2OverrideResponse","Oauth2OverrideSecurity","Oauth2OverrideToken","OpenIDConnectAuthNewResponse","OpenIDConnectAuthNewSecurity","OpenIDConnectAuthResponse","OpenIDConnectAuthSecurity","OpenIDConnectAuthToken","OverriddenResponse","PaginationCursorBodyRequestBody","PaginationCursorBodyRes","PaginationCursorBodyResponse","PaginationCursorParamsRequest","PaginationCursorParamsRes","PaginationCursorParamsResponse","PaginationLimitOffsetOffsetBodyRes","PaginationLimitOffsetOffsetBodyResponse","PaginationLimitOffsetOffsetParamsRequest","PaginationLimitOffsetOffsetParamsRes","PaginationLimitOffsetOffsetParamsResponse","PaginationLimitOffsetPageBodyRes","PaginationLimitOffsetPageBodyResponse","PaginationLimitOffsetPageParamsRequest","PaginationLimitOffsetPageParamsRes","PaginationLimitOffsetPageParamsResponse","PathParameterJSONRequest","PathParameterJSONRes","PathParameterJSONResponse","PipeDelimitedQueryParamsArrayRequest","PipeDelimitedQueryParamsArrayRes","PipeDelimitedQueryParamsArrayResArgs","PipeDelimitedQueryParamsArrayResponse","PrimitiveTypeOneOfPostRequestBody","PrimitiveTypeOneOfPostRes","PrimitiveTypeOneOfPostResJSON","PrimitiveTypeOneOfPostResponse","PutAnythingIgnoredGeneration200ApplicationJSON","PutAnythingIgnoredGenerationResponse","RequestBodyPostApplicationJSONArrayCamelCaseResponse","RequestBodyPostApplicationJSONArrayObjCamelCaseResponse","RequestBodyPostApplicationJSONArrayObjResponse","RequestBodyPostApplicationJSONArrayOfArrayCamelCaseResponse","RequestBodyPostApplicationJSONArrayOfArrayOfPrimitiveResponse","RequestBodyPostApplicationJSONArrayOfArrayResponse","RequestBodyPostApplicationJSONArrayOfMapCamelCaseResponse","RequestBodyPostApplicationJSONArrayOfMapResponse","RequestBodyPostApplicationJSONArrayOfPrimitiveResponse","RequestBodyPostApplicationJSONArrayResponse","RequestBodyPostApplicationJSONDeepCamelCaseRes","RequestBodyPostApplicationJSONDeepCamelCaseResponse","RequestBodyPostApplicationJSONDeepRes","RequestBodyPostApplicationJSONDeepResponse","RequestBodyPostApplicationJSONMapCamelCaseResponse","RequestBodyPostApplicationJSONMapObjCamelCaseResponse","RequestBodyPostApplicationJSONMapObjResponse","RequestBodyPostApplicationJSONMapOfArrayCamelCaseResponse","RequestBodyPostApplicationJSONMapOfArrayResponse","RequestBodyPostApplicationJSONMapOfMapCamelCaseResponse","RequestBodyPostApplicationJSONMapOfMapOfPrimitiveResponse","RequestBodyPostApplicationJSONMapOfMapResponse","RequestBodyPostApplicationJSONMapOfPrimitiveResponse","RequestBodyPostApplicationJSONMapResponse","RequestBodyPostApplicationJSONMultipleJSONFilteredRes","RequestBodyPostApplicationJSONMultipleJSONFilteredResponse","RequestBodyPostApplicationJSONSimpleCamelCaseRes","RequestBodyPostApplicationJSONSimpleCamelCaseResponse","RequestBodyPostApplicationJSONSimpleRes","RequestBodyPostApplicationJSONSimpleResponse","RequestBodyPostComplexNumberTypes200ApplicationJSON","RequestBodyPostComplexNumberTypesRequest","RequestBodyPostComplexNumberTypesResponse","RequestBodyPostDefaultsAndConsts200ApplicationJSON","RequestBodyPostDefaultsAndConstsResponse","RequestBodyPostEmptyObject200ApplicationJSON","RequestBodyPostEmptyObject200ApplicationJSONEmpty","RequestBodyPostEmptyObject200ApplicationJSONEmptyRespWithEmptyProperies","RequestBodyPostEmptyObjectRequestBody","RequestBodyPostEmptyObjectRequestBodyEmpty","RequestBodyPostEmptyObjectRequestBodyEmptyWithEmptyProperties","RequestBodyPostEmptyObjectResponse","RequestBodyPostFormDeepRes","RequestBodyPostFormDeepResForm","RequestBodyPostFormDeepResponse","RequestBodyPostFormMapPrimitiveRes","RequestBodyPostFormMapPrimitiveResponse","RequestBodyPostFormSimpleRes","RequestBodyPostFormSimpleResForm","RequestBodyPostFormSimpleResponse","RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON","RequestBodyPostJSONDataTypesArrayBigIntResponse","RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON","RequestBodyPostJSONDataTypesArrayDateResponse","RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON","RequestBodyPostJSONDataTypesArrayDecimalStrResponse","RequestBodyPostJSONDataTypesBigInt200ApplicationJSON","RequestBodyPostJSONDataTypesBigIntResponse","RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON","RequestBodyPostJSONDataTypesBigIntStrResponse","RequestBodyPostJSONDataTypesBoolean200ApplicationJSON","RequestBodyPostJSONDataTypesBooleanResponse","RequestBodyPostJSONDataTypesDate200ApplicationJSON","RequestBodyPostJSONDataTypesDateResponse","RequestBodyPostJSONDataTypesDateTime200ApplicationJSON","RequestBodyPostJSONDataTypesDateTimeResponse","RequestBodyPostJSONDataTypesDecimal200ApplicationJSON","RequestBodyPostJSONDataTypesDecimalResponse","RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON","RequestBodyPostJSONDataTypesDecimalStrResponse","RequestBodyPostJSONDataTypesFloat32200ApplicationJSON","RequestBodyPostJSONDataTypesFloat32Response","RequestBodyPostJSONDataTypesInt32200ApplicationJSON","RequestBodyPostJSONDataTypesInt32Response","RequestBodyPostJSONDataTypesInteger200ApplicationJSON","RequestBodyPostJSONDataTypesIntegerResponse","RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON","RequestBodyPostJSONDataTypesMapBigIntStrResponse","RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON","RequestBodyPostJSONDataTypesMapDateTimeResponse","RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON","RequestBodyPostJSONDataTypesMapDecimalResponse","RequestBodyPostJSONDataTypesNumber200ApplicationJSON","RequestBodyPostJSONDataTypesNumberResponse","RequestBodyPostJSONDataTypesString200ApplicationJSON","RequestBodyPostJSONDataTypesStringResponse","RequestBodyPostMultipleContentTypesComponentFilteredRes","RequestBodyPostMultipleContentTypesComponentFilteredResponse","RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON","RequestBodyPostMultipleContentTypesInlineFilteredRes","RequestBodyPostMultipleContentTypesInlineFilteredResponse","RequestBodyPostMultipleContentTypesSplitApplicationJSON","RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded","RequestBodyPostMultipleContentTypesSplitFormRes","RequestBodyPostMultipleContentTypesSplitFormResponse","RequestBodyPostMultipleContentTypesSplitJSONRes","RequestBodyPostMultipleContentTypesSplitJSONResponse","RequestBodyPostMultipleContentTypesSplitMultipartFormData","RequestBodyPostMultipleContentTypesSplitMultipartRes","RequestBodyPostMultipleContentTypesSplitMultipartResponse","RequestBodyPostMultipleContentTypesSplitParamApplicationJSON","RequestBodyPostMultipleContentTypesSplitParamApplicationXWwwFormUrlencoded","RequestBodyPostMultipleContentTypesSplitParamFormRequest","RequestBodyPostMultipleContentTypesSplitParamFormRes","RequestBodyPostMultipleContentTypesSplitParamFormResponse","RequestBodyPostMultipleContentTypesSplitParamJSONRequest","RequestBodyPostMultipleContentTypesSplitParamJSONRes","RequestBodyPostMultipleContentTypesSplitParamJSONResponse","RequestBodyPostMultipleContentTypesSplitParamMultipartFormData","RequestBodyPostMultipleContentTypesSplitParamMultipartRequest","RequestBodyPostMultipleContentTypesSplitParamMultipartRes","RequestBodyPostMultipleContentTypesSplitParamMultipartResponse","RequestBodyPostNotNullableNotRequiredStringBody200ApplicationJSON","RequestBodyPostNotNullableNotRequiredStringBodyResponse","RequestBodyPostNullArray200ApplicationJSON","RequestBodyPostNullArrayResponse","RequestBodyPostNullDictionary200ApplicationJSON","RequestBodyPostNullDictionaryResponse","RequestBodyPostNullableNotRequiredStringBody200ApplicationJSON","RequestBodyPostNullableNotRequiredStringBodyResponse","RequestBodyPostNullableRequiredStringBody200ApplicationJSON","RequestBodyPostNullableRequiredStringBodyResponse","RequestBodyPutBytesRes","RequestBodyPutBytesResponse","RequestBodyPutBytesWithParamsRequest","RequestBodyPutBytesWithParamsRes","RequestBodyPutBytesWithParamsResArgs","RequestBodyPutBytesWithParamsResponse","RequestBodyPutMultipartDeepRes","RequestBodyPutMultipartDeepResForm","RequestBodyPutMultipartDeepResponse","RequestBodyPutMultipartFileRequestBody","RequestBodyPutMultipartFileRequestBodyFile","RequestBodyPutMultipartFileRes","RequestBodyPutMultipartFileResponse","RequestBodyPutMultipartSimpleRes","RequestBodyPutMultipartSimpleResForm","RequestBodyPutMultipartSimpleResponse","RequestBodyPutStringRes","RequestBodyPutStringResponse","RequestBodyPutStringWithParamsRequest","RequestBodyPutStringWithParamsRes","RequestBodyPutStringWithParamsResArgs","RequestBodyPutStringWithParamsResponse","RequestBodyReadAndWriteResponse","RequestBodyReadOnlyInputResponse","RequestBodyReadOnlyUnionResponse","RequestBodyReadWriteOnlyUnionResponse","RequestBodyWriteOnlyOutputResponse","RequestBodyWriteOnlyResponse","RequestBodyWriteOnlyUnionResponse","ResponseBodyAdditionalPropertiesComplexNumbersPost200ApplicationJSON","ResponseBodyAdditionalPropertiesComplexNumbersPostResponse","ResponseBodyAdditionalPropertiesDatePost200ApplicationJSON","ResponseBodyAdditionalPropertiesDatePostResponse","ResponseBodyAdditionalPropertiesPost200ApplicationJSON","ResponseBodyAdditionalPropertiesPostResponse","ResponseBodyBytesGetResponse","ResponseBodyEmptyWithHeadersRequest","ResponseBodyEmptyWithHeadersResponse","ResponseBodyJSONGetResponse","ResponseBodyOptionalGetResponse","ResponseBodyReadOnlyResponse","ResponseBodyStringGetResponse","ResponseBodyXMLGetResponse","ResponseBodyZeroValueComplexTypePtrsPost200ApplicationJSON","ResponseBodyZeroValueComplexTypePtrsPostResponse","RetriesGetRequest","RetriesGetResponse","RetriesGetRetries","SelectGlobalServerResponse","SelectServerWithIDResponse","ServerWithProtocolTemplateResponse","ServerWithTemplatesGlobalResponse","ServerWithTemplatesResponse","ServersByIDWithTemplatesResponse","SimplePathParameterArraysRequest","SimplePathParameterArraysRes","SimplePathParameterArraysResponse","SimplePathParameterMapsRequest","SimplePathParameterMapsRes","SimplePathParameterMapsResponse","SimplePathParameterObjectsRequest","SimplePathParameterObjectsRes","SimplePathParameterObjectsResponse","SimplePathParameterPrimitivesRequest","SimplePathParameterPrimitivesRes","SimplePathParameterPrimitivesResponse","StatusGetErrorRequest","StatusGetErrorResponse","StatusGetXSpeakeasyErrorsRequest","StatusGetXSpeakeasyErrorsResponse","StronglyTypedOneOfPostRes","StronglyTypedOneOfPostResponse","TelemetrySpeakeasyUserAgentGetRequest","TelemetrySpeakeasyUserAgentGetRes","TelemetrySpeakeasyUserAgentGetResponse","TelemetryUserAgentGetRes","TelemetryUserAgentGetResponse","TypeFromAnchor","TypedObjectNullableOneOfPostRes","TypedObjectNullableOneOfPostResponse","TypedObjectOneOfPostRes","TypedObjectOneOfPostResponse","TypedParameterGenerationGetObj","TypedParameterGenerationGetRequest","TypedParameterGenerationGetResponse","UpdateResourceRequest","UpdateResourceResponse","UsageExamplePost200ApplicationJSON","UsageExamplePost200ApplicationJSONJSON","UsageExamplePostEnumParameter","UsageExamplePostOptEnumParameter","UsageExamplePostRequest","UsageExamplePostRequestBody","UsageExamplePostResponse","UsageExamplePostSecurity","WeaklyTypedOneOfPostRes","WeaklyTypedOneOfPostResponse","API_KEY_AUTH_GLOBAL_NEW_SERVERS","AUTH_GLOBAL_SERVERS","BASIC_AUTH_NEW_SERVERS","CONNECTION_ERROR_GET_SERVERS","MULTIPLE_MIXED_OPTIONS_AUTH_SERVERS","MULTIPLE_MIXED_SCHEME_AUTH_SERVERS","MULTIPLE_OPTIONS_WITH_MIXED_SCHEMES_AUTH_SERVERS","MULTIPLE_OPTIONS_WITH_SIMPLE_SCHEMES_AUTH_SERVERS","MULTIPLE_SIMPLE_OPTIONS_AUTH_SERVERS","MULTIPLE_SIMPLE_SCHEME_AUTH_SERVERS","OAUTH2_AUTH_NEW_SERVERS","OPEN_ID_CONNECT_AUTH_NEW_SERVERS","PAGINATION_CURSOR_BODY_SERVERS","PAGINATION_CURSOR_PARAMS_SERVERS","PAGINATION_LIMIT_OFFSET_OFFSET_BODY_SERVERS","PAGINATION_LIMIT_OFFSET_OFFSET_PARAMS_SERVERS","PAGINATION_LIMIT_OFFSET_PAGE_BODY_SERVERS","PAGINATION_LIMIT_OFFSET_PAGE_PARAMS_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_ARRAY_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_ARRAY_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_ARRAY_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_MAP_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_MAP_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_ARRAY_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_ARRAY_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_ARRAY_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_MAP_CAMEL_CASE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_MAP_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_MAP_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_OF_PRIMITIVE_SERVERS","REQUEST_BODY_POST_APPLICATION_JSON_MAP_SERVERS","REQUEST_BODY_READ_AND_WRITE_SERVERS","REQUEST_BODY_READ_ONLY_INPUT_SERVERS","REQUEST_BODY_READ_ONLY_UNION_SERVERS","REQUEST_BODY_READ_WRITE_ONLY_UNION_SERVERS","REQUEST_BODY_WRITE_ONLY_OUTPUT_SERVERS","REQUEST_BODY_WRITE_ONLY_SERVERS","REQUEST_BODY_WRITE_ONLY_UNION_SERVERS","RESPONSE_BODY_OPTIONAL_GET_SERVERS","RESPONSE_BODY_READ_ONLY_SERVERS","RETRIES_GET_SERVERS","SELECT_SERVER_WITH_ID_SERVERS","SELECT_SERVER_WITH_ID_SERVER_BROKEN","SELECT_SERVER_WITH_ID_SERVER_VALID","SERVERS_BY_ID_WITH_TEMPLATES_SERVERS","SERVERS_BY_ID_WITH_TEMPLATES_SERVER_MAIN","SERVER_WITH_PROTOCOL_TEMPLATE_SERVERS","SERVER_WITH_PROTOCOL_TEMPLATE_SERVER_MAIN","SERVER_WITH_TEMPLATES_SERVERS","STATUS_GET_X_SPEAKEASY_ERRORS_SERVERS"] diff --git a/python-client-sdk/src/sdk/models/operations/mixedtypeoneofpost.py b/python-client-sdk/src/sdk/models/operations/mixedtypeoneofpost.py index 5b8874d0f..f903c1af9 100755 --- a/python-client-sdk/src/sdk/models/operations/mixedtypeoneofpost.py +++ b/python-client-sdk/src/sdk/models/operations/mixedtypeoneofpost.py @@ -3,9 +3,22 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import simpleobject as shared_simpleobject from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class MixedTypeOneOfPostRequestBody: + pass + + + +@dataclasses.dataclass +class MixedTypeOneOfPostResJSON: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +26,7 @@ @dataclasses.dataclass class MixedTypeOneOfPostRes: r"""OK""" - json: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) + json: Union[str, int, shared_simpleobject.SimpleObject] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/nullableoneofschemapost.py b/python-client-sdk/src/sdk/models/operations/nullableoneofschemapost.py index bbe132573..2f9011a2f 100755 --- a/python-client-sdk/src/sdk/models/operations/nullableoneofschemapost.py +++ b/python-client-sdk/src/sdk/models/operations/nullableoneofschemapost.py @@ -3,9 +3,23 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import typedobject1 as shared_typedobject1 +from ..shared import typedobject2 as shared_typedobject2 from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class NullableOneOfSchemaPostRequestBody: + pass + + + +@dataclasses.dataclass +class NullableOneOfSchemaPostResJSON: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +27,7 @@ @dataclasses.dataclass class NullableOneOfSchemaPostRes: r"""OK""" - json: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) + json: Union[shared_typedobject1.TypedObject1, shared_typedobject2.TypedObject2] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/primitivetypeoneofpost.py b/python-client-sdk/src/sdk/models/operations/primitivetypeoneofpost.py index a8376fc17..f5139047b 100755 --- a/python-client-sdk/src/sdk/models/operations/primitivetypeoneofpost.py +++ b/python-client-sdk/src/sdk/models/operations/primitivetypeoneofpost.py @@ -5,7 +5,19 @@ import requests as requests_http from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class PrimitiveTypeOneOfPostRequestBody: + pass + + + +@dataclasses.dataclass +class PrimitiveTypeOneOfPostResJSON: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +25,7 @@ @dataclasses.dataclass class PrimitiveTypeOneOfPostRes: r"""OK""" - json: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) + json: Union[str, int, float, bool] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.py index a88353a14..eb9bc2dd2 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.py @@ -13,6 +13,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: list[int] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.py index 63fc6196f..4595196d2 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.py @@ -14,6 +14,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: list[date] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.py index 6e53971c9..2358fb733 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.py @@ -14,6 +14,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: list[Decimal] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.py index 5a8b73758..f8e3d1616 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.py @@ -13,6 +13,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesBigInt200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.py index 1143b76c7..21b3f00c0 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.py @@ -13,6 +13,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json'), 'encoder': utils.bigintencoder(False), 'decoder': utils.bigintdecoder }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.py index b7ee80c10..1495eb4b8 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.py @@ -14,6 +14,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesDate200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: date = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json'), 'encoder': utils.dateisoformat(False), 'decoder': utils.datefromisoformat }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.py index 1498aa069..d202da4ee 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.py @@ -15,6 +15,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesDateTime200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: datetime = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json'), 'encoder': utils.datetimeisoformat(False), 'decoder': dateutil.parser.isoparse }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.py index a6e874fee..3efe77f54 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.py @@ -14,6 +14,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesDecimal200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: Decimal = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json'), 'encoder': utils.decimalencoder(False, False), 'decoder': utils.decimaldecoder }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.py index 85f456858..d2f515407 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.py @@ -14,6 +14,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: Decimal = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json'), 'encoder': utils.decimalencoder(False, True), 'decoder': utils.decimaldecoder }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.py index 8b23ec72e..37915df9e 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.py @@ -13,6 +13,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: dict[str, int] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.py index 413d227dd..ee829b46f 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.py @@ -14,6 +14,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: dict[str, datetime] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.py b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.py index 64808d382..d7a885c08 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.py @@ -14,6 +14,7 @@ @dataclasses.dataclass class RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON: r"""OK""" + data: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('data') }}) json: dict[str, Decimal] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/requestbodyreadonlyunion.py b/python-client-sdk/src/sdk/models/operations/requestbodyreadonlyunion.py index 3b63e7ddd..1fb368f5e 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodyreadonlyunion.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodyreadonlyunion.py @@ -3,7 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http -from typing import Any, Optional +from ..shared import readonlyobject as shared_readonlyobject +from ..shared import simpleobject as shared_simpleobject +from typing import Optional, Union REQUEST_BODY_READ_ONLY_UNION_SERVERS = [ "http://localhost:35456", @@ -19,7 +21,7 @@ class RequestBodyReadOnlyUnionResponse: r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) r"""Raw HTTP response; suitable for custom response parsing""" - weakly_typed_one_of_read_only_object: Optional[Any] = dataclasses.field(default=None) + weakly_typed_one_of_read_only_object: Optional[Union[shared_simpleobject.SimpleObject, shared_readonlyobject.ReadOnlyObject]] = dataclasses.field(default=None) r"""OK""" diff --git a/python-client-sdk/src/sdk/models/operations/requestbodyreadwriteonlyunion.py b/python-client-sdk/src/sdk/models/operations/requestbodyreadwriteonlyunion.py index cedcd061f..83620efa0 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodyreadwriteonlyunion.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodyreadwriteonlyunion.py @@ -3,7 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http -from typing import Any, Optional +from ..shared import readwriteobject as shared_readwriteobject +from ..shared import simpleobject as shared_simpleobject +from typing import Optional, Union REQUEST_BODY_READ_WRITE_ONLY_UNION_SERVERS = [ "http://localhost:35456", @@ -19,7 +21,7 @@ class RequestBodyReadWriteOnlyUnionResponse: r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) r"""Raw HTTP response; suitable for custom response parsing""" - weakly_typed_one_of_read_write_object: Optional[Any] = dataclasses.field(default=None) + weakly_typed_one_of_read_write_object: Optional[Union[shared_simpleobject.SimpleObject, shared_readwriteobject.ReadWriteObjectOutput]] = dataclasses.field(default=None) r"""OK""" diff --git a/python-client-sdk/src/sdk/models/operations/requestbodywriteonlyunion.py b/python-client-sdk/src/sdk/models/operations/requestbodywriteonlyunion.py index 05b880eb8..c5658a332 100755 --- a/python-client-sdk/src/sdk/models/operations/requestbodywriteonlyunion.py +++ b/python-client-sdk/src/sdk/models/operations/requestbodywriteonlyunion.py @@ -3,7 +3,9 @@ from __future__ import annotations import dataclasses import requests as requests_http -from typing import Any, Optional +from ..shared import simpleobject as shared_simpleobject +from ..shared import writeonlyobject as shared_writeonlyobject +from typing import Optional, Union REQUEST_BODY_WRITE_ONLY_UNION_SERVERS = [ "http://localhost:35456", @@ -19,7 +21,7 @@ class RequestBodyWriteOnlyUnionResponse: r"""HTTP response status code for this operation""" raw_response: Optional[requests_http.Response] = dataclasses.field(default=None) r"""Raw HTTP response; suitable for custom response parsing""" - weakly_typed_one_of_write_only_object: Optional[Any] = dataclasses.field(default=None) + weakly_typed_one_of_write_only_object: Optional[Union[shared_simpleobject.SimpleObject, shared_writeonlyobject.WriteOnlyObjectOutput]] = dataclasses.field(default=None) r"""OK""" diff --git a/python-client-sdk/src/sdk/models/operations/stronglytypedoneofpost.py b/python-client-sdk/src/sdk/models/operations/stronglytypedoneofpost.py index 5ad301cff..8eeec6b29 100755 --- a/python-client-sdk/src/sdk/models/operations/stronglytypedoneofpost.py +++ b/python-client-sdk/src/sdk/models/operations/stronglytypedoneofpost.py @@ -3,9 +3,11 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import deepobjectwithtype as shared_deepobjectwithtype +from ..shared import simpleobjectwithtype as shared_simpleobjectwithtype from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +15,7 @@ @dataclasses.dataclass class StronglyTypedOneOfPostRes: r"""OK""" - json: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) + json: Union[shared_simpleobjectwithtype.SimpleObjectWithType, shared_deepobjectwithtype.DeepObjectWithType] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json'), 'decoder': utils.decoder_with_discriminator('type') }}) diff --git a/python-client-sdk/src/sdk/models/operations/typedobjectnullableoneofpost.py b/python-client-sdk/src/sdk/models/operations/typedobjectnullableoneofpost.py index 81f293412..6094e9a6e 100755 --- a/python-client-sdk/src/sdk/models/operations/typedobjectnullableoneofpost.py +++ b/python-client-sdk/src/sdk/models/operations/typedobjectnullableoneofpost.py @@ -3,9 +3,11 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import typedobject1 as shared_typedobject1 +from ..shared import typedobject2 as shared_typedobject2 from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +15,7 @@ @dataclasses.dataclass class TypedObjectNullableOneOfPostRes: r"""OK""" - json: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) + json: Union[shared_typedobject1.TypedObject1, shared_typedobject2.TypedObject2] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/typedobjectoneofpost.py b/python-client-sdk/src/sdk/models/operations/typedobjectoneofpost.py index 36b5e2728..7375d6272 100755 --- a/python-client-sdk/src/sdk/models/operations/typedobjectoneofpost.py +++ b/python-client-sdk/src/sdk/models/operations/typedobjectoneofpost.py @@ -3,9 +3,12 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import typedobject1 as shared_typedobject1 +from ..shared import typedobject2 as shared_typedobject2 +from ..shared import typedobject3 as shared_typedobject3 from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +16,7 @@ @dataclasses.dataclass class TypedObjectOneOfPostRes: r"""OK""" - json: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) + json: Union[shared_typedobject1.TypedObject1, shared_typedobject2.TypedObject2, shared_typedobject3.TypedObject3] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/operations/weaklytypedoneofpost.py b/python-client-sdk/src/sdk/models/operations/weaklytypedoneofpost.py index 2f0ea39bb..ad55eca9d 100755 --- a/python-client-sdk/src/sdk/models/operations/weaklytypedoneofpost.py +++ b/python-client-sdk/src/sdk/models/operations/weaklytypedoneofpost.py @@ -3,9 +3,11 @@ from __future__ import annotations import dataclasses import requests as requests_http +from ..shared import deepobject as shared_deepobject +from ..shared import simpleobject as shared_simpleobject from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +15,7 @@ @dataclasses.dataclass class WeaklyTypedOneOfPostRes: r"""OK""" - json: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) + json: Union[shared_simpleobject.SimpleObject, shared_deepobject.DeepObject] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('json') }}) diff --git a/python-client-sdk/src/sdk/models/shared/__init__.py b/python-client-sdk/src/sdk/models/shared/__init__.py index 060da0142..ebc8cc658 100755 --- a/python-client-sdk/src/sdk/models/shared/__init__.py +++ b/python-client-sdk/src/sdk/models/shared/__init__.py @@ -41,4 +41,4 @@ from .validcircularreferenceobject import * from .writeonlyobject import * -__all__ = ["AllOfToAllOf","ArrObjValue","ArrObjValueCamelCase","AuthServiceRequestBody","AuthServiceRequestBodyBasicAuth","AuthServiceRequestBodyHeaderAuth","ComplexNumberTypes","DeepObject","DeepObjectCamelCase","DeepObjectWithType","DefaultsAndConsts","DefaultsAndConstsConstEnumInt","DefaultsAndConstsConstEnumStr","DefaultsAndConstsDefaultEnumInt","DefaultsAndConstsDefaultEnumStr","DefaultsAndConstsOutput","DefaultsAndConstsOutputConstEnumInt","DefaultsAndConstsOutputConstEnumStr","DefaultsAndConstsOutputDefaultEnumInt","DefaultsAndConstsOutputDefaultEnumStr","DefaultsAndConstsSingleEnumConstStr","DeprecatedFieldInObject","DeprecatedFieldInObjectDeprecatedEnum","DeprecatedObject","EmptyObjectParam","EnumT","ExampleBoat","ExampleBoatType","ExampleCar","ExampleCarType","ExampleResource","ExampleResourceChocolates","ExampleResourceEnumNumber","ExampleResourceEnumStr","FileResource","HTTPBinSimpleJSONObject","HTTPBinSimpleJSONObjectSlideshow","HTTPBinSimpleJSONObjectSlideshowSlides","LimitOffsetConfig","MapObjValue","MapObjValueCamelCase","NullableObject","NullableOneOfRefInObject","NullableOneOfTypeInObject","ObjWithZeroValueComplexTypePtrs","ReadOnlyObject","ReadOnlyObjectInput","ReadWriteObjectInput","ReadWriteObjectOutput","RefQueryParamObj","RefQueryParamObjExploded","SchemeBasicAuth","Security","SimpleObject","SimpleObjectCamelCase","SimpleObjectCamelCaseInt32EnumVal","SimpleObjectCamelCaseIntEnumVal","SimpleObjectInt32Enum","SimpleObjectIntEnum","SimpleObjectWithType","SimpleObjectWithTypeInt32Enum","SimpleObjectWithTypeIntEnum","TypedObject1","TypedObject1Type","TypedObject2","TypedObject2Type","TypedObject3","TypedObject3Type","UnsupportedEnums","ValidCircularReferenceObject","WriteOnlyObject","WriteOnlyObjectOutput"] +__all__ = ["AllOfToAllOf","ArrObjValue","ArrObjValueCamelCase","AuthServiceRequestBody","AuthServiceRequestBodyBasicAuth","AuthServiceRequestBodyHeaderAuth","ComplexNumberTypes","DeepObject","DeepObjectAny","DeepObjectCamelCase","DeepObjectCamelCaseAnyVal","DeepObjectWithType","DeepObjectWithTypeAny","DefaultsAndConsts","DefaultsAndConstsConstEnumInt","DefaultsAndConstsConstEnumStr","DefaultsAndConstsDefaultEnumInt","DefaultsAndConstsDefaultEnumStr","DefaultsAndConstsOutput","DefaultsAndConstsOutputConstEnumInt","DefaultsAndConstsOutputConstEnumStr","DefaultsAndConstsOutputDefaultEnumInt","DefaultsAndConstsOutputDefaultEnumStr","DefaultsAndConstsSingleEnumConstStr","DeprecatedFieldInObject","DeprecatedFieldInObjectDeprecatedEnum","DeprecatedObject","EmptyObjectParam","EnumT","ExampleBoat","ExampleBoatType","ExampleCar","ExampleCarType","ExampleResource","ExampleResourceChocolates","ExampleResourceEnumNumber","ExampleResourceEnumStr","FileResource","HTTPBinSimpleJSONObject","HTTPBinSimpleJSONObjectSlideshow","HTTPBinSimpleJSONObjectSlideshowSlides","LimitOffsetConfig","MapObjValue","MapObjValueCamelCase","NullableObject","NullableOneOfRefInObject","NullableOneOfRefInObjectNullableOneOfTwo","NullableOneOfTypeInObject","NullableOneOfTypeInObjectNullableOneOfTwo","ObjWithZeroValueComplexTypePtrs","ReadOnlyObject","ReadOnlyObjectInput","ReadWriteObjectInput","ReadWriteObjectOutput","RefQueryParamObj","RefQueryParamObjExploded","SchemeBasicAuth","Security","SimpleObject","SimpleObjectCamelCase","SimpleObjectCamelCaseInt32EnumVal","SimpleObjectCamelCaseIntEnumVal","SimpleObjectInt32Enum","SimpleObjectIntEnum","SimpleObjectWithType","SimpleObjectWithTypeInt32Enum","SimpleObjectWithTypeIntEnum","TypedObject1","TypedObject1Type","TypedObject2","TypedObject2Type","TypedObject3","TypedObject3Type","UnsupportedEnums","ValidCircularReferenceObject","WriteOnlyObject","WriteOnlyObjectOutput"] diff --git a/python-client-sdk/src/sdk/models/shared/deepobject.py b/python-client-sdk/src/sdk/models/shared/deepobject.py index 57667e0d8..d4438a883 100755 --- a/python-client-sdk/src/sdk/models/shared/deepobject.py +++ b/python-client-sdk/src/sdk/models/shared/deepobject.py @@ -5,14 +5,20 @@ from ..shared import simpleobject as shared_simpleobject from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class DeepObjectAny: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class DeepObject: - any: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('any') }, 'form': { 'field_name': 'any', 'json': True }, 'multipart_form': { 'field_name': 'any', 'json': True }}) + any: Union[shared_simpleobject.SimpleObject, str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('any') }, 'form': { 'field_name': 'any' }, 'multipart_form': { 'field_name': 'any' }}) arr: list[shared_simpleobject.SimpleObject] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('arr') }, 'form': { 'field_name': 'arr', 'json': True }, 'multipart_form': { 'field_name': 'arr', 'json': True }}) bool: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bool') }, 'form': { 'field_name': 'bool' }, 'multipart_form': { 'field_name': 'bool' }}) int: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('int') }, 'form': { 'field_name': 'int' }, 'multipart_form': { 'field_name': 'int' }}) diff --git a/python-client-sdk/src/sdk/models/shared/deepobjectcamelcase.py b/python-client-sdk/src/sdk/models/shared/deepobjectcamelcase.py index 1975c218d..b9a7ed318 100755 --- a/python-client-sdk/src/sdk/models/shared/deepobjectcamelcase.py +++ b/python-client-sdk/src/sdk/models/shared/deepobjectcamelcase.py @@ -5,14 +5,20 @@ from ..shared import simpleobjectcamelcase as shared_simpleobjectcamelcase from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class DeepObjectCamelCaseAnyVal: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class DeepObjectCamelCase: - any_val: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('any_val') }}) + any_val: Union[shared_simpleobjectcamelcase.SimpleObjectCamelCase, str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('any_val') }}) arr_val: list[shared_simpleobjectcamelcase.SimpleObjectCamelCase] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('arr_val') }}) bool_val: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bool_val') }}) int_val: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('int_val') }}) diff --git a/python-client-sdk/src/sdk/models/shared/deepobjectwithtype.py b/python-client-sdk/src/sdk/models/shared/deepobjectwithtype.py index a7f63c616..1b8e81cb6 100755 --- a/python-client-sdk/src/sdk/models/shared/deepobjectwithtype.py +++ b/python-client-sdk/src/sdk/models/shared/deepobjectwithtype.py @@ -5,14 +5,20 @@ from ..shared import simpleobject as shared_simpleobject from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any, Optional +from typing import Optional, Union + + + +@dataclasses.dataclass +class DeepObjectWithTypeAny: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @dataclasses.dataclass class DeepObjectWithType: - any: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('any') }}) + any: Union[shared_simpleobject.SimpleObject, str] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('any') }}) arr: list[shared_simpleobject.SimpleObject] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('arr') }}) bool: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('bool') }}) int: int = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('int') }}) diff --git a/python-client-sdk/src/sdk/models/shared/exampleresource.py b/python-client-sdk/src/sdk/models/shared/exampleresource.py index ab5e359c1..56e85eb8c 100755 --- a/python-client-sdk/src/sdk/models/shared/exampleresource.py +++ b/python-client-sdk/src/sdk/models/shared/exampleresource.py @@ -3,11 +3,13 @@ from __future__ import annotations import dataclasses import dateutil.parser +from ..shared import exampleboat as shared_exampleboat +from ..shared import examplecar as shared_examplecar from dataclasses_json import Undefined, dataclass_json from datetime import datetime from enum import Enum from sdk import utils -from typing import Any, Optional +from typing import Optional, Union @dataclass_json(undefined=Undefined.EXCLUDE) @@ -36,7 +38,7 @@ class ExampleResource: chocolates: list[ExampleResourceChocolates] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('chocolates') }}) id: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('id') }}) name: str = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('name') }}) - vehicle: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('vehicle') }}) + vehicle: Union[shared_exampleboat.ExampleBoat, shared_examplecar.ExampleCar] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('vehicle') }}) array_of_number: Optional[list[float]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('arrayOfNumber'), 'exclude': lambda f: f is None }}) array_of_string: Optional[list[str]] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('arrayOfString'), 'exclude': lambda f: f is None }}) created_at: Optional[datetime] = dataclasses.field(default=None, metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('createdAt'), 'encoder': utils.datetimeisoformat(True), 'decoder': dateutil.parser.isoparse, 'exclude': lambda f: f is None }}) diff --git a/python-client-sdk/src/sdk/models/shared/nullableoneofrefinobject.py b/python-client-sdk/src/sdk/models/shared/nullableoneofrefinobject.py index 0218d2414..0ea782dfb 100755 --- a/python-client-sdk/src/sdk/models/shared/nullableoneofrefinobject.py +++ b/python-client-sdk/src/sdk/models/shared/nullableoneofrefinobject.py @@ -3,9 +3,16 @@ from __future__ import annotations import dataclasses from ..shared import typedobject1 as shared_typedobject1 +from ..shared import typedobject2 as shared_typedobject2 from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any +from typing import Union + + + +@dataclasses.dataclass +class NullableOneOfRefInObjectNullableOneOfTwo: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @@ -13,7 +20,7 @@ @dataclasses.dataclass class NullableOneOfRefInObject: nullable_one_of_one: shared_typedobject1.TypedObject1 = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('NullableOneOfOne') }}) - nullable_one_of_two: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('NullableOneOfTwo') }}) + nullable_one_of_two: Union[shared_typedobject1.TypedObject1, shared_typedobject2.TypedObject2] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('NullableOneOfTwo') }}) one_of_one: shared_typedobject1.TypedObject1 = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('OneOfOne') }}) diff --git a/python-client-sdk/src/sdk/models/shared/nullableoneoftypeinobject.py b/python-client-sdk/src/sdk/models/shared/nullableoneoftypeinobject.py index 445711dd1..62f82f4f8 100755 --- a/python-client-sdk/src/sdk/models/shared/nullableoneoftypeinobject.py +++ b/python-client-sdk/src/sdk/models/shared/nullableoneoftypeinobject.py @@ -4,7 +4,13 @@ import dataclasses from dataclasses_json import Undefined, dataclass_json from sdk import utils -from typing import Any +from typing import Union + + + +@dataclasses.dataclass +class NullableOneOfTypeInObjectNullableOneOfTwo: + pass @dataclass_json(undefined=Undefined.EXCLUDE) @@ -12,7 +18,7 @@ @dataclasses.dataclass class NullableOneOfTypeInObject: nullable_one_of_one: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('NullableOneOfOne') }}) - nullable_one_of_two: Any = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('NullableOneOfTwo') }}) + nullable_one_of_two: Union[bool, int] = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('NullableOneOfTwo') }}) one_of_one: bool = dataclasses.field(metadata={'dataclasses_json': { 'letter_case': utils.get_field_name('OneOfOne') }}) diff --git a/python-client-sdk/src/sdk/requestbodies.py b/python-client-sdk/src/sdk/requestbodies.py index 26d33a6a5..32281bcdd 100755 --- a/python-client-sdk/src/sdk/requestbodies.py +++ b/python-client-sdk/src/sdk/requestbodies.py @@ -5,7 +5,7 @@ from decimal import Decimal from sdk import utils from sdk.models import errors, operations, shared -from typing import Any, Optional +from typing import Optional, Union class RequestBodies: r"""Endpoints for testing request bodies.""" @@ -2493,7 +2493,7 @@ def request_body_read_only_input(self, request: shared.ReadOnlyObjectInput, serv return res - def request_body_read_only_union(self, request: Any, server_url: Optional[str] = None) -> operations.RequestBodyReadOnlyUnionResponse: + def request_body_read_only_union(self, request: Union[shared.SimpleObject, shared.ReadOnlyObjectInput], server_url: Optional[str] = None) -> operations.RequestBodyReadOnlyUnionResponse: base_url = utils.template_url(operations.REQUEST_BODY_READ_ONLY_UNION_SERVERS[0], { }) if server_url is not None: @@ -2518,7 +2518,7 @@ def request_body_read_only_union(self, request: Any, server_url: Optional[str] = if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[Any]) + out = utils.unmarshal_json(http_res.text, Optional[Union[shared.SimpleObject, shared.ReadOnlyObject]]) res.weakly_typed_one_of_read_only_object = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) @@ -2528,7 +2528,7 @@ def request_body_read_only_union(self, request: Any, server_url: Optional[str] = return res - def request_body_read_write_only_union(self, request: Any, server_url: Optional[str] = None) -> operations.RequestBodyReadWriteOnlyUnionResponse: + def request_body_read_write_only_union(self, request: Union[shared.SimpleObject, shared.ReadWriteObjectInput], server_url: Optional[str] = None) -> operations.RequestBodyReadWriteOnlyUnionResponse: base_url = utils.template_url(operations.REQUEST_BODY_READ_WRITE_ONLY_UNION_SERVERS[0], { }) if server_url is not None: @@ -2553,7 +2553,7 @@ def request_body_read_write_only_union(self, request: Any, server_url: Optional[ if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[Any]) + out = utils.unmarshal_json(http_res.text, Optional[Union[shared.SimpleObject, shared.ReadWriteObjectOutput]]) res.weakly_typed_one_of_read_write_object = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) @@ -2633,7 +2633,7 @@ def request_body_write_only_output(self, request: shared.WriteOnlyObject, server return res - def request_body_write_only_union(self, request: Any, server_url: Optional[str] = None) -> operations.RequestBodyWriteOnlyUnionResponse: + def request_body_write_only_union(self, request: Union[shared.SimpleObject, shared.WriteOnlyObject], server_url: Optional[str] = None) -> operations.RequestBodyWriteOnlyUnionResponse: base_url = utils.template_url(operations.REQUEST_BODY_WRITE_ONLY_UNION_SERVERS[0], { }) if server_url is not None: @@ -2658,7 +2658,7 @@ def request_body_write_only_union(self, request: Any, server_url: Optional[str] if http_res.status_code == 200: if utils.match_content_type(content_type, 'application/json'): - out = utils.unmarshal_json(http_res.text, Optional[Any]) + out = utils.unmarshal_json(http_res.text, Optional[Union[shared.SimpleObject, shared.WriteOnlyObjectOutput]]) res.weakly_typed_one_of_write_only_object = out else: raise errors.SDKError(f'unknown content-type received: {content_type}', http_res.status_code, http_res.text, http_res) diff --git a/python-client-sdk/src/sdk/sdkconfiguration.py b/python-client-sdk/src/sdk/sdkconfiguration.py index 5b6b63452..8bd0c02f7 100755 --- a/python-client-sdk/src/sdk/sdkconfiguration.py +++ b/python-client-sdk/src/sdk/sdkconfiguration.py @@ -38,8 +38,8 @@ 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 = '1.34.1' - gen_version: str = '2.130.1' + sdk_version: str = '1.34.2' + gen_version: str = '2.131.1' retry_config: RetryConfig = None def get_server_details(self) -> tuple[str, dict[str, str]]: diff --git a/python-client-sdk/src/sdk/unions.py b/python-client-sdk/src/sdk/unions.py index da5e5a4d6..46cb97859 100755 --- a/python-client-sdk/src/sdk/unions.py +++ b/python-client-sdk/src/sdk/unions.py @@ -3,7 +3,7 @@ from .sdkconfiguration import SDKConfiguration from sdk import utils from sdk.models import errors, operations, shared -from typing import Any, Optional +from typing import Optional, Union class Unions: r"""Endpoints for testing union types.""" @@ -45,7 +45,7 @@ def flattened_typed_object_post(self, request: shared.TypedObject1) -> operation return res - def mixed_type_one_of_post(self, request: Any) -> operations.MixedTypeOneOfPostResponse: + def mixed_type_one_of_post(self, request: Union[str, int, shared.SimpleObject]) -> operations.MixedTypeOneOfPostResponse: base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = base_url + '/anything/mixedTypeOneOf' @@ -109,7 +109,7 @@ def nullable_one_of_ref_in_object_post(self, request: shared.NullableOneOfRefInO return res - def nullable_one_of_schema_post(self, request: Any) -> operations.NullableOneOfSchemaPostResponse: + def nullable_one_of_schema_post(self, request: Union[shared.TypedObject1, shared.TypedObject2]) -> operations.NullableOneOfSchemaPostResponse: base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = base_url + '/anything/nullableOneOfSchema' @@ -205,7 +205,7 @@ def nullable_typed_object_post(self, request: shared.TypedObject1) -> operations return res - def primitive_type_one_of_post(self, request: Any) -> operations.PrimitiveTypeOneOfPostResponse: + def primitive_type_one_of_post(self, request: Union[str, int, float, bool]) -> operations.PrimitiveTypeOneOfPostResponse: base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = base_url + '/anything/primitiveTypeOneOf' @@ -237,7 +237,7 @@ def primitive_type_one_of_post(self, request: Any) -> operations.PrimitiveTypeOn return res - def strongly_typed_one_of_post(self, request: Any) -> operations.StronglyTypedOneOfPostResponse: + def strongly_typed_one_of_post(self, request: Union[shared.SimpleObjectWithType, shared.DeepObjectWithType]) -> operations.StronglyTypedOneOfPostResponse: base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = base_url + '/anything/stronglyTypedOneOf' @@ -269,7 +269,7 @@ def strongly_typed_one_of_post(self, request: Any) -> operations.StronglyTypedOn return res - def typed_object_nullable_one_of_post(self, request: Any) -> operations.TypedObjectNullableOneOfPostResponse: + def typed_object_nullable_one_of_post(self, request: Union[shared.TypedObject1, shared.TypedObject2]) -> operations.TypedObjectNullableOneOfPostResponse: base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = base_url + '/anything/typedObjectNullableOneOf' @@ -301,7 +301,7 @@ def typed_object_nullable_one_of_post(self, request: Any) -> operations.TypedObj return res - def typed_object_one_of_post(self, request: Any) -> operations.TypedObjectOneOfPostResponse: + def typed_object_one_of_post(self, request: Union[shared.TypedObject1, shared.TypedObject2, shared.TypedObject3]) -> operations.TypedObjectOneOfPostResponse: base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = base_url + '/anything/typedObjectOneOf' @@ -333,7 +333,7 @@ def typed_object_one_of_post(self, request: Any) -> operations.TypedObjectOneOfP return res - def weakly_typed_one_of_post(self, request: Any) -> operations.WeaklyTypedOneOfPostResponse: + def weakly_typed_one_of_post(self, request: Union[shared.SimpleObject, shared.DeepObject]) -> operations.WeaklyTypedOneOfPostResponse: base_url = utils.template_url(*self.sdk_configuration.get_server_details()) url = base_url + '/anything/weaklyTypedOneOf' diff --git a/python-client-sdk/src/sdk/utils/utils.py b/python-client-sdk/src/sdk/utils/utils.py index 05eafba6c..b0aeb54de 100755 --- a/python-client-sdk/src/sdk/utils/utils.py +++ b/python-client-sdk/src/sdk/utils/utils.py @@ -1,5 +1,6 @@ """Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" +import sys import base64 import json import re @@ -796,3 +797,10 @@ def _populate_from_globals(param_name: str, value: any, param_type: str, gbls: d value = global_value return value + + +def decoder_with_discriminator(field_name): + def decode_fx(obj): + kls = getattr(sys.modules['sdk.models.shared'], obj[field_name]) + return unmarshal_json(json.dumps(obj), kls) + return decode_fx diff --git a/python-client-sdk/tests/helpers.py b/python-client-sdk/tests/helpers.py index 35c381e6d..6ce2464e8 100755 --- a/python-client-sdk/tests/helpers.py +++ b/python-client-sdk/tests/helpers.py @@ -26,6 +26,26 @@ def create_simple_object(): str_opt="testOptional", ) +def create_simple_object_with_type(): + return shared.SimpleObjectWithType( + any="any", + bool=True, + bool_opt=True, + date_=date(2020, 1, 1), + date_time=datetime(2020, 1, 1, 0, 0, 0, 1, tzutc()), + enum=shared.EnumT.ONE, + float32=1.1, + int=1, + int32=1, + int32_enum=shared.SimpleObjectInt32Enum.FIFTY_FIVE, + int_enum=shared.SimpleObjectIntEnum.SECOND, + int_opt_null=None, + num=1.1, + num_opt_null=None, + str_="test", + str_opt="testOptional", + type="SimpleObjectWithType" + ) def create_simple_object_camel_case(): return shared.SimpleObjectCamelCase( @@ -60,6 +80,18 @@ def create_deep_object(): str_="test", ) +def create_deep_object_with_type(): + return shared.DeepObjectWithType( + any=create_simple_object(), + arr=[create_simple_object(), create_simple_object()], + bool=True, + int=1, + map={"key": create_simple_object()}, + num=1.1, + obj=create_simple_object(), + str_="test", + type="DeepObjectWithType" + ) def compare_simple_object(obj1: shared.SimpleObject, obj2: shared.SimpleObject): assert obj1.any == obj2.any @@ -77,6 +109,23 @@ def compare_simple_object(obj1: shared.SimpleObject, obj2: shared.SimpleObject): assert obj1.str_ == obj2.str_ assert obj1.str_opt == obj2.str_opt +def compare_simple_object_with_type(obj1: shared.SimpleObjectWithType, obj2: shared.SimpleObjectWithType): + assert obj1.any == obj2.any + assert obj1.bool == obj2.bool + assert obj1.bool_opt == obj2.bool_opt + assert obj1.date_ == obj2.date_ + assert obj1.date_time == obj2.date_time + assert obj1.enum == obj2.enum + assert obj1.float32 == obj2.float32 + assert obj1.int == obj2.int + assert obj1.int32 == obj2.int32 + assert obj1.int_opt_null == obj2.int_opt_null + assert obj1.num == obj2.num + assert obj1.num_opt_null == obj2.num_opt_null + assert obj1.str_ == obj2.str_ + assert obj1.str_opt == obj2.str_opt + assert obj1.type == obj2.type + def compare_simple_object_camel_case(actual: shared.SimpleObjectCamelCase): expected = create_simple_object_camel_case() @@ -109,6 +158,20 @@ def compare_deep_object(obj1: shared.DeepObject, obj2: shared.DeepObject): compare_simple_object(obj1.obj, obj2.obj) assert obj1.str_ == obj2.str_ +def compare_deep_object_with_type(obj1: shared.DeepObject, obj2: shared.DeepObject): + assert len(obj1.arr) == len(obj2.arr) + for i in range(len(obj1.arr)): + compare_simple_object(obj1.arr[i], obj2.arr[i]) + assert obj1.bool == obj2.bool + assert obj1.int == obj2.int + assert len(obj1.map) == len(obj2.map) + for key in obj1.map: + compare_simple_object(obj1.map[key], obj2.map[key]) + assert obj1.num == obj2.num + compare_simple_object(obj1.obj, obj2.obj) + assert obj1.str_ == obj2.str_ + assert obj1.type == obj2.type + def record_test(test_id: str): with open("test-python-record.txt", "a", -1, "utf-8") as f: diff --git a/python-client-sdk/tests/test_request_bodies.py b/python-client-sdk/tests/test_request_bodies.py index 72759468b..e632df576 100755 --- a/python-client-sdk/tests/test_request_bodies.py +++ b/python-client-sdk/tests/test_request_bodies.py @@ -4,6 +4,7 @@ from sdk import SDK from sdk.models.operations import * +from sdk.models.shared import simpleobject as shared_simpleobject from sdk.utils import * from .helpers import * @@ -298,22 +299,7 @@ def test_request_body_post_application_json_deep(): obj.any = None compare_deep_object(res.res.json, obj) - assert any == { - 'any': 'any', - 'bool': True, - 'boolOpt': True, - 'date': '2020-01-01', - 'dateTime': '2020-01-01T00:00:00.000001Z', - 'enum': 'one', - 'float32': 1.1, - 'int': 1, - 'int32': 1, - 'int32Enum': 55, - 'intEnum': 2, - 'num': 1.1, - 'str': 'test', - 'strOpt': 'testOptional' - } + compare_simple_object(any, create_simple_object()) def test_request_body_post_application_json_multiple_json_filtered(): diff --git a/python-client-sdk/tests/test_telemetry.py b/python-client-sdk/tests/test_telemetry.py index 7af189735..1cc88cbaf 100755 --- a/python-client-sdk/tests/test_telemetry.py +++ b/python-client-sdk/tests/test_telemetry.py @@ -17,7 +17,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 1.34.1 2.130.1 0.1.0' + assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.34.2 2.131.1 0.1.0' def test_telemetry_speakeasy_user_agent_get(): @@ -33,4 +33,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 1.34.1 2.130.1 0.1.0' \ No newline at end of file + assert res.res.headers['X-Speakeasy-User-Agent'] == 'speakeasy-sdk/python 1.34.2 2.131.1 0.1.0' \ No newline at end of file diff --git a/python-client-sdk/tests/test_unions.py b/python-client-sdk/tests/test_unions.py new file mode 100755 index 000000000..b92345433 --- /dev/null +++ b/python-client-sdk/tests/test_unions.py @@ -0,0 +1,346 @@ +"""Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.""" + +import pytest +from sdk import SDK + +from .helpers import * + +def test_strongly_typed_one_of_post_basic(): + record_test('unions-strongly-typed-one-of-post-basic') + + s = SDK() + assert s is not None + + obj = create_simple_object_with_type() + + + res = s.unions.strongly_typed_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert res.res is not None + compare_simple_object_with_type(res.res.json, obj) + +def test_strongly_typed_one_of_post_deep(): + record_test("unions-strongly-typed-one-of-post-deep") + s = SDK() + assert s is not None + + obj = create_deep_object_with_type() + + res = s.unions.strongly_typed_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert res.res is not None + compare_deep_object_with_type(res.res.json, obj) + +def test_weakly_typed_one_of_post_basic(): + record_test("unions-weakly-typed-one-of-post-basic") + s = SDK() + assert s is not None + + obj = create_simple_object() + + res = s.unions.weakly_typed_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert type(res.res.json) == shared.SimpleObject + +def test_weakly_typed_one_of_post_deep(): + record_test("unions-weakly-typed-one-of-post-deep") + s = SDK() + assert s is not None + + obj = create_deep_object() + + res = s.unions.weakly_typed_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert type(res.res.json) == shared.DeepObject + +def test_typed_object_one_of_post_obj1(): + record_test("unions-typed-object-one-of-post-obj1") + s = SDK() + assert s is not None + + obj = shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="obj1") + + res = s.unions.typed_object_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert type(res.res.json) == shared.TypedObject1 + assert res.res.json.value == "obj1" + +def test_typed_object_one_of_post_obj2(): + record_test("unions-typed-object-one-of-post-obj2") + s = SDK() + assert s is not None + + obj = shared.TypedObject2(type=shared.TypedObject2Type.OBJ2, value="obj2") + + res = s.unions.typed_object_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert type(res.res.json) == shared.TypedObject2 + assert res.res.json.value == "obj2" + +def test_typed_object_one_of_post_obj3(): + record_test("unions-typed-object-one-of-post-obj3") + s = SDK() + assert s is not None + + obj = shared.TypedObject3(type=shared.TypedObject3Type.OBJ3, value="obj3") + + res = s.unions.typed_object_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert type(res.res.json) == shared.TypedObject3 + assert res.res.json.value == "obj3" + + +# def test_typed_object_one_of_post_null(): +# record_test("unions-typed-object-one-of-post-null") + +# s = SDK() + +# res = s.unions.typed_object_one_of_post(request=None) +# require.Error(t, err) +# assert.Equal(t, err.Error(), "error serializing request body: json: error calling MarshalJSON for type shared.TypedObjectOneOf: could not marshal union type: all fields are null") + +def test_typed_object_nullable_one_of_post_obj1(): + record_test("unions-typed-object-nullable-one-of-post-obj1") + + s = SDK() + + obj = shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="one") + + res = s.unions.typed_object_nullable_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert type(res.res.json) == shared.TypedObject1 + assert res.res.json.value == "one" + +def test_typed_object_nullable_one_of_post_obj2(): + record_test("unions-typed-object-nullable-one-of-post-obj2") + + s = SDK() + + obj = shared.TypedObject1(type=shared.TypedObject2Type.OBJ2, value="two") + + res = s.unions.typed_object_nullable_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert type(res.res.json) == shared.TypedObject2 + assert res.res.json.value == "two" + +# def test_typed_object_nullable_one_of_post_obj2(): +# record_test("unions-typed-object-nullable-one-of-post-null") + +# s = SDK() + +# res = s.unions.typed_object_nullable_one_of_post() +# assert res is not None +# assert res.status_code == 200 + +def test_flattened_typed_object_post_obj1(): + record_test("unions-flattened-typed-object-post-obj1") + + s = SDK() + + obj = shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="one") + + res = s.unions.flattened_typed_object_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert res.res.json.value == "one" + + +def test_unions_nullable_typed_object_post_obj1(): + record_test("unions-nullable-typed-object-post-obj1") + + s = SDK() + + obj = shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="one") + + res = s.unions.nullable_typed_object_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert res.res.json.value == "one" + +# def test_unions_nullable_typed_object_post_null(): +# record_test("unions-nullable-typed-object-post-null") + +# s = SDK() + +# res = s.unions.nullable_typed_object_post(request=None) +# assert res is not None +# assert res.status_code == 200 + +def test_nullable_one_of_schema_post_obj1(): + record_test("unions-nullable-oneof-schema-post-obj1") + + s = SDK() + + obj = shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="one") + + res = s.unions.nullable_one_of_schema_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert res.res.json.value == "one" + +def test_nullable_one_of_schema_post_obj2(): + record_test("unions-nullable-oneof-schema-post-obj2") + + s = SDK() + + obj = shared.TypedObject2(type=shared.TypedObject2Type.OBJ2, value="two") + + res = s.unions.nullable_one_of_schema_post(request=obj) + assert res is not None + assert res.status_code == 200 + assert res.res.json.value == "two" + +# def test_nullable_one_of_schema_post_null(): +# record_test("unions-nullable-oneof-schema-post-null") + +# s = SDK() + +# res = s.unions.nullable_one_of_schema_post(request=None) +# assert res is not None +# assert res.status_code == 200 +# assert res.res.json == None + +# def test_nullable_one_of_type_in_object_post(): +# record_test("unions-nullable-oneof-type-in-object-post") + +# tests = [ +# { +# name: "Non-nullable field set only", +# obj: shared.NullableOneOfTypeInObject(one_of_one=True), +# want_json: "{\"NullableOneOfOne\":null,\"NullableOneOfTwo\":null,\"OneOfOne\":true}" +# }, +# { +# name: "Nullable fields set to null", +# obj: shared.NullableOneOfTypeInObject(one_of_one=True), +# want_json: "{\"NullableOneOfOne\":null,\"NullableOneOfTwo\":null,\"OneOfOne\":true}", +# }, +# { +# name: "All fields set to non-null values", +# obj: shared.NullableOneOfTypeInObject(nullable_one_of_one=True, nullable_one_of_two=2, one_of_one=True), +# want_json: "{\"NullableOneOfOne\":true,\"NullableOneOfTwo\":2,\"OneOfOne\":true}", +# }, +# ] + +# s = SDK() +# for tt in tests: +# req = utils.serialize_request_body(tt.obj, "Request", "json") +# assert req is not None +# assert req == tt.want_json +# res = s.unions.nullable_one_of_type_in_object_post(tt.obj) +# assert res is not None +# assert res.status_code == 200 +# assert res.res.json == tt.obj + +# def test_nullable_one_of_ref_in_object_post(): +# record_test("unions-nullable-oneof-ref-in-object-post") + +# tests = [ +# { +# name: "Non-nullable field set only", +# obj: shared.NullableOneOfRefInObject(one_of_one=shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="one")), +# want_json: "{\"NullableOneOfOne\":null,\"NullableOneOfTwo\":null,\"OneOfOne\":{\"type\":\"obj1\",\"value\":\"one\"}}" +# }, +# { +# name: "Nullable fields set to null", +# obj: shared.NullableOneOfRefInObject(nullable_one_of_one=None, nullable_one_of_two=None, one_of_one=shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="one")), +# want_json: "{\"NullableOneOfOne\":null,\"NullableOneOfTwo\":null,\"OneOfOne\":{\"type\":\"obj1\",\"value\":\"one\"}}", +# }, +# { +# name: "All fields set to non-null values", +# obj: shared.NullableOneOfTypeInObject(nullable_one_of_one=shared.TypedObject1(type=shared.TypedObject1Type.OBJ1, value="one"), +# nullable_one_of_two=shared.TypedObject2(type=shared.TypedObject2Type.OBJ2, value="two"), +# one_of_one=shared.TypedObject1(type=shared.TypedObject1Type.OBJ1)), +# want_json: "{\"NullableOneOfOne\":{\"type\":\"obj1\",\"value\":\"one\"},\"NullableOneOfTwo\":{\"type\":\"obj2\",\"value\":\"two\"},\"OneOfOne\":{\"type\":\"obj1\",\"value\":\"\"}}", +# }, +# ] + +# s = SDK() +# for tt in tests: +# req = utils.serialize_request_body(tt.obj, "Request", "json") +# assert req is not None +# assert req == tt.want_json +# res = s.unions.nullable_one_of_type_in_object_post(tt.obj) +# assert res is not None +# assert res.status_code == 200 +# assert res.res.json == tt.obj + +def test_primitive_type_one_of_post_string(): + record_test("unions-primitive-type-one-of-post-string") + s = SDK() + assert s is not None + + res = s.unions.primitive_type_one_of_post(request="test") + assert res is not None + assert res.status_code == 200 + assert res.res.json == "test" + +def test_primitive_type_one_of_post_integer(): + record_test("unions-primitive-type-one-of-post-integer") + s = SDK() + assert s is not None + + res = s.unions.primitive_type_one_of_post(request=1) + assert res is not None + assert res.status_code == 200 + assert res.res.json == 1 + +def test_primitive_type_one_of_post_number(): + record_test("unions-primitive-type-one-of-post-number") + s = SDK() + assert s is not None + + res = s.unions.primitive_type_one_of_post(request=1.1) + assert res is not None + assert res.status_code == 200 + assert res.res.json == 1.1 + +def test_primitive_type_one_of_post_boolean(): + record_test("unions-primitive-type-one-of-post-boolean") + s = SDK() + assert s is not None + + res = s.unions.primitive_type_one_of_post(request=True) + assert res is not None + assert res.status_code == 200 + assert res.res.json == True + +def test_mixed_type_one_of_post_string(): + record_test("unions-mixed-type-one-of-post-string") + s = SDK() + assert s is not None + + res = s.unions.mixed_type_one_of_post(request="str") + assert res is not None + assert res.status_code == 200 + assert res.res.json == "str" + +def test_mixed_type_one_of_post_integer(): + record_test("unions-mixed-type-one-of-post-integer") + s = SDK() + assert s is not None + + res = s.unions.mixed_type_one_of_post(request=1) + assert res is not None + assert res.status_code == 200 + assert res.res.json == 1 + +def test_mixed_type_one_of_post_object(): + record_test("unions-mixed-type-one-of-post-object") + s = SDK() + assert s is not None + + obj = create_simple_object() + + res = s.unions.mixed_type_one_of_post(request=obj) + assert res is not None + assert res.status_code == 200 + compare_simple_object(res.res.json, obj) diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md index b28f25c06..d4c82b090 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------- | ------------------- | ------------------- | ------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | T::Array<*Integer*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md index 0ed44c05a..463e296cd 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | T::Array<[DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html)> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md index bb1e0de88..1ef63ae2b 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | T::Array<*String*> | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md index c89143406..73a6187ef 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *Integer* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md index a0ce420e0..6b9609bdb 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md index 24a62c994..aceab29eb 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | [DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md index 9e7307f82..f625da247 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md index df012b176..c327a97a6 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *Float* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md index 39fd9c269..82b51eaed 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | *String* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md index 7ab5e2856..1d0c95f3d 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------- | ------------------------- | ------------------------- | ------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | T::Hash[Symbol, *String*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md index 6952d7e76..a39ba6d61 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | T::Hash[Symbol, [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html)] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md index c3e390bca..e05fa7d49 100755 --- a/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md +++ b/ruby-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `data` | *String* | :heavy_check_mark: | N/A | | `json` | T::Hash[Symbol, *Float*] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/gen.yaml b/ruby-client-sdk/gen.yaml index 17ed1a5b5..c74ed65ab 100755 --- a/ruby-client-sdk/gen.yaml +++ b/ruby-client-sdk/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 438034cce53a2da9414d89b820102ba8 + docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 docVersion: 0.1.0 - speakeasyVersion: 1.91.1 - generationVersion: 2.130.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: SDK singleTagPerOp: false @@ -26,7 +26,7 @@ features: nameOverrides: 2.81.1 serverIDs: 2.81.1 ruby: - version: 1.33.1 + version: 1.33.2 author: Speakeasy description: Ruby Client SDK Generated by Speakeasy maxMethodParams: 5 diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraybigint.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraybigint.rb index 4a662ca24..f0e690fc2 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraybigint.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraybigint.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON < OpenApiSDK::Ut extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, T::Array[Integer], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: T::Array[Integer]).void } - def initialize(json: nil) + sig { params(data: String, json: T::Array[Integer]).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydate.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydate.rb index caf05bd47..51b36b159 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydate.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydate.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON < OpenApiSDK::Util extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, T::Array[Date], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: T::Array[Date]).void } - def initialize(json: nil) + sig { params(data: String, json: T::Array[Date]).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.rb index 855f06a57..9b51284bc 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON < OpenApiSDK extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, T::Array[String], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: T::Array[String]).void } - def initialize(json: nil) + sig { params(data: String, json: T::Array[String]).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigint.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigint.rb index fdd7cdf9d..69999db7f 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigint.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigint.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesBigInt200ApplicationJSON < OpenApiSDK::Utils:: extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, Integer, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: Integer).void } - def initialize(json: nil) + sig { params(data: String, json: Integer).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigintstr.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigintstr.rb index 903f21906..b50ded492 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigintstr.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesbigintstr.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON < OpenApiSDK::Util extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: String).void } - def initialize(json: nil) + sig { params(data: String, json: String).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdate.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdate.rb index 8b36869a7..503cc255f 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdate.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdate.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesDate200ApplicationJSON < OpenApiSDK::Utils::Fi extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, Date, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json'), 'decoder': Utils.date_from_iso_format(false) } } - sig { params(json: Date).void } - def initialize(json: nil) + sig { params(data: String, json: Date).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdatetime.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdatetime.rb index 5c84a6a35..5609fa9d4 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdatetime.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdatetime.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesDateTime200ApplicationJSON < OpenApiSDK::Utils extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json'), 'decoder': Utils.datetime_from_iso_format(false) } } - sig { params(json: DateTime).void } - def initialize(json: nil) + sig { params(data: String, json: DateTime).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimal.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimal.rb index 0c193d04c..5ee4ce5be 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimal.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimal.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesDecimal200ApplicationJSON < OpenApiSDK::Utils: extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, Float, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: Float).void } - def initialize(json: nil) + sig { params(data: String, json: Float).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.rb index a26d3d804..4a5681c5a 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON < OpenApiSDK::Uti extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: String).void } - def initialize(json: nil) + sig { params(data: String, json: String).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.rb index 4ad38daf3..437d10bf6 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON < OpenApiSDK::U extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, T::Hash[Symbol, String], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: T::Hash[Symbol, String]).void } - def initialize(json: nil) + sig { params(data: String, json: T::Hash[Symbol, String]).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.rb index 74caabaa7..89e46498e 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON < OpenApiSDK::Ut extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, T::Hash[Symbol, DateTime], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: T::Hash[Symbol, DateTime]).void } - def initialize(json: nil) + sig { params(data: String, json: T::Hash[Symbol, DateTime]).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.rb b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.rb index c60d463f8..3c36144c7 100755 --- a/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.rb +++ b/ruby-client-sdk/lib/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.rb @@ -13,11 +13,14 @@ class RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON < OpenApiSDK::Uti extend T::Sig + field :data, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('data') } } + field :json, T::Hash[Symbol, Float], { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('json') } } - sig { params(json: T::Hash[Symbol, Float]).void } - def initialize(json: nil) + sig { params(data: String, json: T::Hash[Symbol, Float]).void } + def initialize(data: nil, json: nil) + @data = data @json = json end end diff --git a/ruby-client-sdk/lib/sdk/sdkconfiguration.rb b/ruby-client-sdk/lib/sdk/sdkconfiguration.rb index 6d6493a69..1750bfda8 100755 --- a/ruby-client-sdk/lib/sdk/sdkconfiguration.rb +++ b/ruby-client-sdk/lib/sdk/sdkconfiguration.rb @@ -53,8 +53,8 @@ def initialize(client, security, server_url, server_idx, server_defaults, global @globals = globals.nil? ? {} : globals @language = 'ruby' @openapi_doc_version = '0.1.0' - @sdk_version = '1.33.1' - @gen_version = '2.130.1' + @sdk_version = '1.33.2' + @gen_version = '2.131.1' end sig { returns([String, T::Hash[Symbol, String]]) } diff --git a/ruby-client-sdk/openapi.gemspec b/ruby-client-sdk/openapi.gemspec index 15da605b4..1d7881e8b 100755 --- a/ruby-client-sdk/openapi.gemspec +++ b/ruby-client-sdk/openapi.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'openapi' - s.version = '1.33.1' + s.version = '1.33.2' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/ruby-client-sdk/test/telemetry_test.rb b/ruby-client-sdk/test/telemetry_test.rb index 4335d0967..6d1aae429 100755 --- a/ruby-client-sdk/test/telemetry_test.rb +++ b/ruby-client-sdk/test/telemetry_test.rb @@ -15,7 +15,7 @@ def test_telemetry_user_agent_get refute_nil(res) assert_equal(Rack::Utils.status_code(:ok), res.status_code) - assert_equal('speakeasy-sdk/ruby 1.33.1 2.130.1 0.1.0', res.res.headers['X-Speakeasy-User-Agent']) + assert_equal('speakeasy-sdk/ruby 1.33.2 2.131.1 0.1.0', res.res.headers['X-Speakeasy-User-Agent']) end @@ -29,7 +29,7 @@ def test_telemetry_speakeasy_user_agent_get refute_nil(res) assert_equal(Rack::Utils.status_code(:ok), res.status_code) assert_equal(user_agent, res.res.headers['User-Agent']) - assert_equal('speakeasy-sdk/ruby 1.33.1 2.130.1 0.1.0', res.res.headers['X-Speakeasy-User-Agent']) + assert_equal('speakeasy-sdk/ruby 1.33.2 2.131.1 0.1.0', res.res.headers['X-Speakeasy-User-Agent']) end end diff --git a/typescript-client-sdk/__tests__/telemetry.test.ts b/typescript-client-sdk/__tests__/telemetry.test.ts index 53303a19a..cbe8d53a1 100755 --- a/typescript-client-sdk/__tests__/telemetry.test.ts +++ b/typescript-client-sdk/__tests__/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 1.35.1 2.130.1 0.1.0" + "speakeasy-sdk/typescript 1.35.2 2.131.1 0.1.0" ); }); @@ -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 1.35.1 2.130.1 0.1.0" + "speakeasy-sdk/typescript 1.35.2 2.131.1 0.1.0" ); }); diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md index e61b18c92..b4216ffdb 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraybigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *number*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md index ac0b57736..675aad400 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ----------------------------------- | ----------------------------------- | ----------------------------------- | ----------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | [RFCDate](../../types/rfcdate.md)[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md index b419e7f38..3a368c3d7 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesarraydecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *string*[] | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md index 14d1d8217..2ca0e0711 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigint200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md index 710643405..ba47ae0ac 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md index 44bf05fe5..4fae5b2ba 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdate200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md index 182f9db46..139b37787 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md index a19034d45..61e50c129 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *number* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md index 78d166afb..9361e6907 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesdecimalstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------ | ------------------ | ------------------ | ------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | *string* | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md index 4898868c4..e3618fce6 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapbigintstr200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md index cdf680bbc..4dd056404 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdatetime200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------- | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md index af81b1bb8..bf1e41c71 100755 --- a/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md +++ b/typescript-client-sdk/docs/models/operations/requestbodypostjsondatatypesmapdecimal200applicationjson.md @@ -7,4 +7,5 @@ OK | Field | Type | Required | Description | | ------------------------ | ------------------------ | ------------------------ | ------------------------ | +| `data` | *string* | :heavy_check_mark: | N/A | | `json` | Record | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/gen.yaml b/typescript-client-sdk/gen.yaml index c637b0b12..3e389974f 100755 --- a/typescript-client-sdk/gen.yaml +++ b/typescript-client-sdk/gen.yaml @@ -1,9 +1,9 @@ configVersion: 1.0.0 management: - docChecksum: 438034cce53a2da9414d89b820102ba8 + docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 docVersion: 0.1.0 - speakeasyVersion: 1.91.1 - generationVersion: 2.130.1 + speakeasyVersion: 1.91.2 + generationVersion: 2.131.1 generation: sdkClassName: SDK singleTagPerOp: false @@ -31,7 +31,7 @@ features: retries: 2.82.0 serverIDs: 2.81.1 typescript: - version: 1.35.1 + version: 1.35.2 author: Speakeasy clientServerStatusCodesAsErrors: true maxMethodParams: 5 diff --git a/typescript-client-sdk/package-lock.json b/typescript-client-sdk/package-lock.json index 20681c340..50da34d53 100755 --- a/typescript-client-sdk/package-lock.json +++ b/typescript-client-sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "openapi", - "version": "1.35.1", + "version": "1.35.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "openapi", - "version": "1.35.1", + "version": "1.35.2", "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 629b0ba61..a1e03ad81 100755 --- a/typescript-client-sdk/package.json +++ b/typescript-client-sdk/package.json @@ -1,6 +1,6 @@ { "name": "openapi", - "version": "1.35.1", + "version": "1.35.2", "author": "Speakeasy", "scripts": { "prepare": "tsc --build", diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.ts index 29d5bb930..c1ab123c4 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraybigint.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesArrayBigInt200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: number[]; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.ts index 84cde99d5..1835f74cd 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydate.ts @@ -11,6 +11,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesArrayDate200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: RFCDate[]; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.ts index 11a5d1a43..1ca8d4511 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesarraydecimalstr.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesArrayDecimalStr200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: string[]; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.ts index 8c4e31a7b..01b86a881 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigint.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesBigInt200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: number; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.ts index 6a74637b6..857e0d307 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesbigintstr.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesBigIntStr200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: string; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.ts index f1ed83bd3..13e891643 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdate.ts @@ -11,6 +11,10 @@ import { Expose, Transform } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesDate200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) @Transform(({ value }) => new RFCDate(value), { toClassOnly: true }) diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.ts index b9caf471a..ddd3d1227 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdatetime.ts @@ -10,6 +10,10 @@ import { Expose, Transform } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesDateTime200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) @Transform(({ value }) => new Date(value), { toClassOnly: true }) diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.ts index 0bdd98a27..6316906c6 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimal.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesDecimal200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: number; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.ts index 6b228497d..19540bd1b 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesdecimalstr.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesDecimalStr200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: string; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.ts index c941fec4b..1ff13f7aa 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapbigintstr.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesMapBigIntStr200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: Record; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.ts index 30c239fdd..42125ad8b 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdatetime.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesMapDateTime200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: Record; diff --git a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.ts b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.ts index 1998b5034..768e6657e 100755 --- a/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.ts +++ b/typescript-client-sdk/src/sdk/models/operations/requestbodypostjsondatatypesmapdecimal.ts @@ -10,6 +10,10 @@ import { Expose } from "class-transformer"; * OK */ export class RequestBodyPostJSONDataTypesMapDecimal200ApplicationJSON extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "data" }) + data: string; + @SpeakeasyMetadata() @Expose({ name: "json" }) json: Record; diff --git a/typescript-client-sdk/src/sdk/sdk.ts b/typescript-client-sdk/src/sdk/sdk.ts index 34e23e631..222fb2ab4 100755 --- a/typescript-client-sdk/src/sdk/sdk.ts +++ b/typescript-client-sdk/src/sdk/sdk.ts @@ -130,8 +130,8 @@ export class SDKConfiguration { serverDefaults: any; language = "typescript"; openapiDocVersion = "0.1.0"; - sdkVersion = "1.35.1"; - genVersion = "2.130.1"; + sdkVersion = "1.35.2"; + genVersion = "2.131.1"; globals: any; retryConfig?: utils.RetryConfig; public constructor(init?: Partial) {