From bc50d01db0bbbb21e3891e32eab2e53922dcff4b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Thu, 28 Sep 2023 18:18:09 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.91.2 --- RELEASES.md | 17 +- go-client-sdk/README.md | 133 ++- go-client-sdk/USAGE.md | 129 ++- .../usageexamplepost200applicationjsonjson.md | 14 +- .../operations/usageexamplepostrequest.md | 34 +- .../operations/usageexamplepostrequestbody.md | 14 +- .../models/shared/fakerformattedstrings.md | 27 + .../docs/models/shared/fakerstrings.md | 62 ++ .../docs/models/shared/simpleobject.md | 2 +- .../models/shared/simpleobjectwithtype.md | 2 +- go-client-sdk/docs/sdks/auth/README.md | 4 +- go-client-sdk/docs/sdks/authnew/README.md | 88 +- .../docs/sdks/documentation/README.md | 2 +- go-client-sdk/docs/sdks/errors/README.md | 4 +- go-client-sdk/docs/sdks/flattening/README.md | 36 +- go-client-sdk/docs/sdks/generation/README.md | 159 +++- go-client-sdk/docs/sdks/globals/README.md | 4 +- go-client-sdk/docs/sdks/pagination/README.md | 22 +- go-client-sdk/docs/sdks/parameters/README.md | 296 +++---- .../docs/sdks/requestbodies/README.md | 702 +++++++-------- go-client-sdk/docs/sdks/resource/README.md | 30 +- .../docs/sdks/responsebodies/README.md | 22 +- go-client-sdk/docs/sdks/retries/README.md | 4 +- go-client-sdk/docs/sdks/sdk/README.md | 2 +- go-client-sdk/docs/sdks/telemetry/README.md | 2 +- go-client-sdk/docs/sdks/unions/README.md | 16 +- go-client-sdk/files.gen | 4 + go-client-sdk/gen.yaml | 4 +- .../pkg/models/operations/usageexamplepost.go | 176 +--- .../models/shared/fakerformattedstrings.go | 169 ++++ .../pkg/models/shared/fakerstrings.go | 431 ++++++++++ go-client-sdk/sdk.go | 2 +- go-client-sdk/tests/telemetry_test.go | 4 +- java-client-sdk/README.md | 107 ++- java-client-sdk/USAGE.md | 105 ++- .../UsageExamplePost200ApplicationJSONJSON.md | 14 +- .../operations/UsageExamplePostRequest.md | 34 +- .../operations/UsageExamplePostRequestBody.md | 14 +- .../models/shared/FakerFormattedStrings.md | 27 + .../docs/models/shared/FakerStrings.md | 62 ++ .../docs/models/shared/SimpleObject.md | 2 +- .../models/shared/SimpleObjectWithType.md | 2 +- java-client-sdk/docs/sdks/auth/README.md | 2 +- java-client-sdk/docs/sdks/authnew/README.md | 88 +- .../docs/sdks/documentation/README.md | 2 +- java-client-sdk/docs/sdks/errors/README.md | 4 +- .../docs/sdks/flattening/README.md | 44 +- .../docs/sdks/generation/README.md | 125 ++- java-client-sdk/docs/sdks/globals/README.md | 4 +- .../docs/sdks/pagination/README.md | 20 +- .../docs/sdks/parameters/README.md | 388 +++++---- .../docs/sdks/requestbodies/README.md | 696 +++++++-------- java-client-sdk/docs/sdks/resource/README.md | 38 +- .../docs/sdks/responsebodies/README.md | 14 +- java-client-sdk/docs/sdks/retries/README.md | 2 +- java-client-sdk/docs/sdks/sdk/README.md | 2 +- java-client-sdk/docs/sdks/telemetry/README.md | 2 +- java-client-sdk/docs/sdks/unions/README.md | 172 ++-- java-client-sdk/files.gen | 4 + java-client-sdk/gen.yaml | 4 +- java-client-sdk/gradlew.bat | 182 ++-- java-client-sdk/lib/build.gradle | 2 +- .../openapis/openapi/SDKConfiguration.java | 2 +- ...sageExamplePost200ApplicationJSONJSON.java | 116 +-- .../UsageExamplePostRequestBody.java | 116 +-- .../models/shared/FakerFormattedStrings.java | 233 +++++ .../openapi/models/shared/FakerStrings.java | 494 +++++++++++ .../org/openapis/openapi/TelemetryTests.java | 4 +- php-client-sdk/README.md | 131 ++- php-client-sdk/USAGE.md | 129 ++- .../UsageExamplePost200ApplicationJSONJSON.md | 14 +- .../operations/UsageExamplePostRequest.md | 34 +- .../operations/UsageExamplePostRequestBody.md | 14 +- .../models/shared/FakerFormattedStrings.md | 27 + .../docs/models/shared/FakerStrings.md | 62 ++ .../docs/models/shared/SimpleObject.md | 2 +- .../models/shared/SimpleObjectWithType.md | 2 +- php-client-sdk/docs/sdks/auth/README.md | 2 +- php-client-sdk/docs/sdks/authnew/README.md | 44 +- .../docs/sdks/documentation/README.md | 2 +- php-client-sdk/docs/sdks/errors/README.md | 4 +- php-client-sdk/docs/sdks/flattening/README.md | 38 +- php-client-sdk/docs/sdks/generation/README.md | 147 +++- php-client-sdk/docs/sdks/globals/README.md | 4 +- php-client-sdk/docs/sdks/pagination/README.md | 20 +- php-client-sdk/docs/sdks/parameters/README.md | 263 +++--- .../docs/sdks/requestbodies/README.md | 480 +++++------ php-client-sdk/docs/sdks/resource/README.md | 38 +- .../docs/sdks/responsebodies/README.md | 14 +- php-client-sdk/docs/sdks/retries/README.md | 2 +- php-client-sdk/docs/sdks/sdk/README.md | 2 +- php-client-sdk/docs/sdks/telemetry/README.md | 2 +- php-client-sdk/docs/sdks/unions/README.md | 158 ++-- php-client-sdk/files.gen | 4 + php-client-sdk/gen.yaml | 4 +- ...UsageExamplePost200ApplicationJSONJSON.php | 112 +-- .../UsageExamplePostRequestBody.php | 112 +-- .../Models/Shared/FakerFormattedStrings.php | 221 +++++ .../src/Models/Shared/FakerStrings.php | 341 ++++++++ php-client-sdk/src/SDKConfiguration.php | 2 +- php-client-sdk/tests/TelemetryTest.php | 4 +- python-client-sdk/README.md | 133 ++- python-client-sdk/USAGE.md | 129 ++- .../usageexamplepost200applicationjsonjson.md | 14 +- .../operations/usageexamplepostrequest.md | 34 +- .../operations/usageexamplepostrequestbody.md | 14 +- .../models/shared/fakerformattedstrings.md | 27 + .../docs/models/shared/fakerstrings.md | 62 ++ .../docs/models/shared/simpleobject.md | 2 +- .../models/shared/simpleobjectwithtype.md | 2 +- python-client-sdk/docs/sdks/auth/README.md | 2 +- python-client-sdk/docs/sdks/authnew/README.md | 88 +- .../docs/sdks/documentation/README.md | 2 +- python-client-sdk/docs/sdks/errors/README.md | 4 +- .../docs/sdks/flattening/README.md | 34 +- .../docs/sdks/generation/README.md | 153 +++- python-client-sdk/docs/sdks/globals/README.md | 4 +- .../docs/sdks/pagination/README.md | 20 +- .../docs/sdks/parameters/README.md | 278 +++--- .../docs/sdks/requestbodies/README.md | 688 +++++++-------- .../docs/sdks/resource/README.md | 32 +- .../docs/sdks/responsebodies/README.md | 14 +- python-client-sdk/docs/sdks/retries/README.md | 2 +- python-client-sdk/docs/sdks/sdk/README.md | 2 +- .../docs/sdks/telemetry/README.md | 2 +- python-client-sdk/docs/sdks/unions/README.md | 8 +- python-client-sdk/files.gen | 4 + python-client-sdk/gen.yaml | 4 +- python-client-sdk/setup.py | 2 +- .../sdk/models/operations/usageexamplepost.py | 50 +- .../src/sdk/models/shared/__init__.py | 4 +- .../models/shared/fakerformattedstrings.py | 52 ++ .../src/sdk/models/shared/fakerstrings.py | 69 ++ python-client-sdk/src/sdk/sdkconfiguration.py | 2 +- python-client-sdk/tests/test_telemetry.py | 4 +- ruby-client-sdk/README.md | 232 +++-- ruby-client-sdk/USAGE.md | 226 +++-- .../usageexamplepost200applicationjsonjson.md | 14 +- .../operations/usageexamplepostrequest.md | 34 +- .../operations/usageexamplepostrequestbody.md | 14 +- .../models/shared/fakerformattedstrings.md | 27 + .../docs/models/shared/fakerstrings.md | 62 ++ .../docs/models/shared/simpleobject.md | 2 +- .../models/shared/simpleobjectwithtype.md | 2 +- ruby-client-sdk/docs/sdks/auth/README.md | 4 +- ruby-client-sdk/docs/sdks/authnew/README.md | 84 +- .../docs/sdks/documentation/README.md | 2 +- ruby-client-sdk/docs/sdks/errors/README.md | 4 +- .../docs/sdks/flattening/README.md | 72 +- .../docs/sdks/generation/README.md | 260 ++++-- .../docs/sdks/pagination/README.md | 22 +- .../docs/sdks/parameters/README.md | 314 +++---- .../docs/sdks/requestbodies/README.md | 810 ++++++++--------- ruby-client-sdk/docs/sdks/resource/README.md | 40 +- .../docs/sdks/responsebodies/README.md | 16 +- ruby-client-sdk/docs/sdks/retries/README.md | 4 +- ruby-client-sdk/docs/sdks/sdk/README.md | 2 +- ruby-client-sdk/docs/sdks/telemetry/README.md | 2 +- ruby-client-sdk/docs/sdks/unions/README.md | 215 +++-- ruby-client-sdk/files.gen | 4 + ruby-client-sdk/gen.yaml | 4 +- ruby-client-sdk/lib/openapi.rb | 2 + .../sdk/models/operations/usageexamplepost.rb | 90 +- .../models/shared/fakerformattedstrings.rb | 76 ++ .../lib/sdk/models/shared/fakerstrings.rb | 181 ++++ ruby-client-sdk/lib/sdk/sdkconfiguration.rb | 2 +- ruby-client-sdk/openapi.gemspec | 2 +- ruby-client-sdk/test/telemetry_test.rb | 4 +- typescript-client-sdk/README.md | 133 ++- typescript-client-sdk/USAGE.md | 129 ++- .../__tests__/telemetry.test.ts | 4 +- .../usageexamplepost200applicationjsonjson.md | 14 +- .../operations/usageexamplepostrequest.md | 34 +- .../operations/usageexamplepostrequestbody.md | 14 +- .../models/shared/fakerformattedstrings.md | 27 + .../docs/models/shared/fakerstrings.md | 62 ++ .../docs/models/shared/simpleobject.md | 2 +- .../models/shared/simpleobjectwithtype.md | 2 +- .../docs/sdks/auth/README.md | 4 +- .../docs/sdks/authnew/README.md | 88 +- .../docs/sdks/documentation/README.md | 2 +- .../docs/sdks/errors/README.md | 4 +- .../docs/sdks/flattening/README.md | 36 +- .../docs/sdks/generation/README.md | 159 +++- .../docs/sdks/globals/README.md | 4 +- .../docs/sdks/pagination/README.md | 22 +- .../docs/sdks/parameters/README.md | 304 +++---- .../docs/sdks/requestbodies/README.md | 814 +++++++++--------- .../docs/sdks/resource/README.md | 42 +- .../docs/sdks/responsebodies/README.md | 16 +- .../docs/sdks/retries/README.md | 4 +- typescript-client-sdk/docs/sdks/sdk/README.md | 2 +- .../docs/sdks/telemetry/README.md | 2 +- .../docs/sdks/unions/README.md | 202 ++--- typescript-client-sdk/files.gen | 4 + typescript-client-sdk/gen.yaml | 4 +- typescript-client-sdk/package-lock.json | 4 +- typescript-client-sdk/package.json | 2 +- .../sdk/models/operations/usageexamplepost.ts | 140 +-- .../models/shared/fakerformattedstrings.ts | 137 +++ .../src/sdk/models/shared/fakerstrings.ts | 223 +++++ .../src/sdk/models/shared/index.ts | 2 + typescript-client-sdk/src/sdk/sdk.ts | 2 +- 203 files changed, 9722 insertions(+), 5871 deletions(-) create mode 100755 go-client-sdk/docs/models/shared/fakerformattedstrings.md create mode 100755 go-client-sdk/docs/models/shared/fakerstrings.md create mode 100755 go-client-sdk/pkg/models/shared/fakerformattedstrings.go create mode 100755 go-client-sdk/pkg/models/shared/fakerstrings.go create mode 100755 java-client-sdk/docs/models/shared/FakerFormattedStrings.md create mode 100755 java-client-sdk/docs/models/shared/FakerStrings.md create mode 100755 java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerFormattedStrings.java create mode 100755 java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerStrings.java create mode 100755 php-client-sdk/docs/models/shared/FakerFormattedStrings.md create mode 100755 php-client-sdk/docs/models/shared/FakerStrings.md create mode 100755 php-client-sdk/src/Models/Shared/FakerFormattedStrings.php create mode 100755 php-client-sdk/src/Models/Shared/FakerStrings.php create mode 100755 python-client-sdk/docs/models/shared/fakerformattedstrings.md create mode 100755 python-client-sdk/docs/models/shared/fakerstrings.md create mode 100755 python-client-sdk/src/sdk/models/shared/fakerformattedstrings.py create mode 100755 python-client-sdk/src/sdk/models/shared/fakerstrings.py create mode 100755 ruby-client-sdk/docs/models/shared/fakerformattedstrings.md create mode 100755 ruby-client-sdk/docs/models/shared/fakerstrings.md create mode 100755 ruby-client-sdk/lib/sdk/models/shared/fakerformattedstrings.rb create mode 100755 ruby-client-sdk/lib/sdk/models/shared/fakerstrings.rb create mode 100755 typescript-client-sdk/docs/models/shared/fakerformattedstrings.md create mode 100755 typescript-client-sdk/docs/models/shared/fakerstrings.md create mode 100755 typescript-client-sdk/src/sdk/models/shared/fakerformattedstrings.ts create mode 100755 typescript-client-sdk/src/sdk/models/shared/fakerstrings.ts diff --git a/RELEASES.md b/RELEASES.md index e1522fb99..ac50e0c48 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -720,4 +720,19 @@ Based on: - [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 +- [Go v1.35.2] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.35.2 - go-client-sdk + +## 2023-09-28 18:15:12 +### Changes +Based on: +- OpenAPI Doc 0.1.0 +- Speakeasy CLI 1.91.2 (2.131.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [go v1.35.3] go-client-sdk +- [java v1.33.3] java-client-sdk +- [php v1.33.3] php-client-sdk +- [python v1.34.3] python-client-sdk +- [ruby v1.33.3] ruby-client-sdk +- [typescript v1.35.3] typescript-client-sdk +### Releases +- [Go v1.35.3] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.35.3 - go-client-sdk \ No newline at end of file diff --git a/go-client-sdk/README.md b/go-client-sdk/README.md index 9377356ec..243a1398d 100755 --- a/go-client-sdk/README.md +++ b/go-client-sdk/README.md @@ -70,27 +70,95 @@ func main() { ctx := context.Background() res, err := s.Generation.UsageExamplePost(ctx, operations.UsageExamplePostRequest{ RequestBody: &operations.UsageExamplePostRequestBody{ - Email: openapi.String("Vada_Hills@gmail.com"), - FormatEmail: openapi.String("Avery_Mueller9@gmail.com"), - FormatURI: openapi.String("https://witty-swim.info"), - FormatUUID: openapi.String("8f097b00-74f1-4547-9b5e-6e13b99d488e"), - Hostname: openapi.String("bronze-trafficker.name"), - Ipv4: openapi.String("21.237.71.81"), - Ipv6: openapi.String("0ad2:abd4:4269:802d:502a:94bb:4f63:c969"), + FakerFormattedStrings: &shared.FakerFormattedStrings{ + AddressFormat: openapi.String("95744 Farrell Port"), + DirectoryFormat: openapi.String("numquam"), + DomainFormat: openapi.String("veritatis"), + EmailFormat: openapi.String("Anabelle.Kerluke@gmail.com"), + FilenameFormat: openapi.String("accusamus"), + FilepathFormat: openapi.String("quidem"), + ImageFormat: openapi.String("voluptatibus"), + Ipv4Format: openapi.String("96.158.45.138"), + Ipv6Format: openapi.String("0d1b:a77a:89eb:f737:ae42:03ce:5e6a:95d8"), + JSONFormat: openapi.String("{"foo":"!r>:Hks2`y","bar":68748,"bike":21550,"a":"y6dr8>4zQL","b":71158,"name":15369,"prop":73044}"), + MacFormat: openapi.String("voluptas"), + PasswordFormat: openapi.String("deserunt"), + PhoneFormat: openapi.String("321.688.7165 x211"), + TimezoneFormat: openapi.String("distinctio"), + UnknownFormat: openapi.String("facilis"), + URLFormat: openapi.String("aliquid"), + UUIDFormat: openapi.String("79d23227-15bf-40cb-b1e3-1b8b90f3443a"), + ZipcodeFormat: openapi.String("00590"), + }, + FakerStrings: &shared.FakerStrings{ + City: openapi.String("Skilesfield"), + Iban: openapi.String("doloribus"), + ID: openapi.String("4b921879-fce9-453f-b3ef-7fbc7abd74dd"), + IPv4: openapi.String("49.158.197.3"), + IPv6: openapi.String("f5d2:cff7:c70a:4562:6d43:6813:f16d:9f5f"), + Account: openapi.String("quisquam"), + Address: openapi.String("473 Greg Circle"), + Amount: openapi.String("magnam"), + Avatar: openapi.String("ea"), + Color: openapi.String("quo"), + Comment: openapi.String("consectetur"), + Company: openapi.String("Cole, Hane and Becker"), + Country: openapi.String("Uruguay"), + CountryCode: openapi.String("PN"), + Currency: openapi.String("aut"), + Datatype: openapi.String("aut"), + Default: openapi.String("deleniti"), + Description: openapi.String("impedit"), + Directory: openapi.String("aliquam"), + DomainName: openapi.String("fugit"), + EmailAddr: openapi.String("accusamus"), + Extension: openapi.String("inventore"), + Filename: openapi.String("non"), + Filepath: openapi.String("et"), + Filetype: openapi.String("dolorum"), + FirstName: openapi.String("Margarett"), + FullName: openapi.String("placeat"), + Gender: openapi.String("female"), + Job: openapi.String("eum"), + JSON: openapi.String("{"foo":75213,"bar":"nqDd):8-X&","bike":30159,"a":26211,"b":45614,"name":"`Jap;IDm1P","prop":")&^a4ioi`9"}"), + Key: openapi.String("eos"), + LastName: openapi.String("Hintz"), + Latitude: openapi.String("ab"), + Locale: openapi.String("cupiditate"), + Longitude: openapi.String("consequatur"), + Mac: openapi.String("tempora"), + Manufacturer: openapi.String("debitis"), + Material: openapi.String("ipsam"), + MiddleName: openapi.String("aspernatur"), + Model: openapi.String("sequi"), + Password: openapi.String("quo"), + Phone: openapi.String("907.840.4583 x454"), + Pin: openapi.String("sapiente"), + PostalCode: openapi.String("64074"), + Price: openapi.String("quas"), + Product: openapi.String("praesentium"), + Sex: openapi.String("female"), + Street: openapi.String("1662 Champlin Glen"), + Timezone: openapi.String("nisi"), + Unit: openapi.String("fugit"), + URL: openapi.String("sapiente"), + Username: openapi.String("Carol90"), + UUID: openapi.String("9817ee17-cbe6-41e6-b7b9-5bc0ab3c20c4"), + }, SimpleObject: &shared.SimpleObject{ - Any: "necessitatibus", - Bigint: big.NewInt(572252), - BigintStr: big.NewInt(638921), + Any: "sapiente", + Bigint: big.NewInt(232865), + BigintStr: big.NewInt(458139), Bool: true, BoolOpt: openapi.Bool(true), Date: types.MustDateFromString("2020-01-01"), - DateTime: types.MustTimeFromString("2020-01-01T00:00:00Z"), - Decimal: types.MustNewDecimalFromString("2230.81"), + DateTime: types.MustTimeFromString("2020-01-01T00:00:00.000Z"), + Decimal: types.MustNewDecimalFromString("5034.27"), Enum: shared.EnumTwo, Float32: 2.2222222, Int: 999999, Int32: 1, - Int32Enum: shared.SimpleObjectInt32EnumOneHundredAndEightyOne, + Int32Enum: shared.SimpleObjectInt32EnumSixtyNine, IntEnum: shared.SimpleObjectIntEnumThird, IntOptNull: openapi.Int64(999999), Num: 1.1, @@ -98,30 +166,27 @@ func main() { Str: "example", StrOpt: openapi.String("optional example"), }, - Unknown: openapi.String("dolorum"), - URI: openapi.String("http://irritating-standardisation.org"), - UUID: openapi.String("b14cd66a-e395-4efb-9ba8-8f3a66997074"), }, - BigintParameter: big.NewInt(111111), - BigintParameterOptional: big.NewInt(111111), - BigintStrParameter: big.NewInt(111111), - BigintStrParameterOptional: big.NewInt(111111), + BigintParameter: big.NewInt(857723), + BigintParameterOptional: big.NewInt(557811), + BigintStrParameter: big.NewInt(457223), + BigintStrParameterOptional: big.NewInt(97468), BoolParameter: false, - DateParameter: types.MustDateFromString("2020-01-01"), - DateTimeParameter: types.MustTimeFromString("2020-01-01T00:00:00Z"), - DecimalParameter: types.MustNewDecimalFromString("1.1"), - DecimalParameterOptional: types.MustNewDecimalFromString("1.1"), - DecimalStrParameter: types.MustNewDecimalFromString("1.1"), - DecimalStrParameterOptional: types.MustNewDecimalFromString("1.1"), - DoubleParameter: 2.2222222, - EnumParameter: operations.UsageExamplePostEnumParameterValue3, + DateParameter: types.MustDateFromString("2021-02-19"), + DateTimeParameter: types.MustTimeFromString("2021-04-10T23:50:37.359Z"), + DecimalParameter: types.MustNewDecimalFromString("8207.67"), + DecimalParameterOptional: types.MustNewDecimalFromString("1576.32"), + DecimalStrParameter: types.MustNewDecimalFromString("9088.44"), + DecimalStrParameterOptional: types.MustNewDecimalFromString("9924.3"), + DoubleParameter: 8155.24, + EnumParameter: operations.UsageExamplePostEnumParameterValue1, FalseyNumberParameter: 0, - Float32Parameter: 1.1, - FloatParameter: 1.1, - Int64Parameter: 111111, - IntParameter: 1, + Float32Parameter: 1594.14, + FloatParameter: 944.58, + Int64Parameter: 628899, + IntParameter: 633608, OptEnumParameter: operations.UsageExamplePostOptEnumParameterValue3.ToPointer(), - StrParameter: "example 3", + StrParameter: "example 2", }, operationSecurity) if err != nil { log.Fatal(err) @@ -444,7 +509,7 @@ func main() { ctx := context.Background() res, err := s.PaginationCursorBody(ctx, operations.PaginationCursorBodyRequestBody{ - Cursor: 693957, + Cursor: 718627, }) if err != nil { log.Fatal(err) diff --git a/go-client-sdk/USAGE.md b/go-client-sdk/USAGE.md index 2408ee673..3f7e5d0e3 100755 --- a/go-client-sdk/USAGE.md +++ b/go-client-sdk/USAGE.md @@ -61,22 +61,90 @@ func main() { ctx := context.Background() res, err := s.Generation.UsageExamplePost(ctx, operations.UsageExamplePostRequest{ RequestBody: &operations.UsageExamplePostRequestBody{ - Email: openapi.String("Larue_Rau85@yahoo.com"), - FormatEmail: openapi.String("Roselyn_Kassulke@yahoo.com"), - FormatURI: openapi.String("http://innocent-effect.org"), - FormatUUID: openapi.String("0f467cc8-796e-4d15-9a05-dfc2ddf7cc78"), - Hostname: openapi.String("soulful-poppy.com"), - Ipv4: openapi.String("184.163.148.36"), - Ipv6: openapi.String("8fc8:1674:2cb7:3920:5929:396f:ea75:96eb"), + FakerFormattedStrings: &shared.FakerFormattedStrings{ + AddressFormat: openapi.String("5786 Little Streets"), + DirectoryFormat: openapi.String("vel"), + DomainFormat: openapi.String("error"), + EmailFormat: openapi.String("Gerda89@yahoo.com"), + FilenameFormat: openapi.String("ipsa"), + FilepathFormat: openapi.String("delectus"), + ImageFormat: openapi.String("tempora"), + Ipv4Format: openapi.String("98.122.202.207"), + Ipv6Format: openapi.String("8796:ed15:1a05:dfc2:ddf7:cc78:ca1b:a928"), + JSONFormat: openapi.String("{"foo":"gQ*GM92ieK","bar":56843,"bike":1878,"a":61763,"b":61209,"name":61693,"prop":94374}"), + MacFormat: openapi.String("saepe"), + PasswordFormat: openapi.String("fuga"), + PhoneFormat: openapi.String("464.960.0966 x612"), + TimezoneFormat: openapi.String("corporis"), + UnknownFormat: openapi.String("explicabo"), + URLFormat: openapi.String("nobis"), + UUIDFormat: openapi.String("5955907a-ff1a-43a2-ba94-67739251aa52"), + ZipcodeFormat: openapi.String("19368-0068"), + }, + FakerStrings: &shared.FakerStrings{ + City: openapi.String("Boyerworth"), + Iban: openapi.String("voluptatibus"), + ID: openapi.String("e78f097b-0074-4f15-871b-5e6e13b99d48"), + IPv4: openapi.String("133.234.24.235"), + IPv6: openapi.String("91e4:50ad:2abd:4426:9802:d502:a94b:b4f6"), + Account: openapi.String("non"), + Address: openapi.String("535 Marquardt Pine"), + Amount: openapi.String("dolor"), + Avatar: openapi.String("debitis"), + Color: openapi.String("a"), + Comment: openapi.String("dolorum"), + Company: openapi.String("Kirlin - Stamm"), + Country: openapi.String("Virgin Islands, U.S."), + CountryCode: openapi.String("PF"), + Currency: openapi.String("dicta"), + Datatype: openapi.String("magnam"), + Default: openapi.String("cumque"), + Description: openapi.String("facere"), + Directory: openapi.String("ea"), + DomainName: openapi.String("aliquid"), + EmailAddr: openapi.String("laborum"), + Extension: openapi.String("accusamus"), + Filename: openapi.String("non"), + Filepath: openapi.String("occaecati"), + Filetype: openapi.String("enim"), + FirstName: openapi.String("Shannon"), + FullName: openapi.String("delectus"), + Gender: openapi.String("male"), + Job: openapi.String("provident"), + JSON: openapi.String("{"foo":"^ORy6\\EHZY","bar":1919,"bike":30157,"a":"^;;DZfHr-*","b":9237,"name":"AWTV$]{]>I","prop":89654}"), + Key: openapi.String("odit"), + LastName: openapi.String("Hilll"), + Latitude: openapi.String("quasi"), + Locale: openapi.String("iure"), + Longitude: openapi.String("doloribus"), + Mac: openapi.String("debitis"), + Manufacturer: openapi.String("eius"), + Material: openapi.String("maxime"), + MiddleName: openapi.String("deleniti"), + Model: openapi.String("facilis"), + Password: openapi.String("in"), + Phone: openapi.String("(293) 749-8198"), + Pin: openapi.String("accusantium"), + PostalCode: openapi.String("56117"), + Price: openapi.String("illum"), + Product: openapi.String("pariatur"), + Sex: openapi.String("male"), + Street: openapi.String("5140 Willow Radial"), + Timezone: openapi.String("ipsam"), + Unit: openapi.String("voluptate"), + URL: openapi.String("autem"), + Username: openapi.String("Mireya.Beatty97"), + UUID: openapi.String("0d30c5fb-b258-4705-b202-c73d5fe9b90c"), + }, SimpleObject: &shared.SimpleObject{ - Any: "architecto", - Bigint: big.NewInt(60225), - BigintStr: big.NewInt(969810), + Any: "consequuntur", + Bigint: big.NewInt(500026), + BigintStr: big.NewInt(621479), Bool: true, BoolOpt: openapi.Bool(true), Date: types.MustDateFromString("2020-01-01"), - DateTime: types.MustTimeFromString("2020-01-01T00:00:00Z"), - Decimal: types.MustNewDecimalFromString("6667.67"), + DateTime: types.MustTimeFromString("2020-01-01T00:00:00.000Z"), + Decimal: types.MustNewDecimalFromString("503.7"), Enum: shared.EnumTwo, Float32: 2.2222222, Int: 999999, @@ -89,30 +157,27 @@ func main() { Str: "example", StrOpt: openapi.String("optional example"), }, - Unknown: openapi.String("dolores"), - URI: openapi.String("http://growing-cappelletti.net"), - UUID: openapi.String("5955907a-ff1a-43a2-ba94-67739251aa52"), }, - BigintParameter: big.NewInt(111111), - BigintParameterOptional: big.NewInt(111111), - BigintStrParameter: big.NewInt(111111), - BigintStrParameterOptional: big.NewInt(111111), + BigintParameter: big.NewInt(237893), + BigintParameterOptional: big.NewInt(992397), + BigintStrParameter: big.NewInt(934214), + BigintStrParameterOptional: big.NewInt(267262), BoolParameter: false, - DateParameter: types.MustDateFromString("2020-01-01"), - DateTimeParameter: types.MustTimeFromString("2020-01-01T00:00:00Z"), - DecimalParameter: types.MustNewDecimalFromString("1.1"), - DecimalParameterOptional: types.MustNewDecimalFromString("1.1"), - DecimalStrParameter: types.MustNewDecimalFromString("1.1"), - DecimalStrParameterOptional: types.MustNewDecimalFromString("1.1"), - DoubleParameter: 2.2222222, - EnumParameter: operations.UsageExamplePostEnumParameterValue3, + DateParameter: types.MustDateFromString("2021-08-23"), + DateTimeParameter: types.MustTimeFromString("2021-04-10T01:47:20.724Z"), + DecimalParameter: types.MustNewDecimalFromString("5899.1"), + DecimalParameterOptional: types.MustNewDecimalFromString("7508.44"), + DecimalStrParameter: types.MustNewDecimalFromString("7301.22"), + DecimalStrParameterOptional: types.MustNewDecimalFromString("9644.9"), + DoubleParameter: 3119.45, + EnumParameter: operations.UsageExamplePostEnumParameterValue2, FalseyNumberParameter: 0, - Float32Parameter: 1.1, - FloatParameter: 1.1, - Int64Parameter: 111111, - IntParameter: 1, + Float32Parameter: 3982.21, + FloatParameter: 2123.9, + Int64Parameter: 209843, + IntParameter: 222443, OptEnumParameter: operations.UsageExamplePostOptEnumParameterValue3.ToPointer(), - StrParameter: "example 3", + StrParameter: "example 1", }, operationSecurity) if err != nil { log.Fatal(err) diff --git a/go-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md b/go-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md index 2a64a4897..813e22307 100755 --- a/go-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md +++ b/go-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md @@ -5,14 +5,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Email` | **string* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `FormatEmail` | **string* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `FormatURI` | **string* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `FormatUUID` | **string* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `Hostname` | **string* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `Ipv4` | **string* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `Ipv6` | **string* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `SimpleObject` | [*shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `Unknown` | **string* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `URI` | **string* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `UUID` | **string* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `FakerFormattedStrings` | [*shared.FakerFormattedStrings](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `FakerStrings` | [*shared.FakerStrings](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `SimpleObject` | [*shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/usageexamplepostrequest.md b/go-client-sdk/docs/models/operations/usageexamplepostrequest.md index f94c04484..a8a9292fa 100755 --- a/go-client-sdk/docs/models/operations/usageexamplepostrequest.md +++ b/go-client-sdk/docs/models/operations/usageexamplepostrequest.md @@ -6,23 +6,23 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `RequestBody` | [*UsageExamplePostRequestBody](../../models/operations/usageexamplepostrequestbody.md) | :heavy_minus_sign: | A request body that contains fields with different formats for testing example generation | | -| `BigintParameter` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | An bigint parameter | 111111 | -| `BigintParameterOptional` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_minus_sign: | An bigint parameter | 111111 | -| `BigintStrParameter` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | An bigint parameter | 111111 | -| `BigintStrParameterOptional` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_minus_sign: | An bigint parameter | 111111 | -| `BoolParameter` | *bool* | :heavy_check_mark: | A boolean parameter | false | -| `DateParameter` | [types.Date](../../types/date.md) | :heavy_check_mark: | A date parameter | 2020-01-01 | -| `DateTimeParameter` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | A date time parameter | 2020-01-01T00:00:00Z | -| `DecimalParameter` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | A decimal parameter | 1.1 | -| `DecimalParameterOptional` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `DecimalStrParameter` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | A decimal parameter | 1.1 | -| `DecimalStrParameterOptional` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `DoubleParameter` | *float64* | :heavy_check_mark: | A double parameter | 2.2222222 | -| `EnumParameter` | [UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | value3 | +| `BigintParameter` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | An bigint parameter | | +| `BigintParameterOptional` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_minus_sign: | An bigint parameter | | +| `BigintStrParameter` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_check_mark: | An bigint parameter | | +| `BigintStrParameterOptional` | [*big.Int](https://pkg.go.dev/math/big#Int) | :heavy_minus_sign: | An bigint parameter | | +| `BoolParameter` | *bool* | :heavy_check_mark: | A boolean parameter | | +| `DateParameter` | [types.Date](../../types/date.md) | :heavy_check_mark: | A date parameter | | +| `DateTimeParameter` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | A date time parameter | | +| `DecimalParameter` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | A decimal parameter | | +| `DecimalParameterOptional` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | A decimal parameter | | +| `DecimalStrParameter` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_check_mark: | A decimal parameter | | +| `DecimalStrParameterOptional` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | A decimal parameter | | +| `DoubleParameter` | *float64* | :heavy_check_mark: | A double parameter | | +| `EnumParameter` | [UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | | | `FalseyNumberParameter` | *float64* | :heavy_check_mark: | A number parameter that contains a falsey example value | 0 | -| `Float32Parameter` | *float32* | :heavy_check_mark: | A float32 parameter | 1.1 | -| `FloatParameter` | *float64* | :heavy_check_mark: | A float parameter | 1.1 | -| `Int64Parameter` | *int64* | :heavy_check_mark: | An int64 parameter | 111111 | -| `IntParameter` | *int* | :heavy_check_mark: | An integer parameter | 1 | +| `Float32Parameter` | *float32* | :heavy_check_mark: | A float32 parameter | | +| `FloatParameter` | *float64* | :heavy_check_mark: | A float parameter | | +| `Int64Parameter` | *int64* | :heavy_check_mark: | An int64 parameter | | +| `IntParameter` | *int* | :heavy_check_mark: | An integer parameter | | | `OptEnumParameter` | [*UsageExamplePostOptEnumParameter](../../models/operations/usageexamplepostoptenumparameter.md) | :heavy_minus_sign: | An enum parameter | value3 | | `StrParameter` | *string* | :heavy_check_mark: | A string parameter | example 1 | \ No newline at end of file diff --git a/go-client-sdk/docs/models/operations/usageexamplepostrequestbody.md b/go-client-sdk/docs/models/operations/usageexamplepostrequestbody.md index 713db5db9..4964d1109 100755 --- a/go-client-sdk/docs/models/operations/usageexamplepostrequestbody.md +++ b/go-client-sdk/docs/models/operations/usageexamplepostrequestbody.md @@ -7,14 +7,6 @@ A request body that contains fields with different formats for testing example g | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `Email` | **string* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `FormatEmail` | **string* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `FormatURI` | **string* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `FormatUUID` | **string* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `Hostname` | **string* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `Ipv4` | **string* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `Ipv6` | **string* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `SimpleObject` | [*shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `Unknown` | **string* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `URI` | **string* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `UUID` | **string* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `FakerFormattedStrings` | [*shared.FakerFormattedStrings](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `FakerStrings` | [*shared.FakerStrings](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `SimpleObject` | [*shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/go-client-sdk/docs/models/shared/fakerformattedstrings.md b/go-client-sdk/docs/models/shared/fakerformattedstrings.md new file mode 100755 index 000000000..18ed40e9f --- /dev/null +++ b/go-client-sdk/docs/models/shared/fakerformattedstrings.md @@ -0,0 +1,27 @@ +# FakerFormattedStrings + +A set of strings with format values that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `AddressFormat` | **string* | :heavy_minus_sign: | A field that will have an address generated as example | +| `DirectoryFormat` | **string* | :heavy_minus_sign: | A field that will have a directory path generated as example | +| `DomainFormat` | **string* | :heavy_minus_sign: | A field that will have a domain name generated as example | +| `EmailFormat` | **string* | :heavy_minus_sign: | A field that will have an email address generated as example | +| `FilenameFormat` | **string* | :heavy_minus_sign: | A field that will have a filename generated as example | +| `FilepathFormat` | **string* | :heavy_minus_sign: | A field that will have a file path generated as example | +| `ImageFormat` | **string* | :heavy_minus_sign: | A field that will have a image url generated as example | +| `Ipv4Format` | **string* | :heavy_minus_sign: | A field that will have an IPv4 address generated as example | +| `Ipv6Format` | **string* | :heavy_minus_sign: | A field that will have an IPv6 address generated as example | +| `JSONFormat` | **string* | :heavy_minus_sign: | A field that will have a JSON generated as example | +| `MacFormat` | **string* | :heavy_minus_sign: | A field that will have a MAC address generated as example | +| `PasswordFormat` | **string* | :heavy_minus_sign: | A field that will have a fake password generated as example | +| `PhoneFormat` | **string* | :heavy_minus_sign: | A field that will have a phone number generated as example | +| `TimezoneFormat` | **string* | :heavy_minus_sign: | A field that will have a timezone generated as example | +| `UnknownFormat` | **string* | :heavy_minus_sign: | A field that will have random words generated as example | +| `URLFormat` | **string* | :heavy_minus_sign: | A field that will have a URL generated as example | +| `UUIDFormat` | **string* | :heavy_minus_sign: | A field that will have a UUID generated as example | +| `ZipcodeFormat` | **string* | :heavy_minus_sign: | A field that will have a postal code generated as example | \ No newline at end of file diff --git a/go-client-sdk/docs/models/shared/fakerstrings.md b/go-client-sdk/docs/models/shared/fakerstrings.md new file mode 100755 index 000000000..982ccbcbd --- /dev/null +++ b/go-client-sdk/docs/models/shared/fakerstrings.md @@ -0,0 +1,62 @@ +# FakerStrings + +A set of strings with fieldnames that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `City` | **string* | :heavy_minus_sign: | N/A | +| `Iban` | **string* | :heavy_minus_sign: | N/A | +| `ID` | **string* | :heavy_minus_sign: | N/A | +| `IPv4` | **string* | :heavy_minus_sign: | N/A | +| `IPv6` | **string* | :heavy_minus_sign: | N/A | +| `Account` | **string* | :heavy_minus_sign: | N/A | +| `Address` | **string* | :heavy_minus_sign: | N/A | +| `Amount` | **string* | :heavy_minus_sign: | N/A | +| `Avatar` | **string* | :heavy_minus_sign: | N/A | +| `Color` | **string* | :heavy_minus_sign: | N/A | +| `Comment` | **string* | :heavy_minus_sign: | N/A | +| `Company` | **string* | :heavy_minus_sign: | N/A | +| `Country` | **string* | :heavy_minus_sign: | N/A | +| `CountryCode` | **string* | :heavy_minus_sign: | N/A | +| `Currency` | **string* | :heavy_minus_sign: | N/A | +| `Datatype` | **string* | :heavy_minus_sign: | N/A | +| `Default` | **string* | :heavy_minus_sign: | N/A | +| `Description` | **string* | :heavy_minus_sign: | N/A | +| `Directory` | **string* | :heavy_minus_sign: | N/A | +| `DomainName` | **string* | :heavy_minus_sign: | N/A | +| `EmailAddr` | **string* | :heavy_minus_sign: | N/A | +| `Extension` | **string* | :heavy_minus_sign: | N/A | +| `Filename` | **string* | :heavy_minus_sign: | N/A | +| `Filepath` | **string* | :heavy_minus_sign: | N/A | +| `Filetype` | **string* | :heavy_minus_sign: | N/A | +| `FirstName` | **string* | :heavy_minus_sign: | N/A | +| `FullName` | **string* | :heavy_minus_sign: | N/A | +| `Gender` | **string* | :heavy_minus_sign: | N/A | +| `Job` | **string* | :heavy_minus_sign: | N/A | +| `JSON` | **string* | :heavy_minus_sign: | N/A | +| `Key` | **string* | :heavy_minus_sign: | N/A | +| `LastName` | **string* | :heavy_minus_sign: | N/A | +| `Latitude` | **string* | :heavy_minus_sign: | N/A | +| `Locale` | **string* | :heavy_minus_sign: | N/A | +| `Longitude` | **string* | :heavy_minus_sign: | N/A | +| `Mac` | **string* | :heavy_minus_sign: | N/A | +| `Manufacturer` | **string* | :heavy_minus_sign: | N/A | +| `Material` | **string* | :heavy_minus_sign: | N/A | +| `MiddleName` | **string* | :heavy_minus_sign: | N/A | +| `Model` | **string* | :heavy_minus_sign: | N/A | +| `Password` | **string* | :heavy_minus_sign: | N/A | +| `Phone` | **string* | :heavy_minus_sign: | N/A | +| `Pin` | **string* | :heavy_minus_sign: | N/A | +| `PostalCode` | **string* | :heavy_minus_sign: | N/A | +| `Price` | **string* | :heavy_minus_sign: | N/A | +| `Product` | **string* | :heavy_minus_sign: | N/A | +| `Sex` | **string* | :heavy_minus_sign: | N/A | +| `Street` | **string* | :heavy_minus_sign: | N/A | +| `Timezone` | **string* | :heavy_minus_sign: | N/A | +| `Unit` | **string* | :heavy_minus_sign: | N/A | +| `URL` | **string* | :heavy_minus_sign: | N/A | +| `Username` | **string* | :heavy_minus_sign: | N/A | +| `UUID` | **string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/go-client-sdk/docs/models/shared/simpleobject.md b/go-client-sdk/docs/models/shared/simpleobject.md index 03dff02c8..0fc058332 100755 --- a/go-client-sdk/docs/models/shared/simpleobject.md +++ b/go-client-sdk/docs/models/shared/simpleobject.md @@ -16,7 +16,7 @@ A link to the external docs. | `Bool` | *bool* | :heavy_check_mark: | A boolean property. | true | | `BoolOpt` | **bool* | :heavy_minus_sign: | An optional boolean property. | true | | `Date` | [types.Date](../../types/date.md) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `DateTime` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `DateTime` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `Decimal` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | N/A | | | `Enum` | [Enum](../../models/shared/enum.md) | :heavy_check_mark: | A string based enum | two | | `Float32` | *float32* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/go-client-sdk/docs/models/shared/simpleobjectwithtype.md b/go-client-sdk/docs/models/shared/simpleobjectwithtype.md index 76d946d45..b3be1cfa9 100755 --- a/go-client-sdk/docs/models/shared/simpleobjectwithtype.md +++ b/go-client-sdk/docs/models/shared/simpleobjectwithtype.md @@ -16,7 +16,7 @@ A link to the external docs. | `Bool` | *bool* | :heavy_check_mark: | A boolean property. | true | | `BoolOpt` | **bool* | :heavy_minus_sign: | An optional boolean property. | true | | `Date` | [types.Date](../../types/date.md) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `DateTime` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `DateTime` | [time.Time](https://pkg.go.dev/time#Time) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `Decimal` | [*decimal.Big](https://pkg.go.dev/github.com/ericlagergren/decimal#Big) | :heavy_minus_sign: | N/A | | | `Enum` | [Enum](../../models/shared/enum.md) | :heavy_check_mark: | A string based enum | two | | `Float32` | *float32* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/go-client-sdk/docs/sdks/auth/README.md b/go-client-sdk/docs/sdks/auth/README.md index 7b3fe784b..6f5ff42c5 100755 --- a/go-client-sdk/docs/sdks/auth/README.md +++ b/go-client-sdk/docs/sdks/auth/README.md @@ -130,8 +130,8 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - passwd := "labore" - user := "labore" + passwd := "quae" + user := "earum" operationSecurity := operations.BasicAuthSecurity{ Password: "YOUR_PASSWORD", Username: "YOUR_USERNAME", diff --git a/go-client-sdk/docs/sdks/authnew/README.md b/go-client-sdk/docs/sdks/authnew/README.md index 39d401300..4719ad9ac 100755 --- a/go-client-sdk/docs/sdks/authnew/README.md +++ b/go-client-sdk/docs/sdks/authnew/README.md @@ -45,13 +45,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.APIKeyAuthGlobalNew(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "suscipit", - Username: "Liana_Rohan", + Password: "vel", + Username: "Isai_Gerlach74", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "aspernatur", - HeaderName: "architecto", + ExpectedValue: "accusantium", + HeaderName: "aliquam", }, }, }) @@ -105,13 +105,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.AuthGlobal(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "magnam", - Username: "Audrey_Marks", + Password: "sapiente", + Username: "Blake.Hermiston", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "quos", - HeaderName: "sint", + ExpectedValue: "nisi", + HeaderName: "aut", }, }, }) @@ -167,13 +167,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.BasicAuthNew(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "accusantium", - Username: "Madaline.Wisozk", + Password: "voluptatum", + Username: "Christop_Sporer", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "eum", - HeaderName: "dolor", + ExpectedValue: "itaque", + HeaderName: "dolorum", }, }, }, operationSecurity) @@ -229,13 +229,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.MultipleMixedOptionsAuth(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "necessitatibus", - Username: "Brown43", + Password: "architecto", + Username: "Leonard86", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "doloribus", - HeaderName: "debitis", + ExpectedValue: "et", + HeaderName: "voluptate", }, }, }, operationSecurity) @@ -295,13 +295,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.MultipleMixedSchemeAuth(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "eius", - Username: "Rachel.Lind10", + Password: "ipsa", + Username: "Erick23", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "architecto", - HeaderName: "repudiandae", + ExpectedValue: "iste", + HeaderName: "temporibus", }, }, }, operationSecurity) @@ -360,13 +360,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.MultipleOptionsWithMixedSchemesAuth(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "ullam", - Username: "Michael_Koss14", + Password: "accusantium", + Username: "Joyce.Armstrong", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "saepe", - HeaderName: "pariatur", + ExpectedValue: "mollitia", + HeaderName: "ab", }, }, }, operationSecurity) @@ -425,13 +425,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.MultipleOptionsWithSimpleSchemesAuth(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "accusantium", - Username: "Carroll.Lang", + Password: "corrupti", + Username: "Demond58", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "sunt", - HeaderName: "quo", + ExpectedValue: "numquam", + HeaderName: "impedit", }, }, }, operationSecurity) @@ -487,13 +487,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.MultipleSimpleOptionsAuth(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "illum", - Username: "Samantha_Schoen", + Password: "explicabo", + Username: "Garrison.Anderson", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "odit", - HeaderName: "ea", + ExpectedValue: "maiores", + HeaderName: "natus", }, }, }, operationSecurity) @@ -550,13 +550,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.MultipleSimpleSchemeAuth(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "accusantium", - Username: "Annie.Wunsch45", + Password: "velit", + Username: "Webster.Hirthe40", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "autem", - HeaderName: "nam", + ExpectedValue: "quaerat", + HeaderName: "consequuntur", }, }, }, operationSecurity) @@ -612,13 +612,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.Oauth2AuthNew(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "eaque", - Username: "Sammy.Hickle85", + Password: "repellendus", + Username: "Loyce_Schoen", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "amet", - HeaderName: "aut", + ExpectedValue: "asperiores", + HeaderName: "nemo", }, }, }, operationSecurity) @@ -674,13 +674,13 @@ func main() { ctx := context.Background() res, err := s.AuthNew.OpenIDConnectAuthNew(ctx, shared.AuthServiceRequestBody{ BasicAuth: &shared.AuthServiceRequestBodyBasicAuth{ - Password: "cumque", - Username: "Floyd_Welch17", + Password: "quae", + Username: "Elwyn.Sawayn7", }, HeaderAuth: []shared.AuthServiceRequestBodyHeaderAuth{ shared.AuthServiceRequestBodyHeaderAuth{ - ExpectedValue: "quis", - HeaderName: "totam", + ExpectedValue: "adipisci", + HeaderName: "fuga", }, }, }, operationSecurity) diff --git a/go-client-sdk/docs/sdks/documentation/README.md b/go-client-sdk/docs/sdks/documentation/README.md index 43c696f0a..cee233d75 100755 --- a/go-client-sdk/docs/sdks/documentation/README.md +++ b/go-client-sdk/docs/sdks/documentation/README.md @@ -34,7 +34,7 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - language := "dignissimos" + language := "id" ctx := context.Background() res, err := s.Documentation.GetDocumentationPerLanguage(ctx, language) diff --git a/go-client-sdk/docs/sdks/errors/README.md b/go-client-sdk/docs/sdks/errors/README.md index ae12edd8e..d55f56dfd 100755 --- a/go-client-sdk/docs/sdks/errors/README.md +++ b/go-client-sdk/docs/sdks/errors/README.md @@ -82,7 +82,7 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - statusCode := 54338 + statusCode := 380729 ctx := context.Background() res, err := s.Errors.StatusGetError(ctx, statusCode) @@ -132,7 +132,7 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - statusCode := 338985 + statusCode := 246063 ctx := context.Background() res, err := s.Errors.StatusGetXSpeakeasyErrors(ctx, statusCode) diff --git a/go-client-sdk/docs/sdks/flattening/README.md b/go-client-sdk/docs/sdks/flattening/README.md index f91f876ed..c24e07900 100755 --- a/go-client-sdk/docs/sdks/flattening/README.md +++ b/go-client-sdk/docs/sdks/flattening/README.md @@ -39,14 +39,14 @@ func main() { openapi.WithGlobalQueryParam("some example global query param"), ) simpleObject := shared.SimpleObject{ - Any: "nesciunt", - Bigint: big.NewInt(179490), - BigintStr: big.NewInt(18521), + Any: "culpa", + Bigint: big.NewInt(665859), + BigintStr: big.NewInt(926880), Bool: true, BoolOpt: openapi.Bool(true), Date: types.MustDateFromString("2020-01-01"), - DateTime: types.MustTimeFromString("2020-01-01T00:00:00Z"), - Decimal: types.MustNewDecimalFromString("1709.86"), + DateTime: types.MustTimeFromString("2020-01-01T00:00:00.000Z"), + Decimal: types.MustNewDecimalFromString("5173.09"), Enum: shared.EnumTwo, Float32: 2.2222222, Int: 999999, @@ -59,7 +59,7 @@ func main() { Str: "example", StrOpt: openapi.String("optional example"), } - str := "dolor" + str := "ducimus" ctx := context.Background() res, err := s.Flattening.ComponentBodyAndParamConflict(ctx, simpleObject, str) @@ -112,16 +112,16 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - paramStr := "vero" + paramStr := "quos" simpleObject := shared.SimpleObject{ - Any: "nostrum", - Bigint: big.NewInt(944120), - BigintStr: big.NewInt(928082), + Any: "vel", + Bigint: big.NewInt(287051), + BigintStr: big.NewInt(822560), Bool: true, BoolOpt: openapi.Bool(true), Date: types.MustDateFromString("2020-01-01"), - DateTime: types.MustTimeFromString("2020-01-01T00:00:00Z"), - Decimal: types.MustNewDecimalFromString("6082.53"), + DateTime: types.MustTimeFromString("2020-01-01T00:00:00.000Z"), + Decimal: types.MustNewDecimalFromString("7065.75"), Enum: shared.EnumTwo, Float32: 2.2222222, Int: 999999, @@ -184,8 +184,8 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - strPathParameter := "voluptatem" - strQueryParameter := "porro" + strPathParameter := "in" + strQueryParameter := "corporis" ctx := context.Background() res, err := s.Flattening.ConflictingParams(ctx, strPathParameter, strQueryParameter) @@ -237,9 +237,9 @@ func main() { openapi.WithGlobalQueryParam("some example global query param"), ) requestBody := operations.InlineBodyAndParamConflictRequestBody{ - Str: "consequuntur", + Str: "reiciendis", } - str := "blanditiis" + str := "assumenda" ctx := context.Background() res, err := s.Flattening.InlineBodyAndParamConflict(ctx, requestBody, str) @@ -291,9 +291,9 @@ func main() { openapi.WithGlobalQueryParam("some example global query param"), ) requestBody := operations.InlineBodyAndParamNoConflictRequestBody{ - BodyStr: "error", + BodyStr: "nemo", } - paramStr := "eaque" + paramStr := "recusandae" ctx := context.Background() res, err := s.Flattening.InlineBodyAndParamNoConflict(ctx, requestBody, paramStr) diff --git a/go-client-sdk/docs/sdks/generation/README.md b/go-client-sdk/docs/sdks/generation/README.md index 9297452aa..9a6d6d99c 100755 --- a/go-client-sdk/docs/sdks/generation/README.md +++ b/go-client-sdk/docs/sdks/generation/README.md @@ -141,8 +141,8 @@ func main() { ctx := context.Background() res, err := s.Generation.DeprecatedFieldInSchemaPost(ctx, shared.DeprecatedFieldInObject{ - DeprecatedField: openapi.String("occaecati"), - NewField: openapi.String("rerum"), + DeprecatedField: openapi.String("aliquid"), + NewField: openapi.String("aperiam"), }) if err != nil { log.Fatal(err) @@ -239,7 +239,7 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - deprecatedParameter := "adipisci" + deprecatedParameter := "cum" ctx := context.Background() res, err := s.Generation.DeprecatedOperationNoCommentsGet(ctx, deprecatedParameter) @@ -293,8 +293,8 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - deprecatedParameter := "asperiores" - newParameter := "earum" + deprecatedParameter := "consectetur" + newParameter := "in" ctx := context.Background() res, err := s.Generation.DeprecatedOperationWithCommentsGet(ctx, deprecatedParameter, newParameter) @@ -539,10 +539,10 @@ func main() { openapi.WithGlobalQueryParam("some example global query param"), ) requestBody := operations.IgnoresPostApplicationJSON{ - CallbackURL: openapi.String("http://peaceful-popularity.name"), - TestProp: openapi.String("pariatur"), + CallbackURL: openapi.String("http://vivacious-slider.biz"), + TestProp: openapi.String("doloribus"), } - testParam := "provident" + testParam := "suscipit" ctx := context.Background() res, err := s.Generation.IgnoresPost(ctx, requestBody, testParam) @@ -647,13 +647,13 @@ func main() { openapi.WithGlobalPathParam(100), openapi.WithGlobalQueryParam("some example global query param"), ) - bigint := big.NewInt(750844) - date := types.MustDateFromString("2021-01-26") - decimal := types.MustNewDecimalFromString("3119.45") + bigint := big.NewInt(968972) + date := types.MustDateFromString("2021-03-11") + decimal := types.MustNewDecimalFromString("8970.71") obj := &operations.TypedParameterGenerationGetObj{ Bool: false, - Num: 5542.42, - Str: "aliquid", + Num: 2965.56, + Str: "sunt", } ctx := context.Background() @@ -719,58 +719,123 @@ func main() { ctx := context.Background() res, err := s.Generation.UsageExamplePost(ctx, operations.UsageExamplePostRequest{ RequestBody: &operations.UsageExamplePostRequestBody{ - Email: openapi.String("Cornelius21@gmail.com"), - FormatEmail: openapi.String("Kevin.Ritchie@hotmail.com"), - FormatURI: openapi.String("https://electric-porter.biz"), - FormatUUID: openapi.String("100674eb-f692-480d-9ba7-7a89ebf737ae"), - Hostname: openapi.String("fake-cat.com"), - Ipv4: openapi.String("58.194.225.81"), - Ipv6: openapi.String("e6a9:5d8a:0d44:6ce2:af7a:73cf:3be4:53f8"), + FakerFormattedStrings: &shared.FakerFormattedStrings{ + AddressFormat: openapi.String("222 Jena Villages"), + DirectoryFormat: openapi.String("debitis"), + DomainFormat: openapi.String("consectetur"), + EmailFormat: openapi.String("Mary91@yahoo.com"), + FilenameFormat: openapi.String("libero"), + FilepathFormat: openapi.String("vitae"), + ImageFormat: openapi.String("accusamus"), + Ipv4Format: openapi.String("161.69.34.97"), + Ipv6Format: openapi.String("555b:a3c2:8744:ed53:b88f:3a8d:8f5c:0b2f"), + JSONFormat: openapi.String("{"foo":99440,"bar":"Kb'Y<_/JGa","bike":37832,"a":"*Dzt'{\"S|:","b":59223,"name":89676,"prop":40673}"), + MacFormat: openapi.String("occaecati"), + PasswordFormat: openapi.String("quos"), + PhoneFormat: openapi.String("424.940.2857 x32385"), + TimezoneFormat: openapi.String("sit"), + UnknownFormat: openapi.String("nobis"), + URLFormat: openapi.String("error"), + UUIDFormat: openapi.String("55efd20e-457e-4185-8b6a-89fbe3a5aa8e"), + ZipcodeFormat: openapi.String("51280"), + }, + FakerStrings: &shared.FakerStrings{ + City: openapi.String("Quitzonboro"), + Iban: openapi.String("consequatur"), + ID: openapi.String("75088e51-8620-465e-904f-3b1194b8abf6"), + IPv4: openapi.String("0.58.165.116"), + IPv6: openapi.String("9f9d:fe0a:b7da:8a50:ce18:7f86:bc17:3d68"), + Account: openapi.String("error"), + Address: openapi.String("886 Bret Island"), + Amount: openapi.String("maiores"), + Avatar: openapi.String("corrupti"), + Color: openapi.String("at"), + Comment: openapi.String("error"), + Company: openapi.String("Hoeger - Walker"), + Country: openapi.String("Mali"), + CountryCode: openapi.String("LV"), + Currency: openapi.String("sunt"), + Datatype: openapi.String("recusandae"), + Default: openapi.String("dolorum"), + Description: openapi.String("repellendus"), + Directory: openapi.String("labore"), + DomainName: openapi.String("reiciendis"), + EmailAddr: openapi.String("doloremque"), + Extension: openapi.String("repudiandae"), + Filename: openapi.String("dicta"), + Filepath: openapi.String("accusantium"), + Filetype: openapi.String("beatae"), + FirstName: openapi.String("Chandler"), + FullName: openapi.String("enim"), + Gender: openapi.String("female"), + Job: openapi.String("velit"), + JSON: openapi.String("{"foo":"U @@ -58,6 +58,8 @@ import org.openapis.openapi.models.operations.UsageExamplePostRequestBody; import org.openapis.openapi.models.operations.UsageExamplePostResponse; import org.openapis.openapi.models.operations.UsageExamplePostSecurity; import org.openapis.openapi.models.shared.Enum; +import org.openapis.openapi.models.shared.FakerFormattedStrings; +import org.openapis.openapi.models.shared.FakerStrings; import org.openapis.openapi.models.shared.Security; import org.openapis.openapi.models.shared.SimpleObject; import org.openapis.openapi.models.shared.SimpleObjectInt32Enum; @@ -71,32 +73,97 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - UsageExamplePostRequest req = new UsageExamplePostRequest(111111L, "111111", false, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), 1.1d, "1.1", 2.2222222d, UsageExamplePostEnumParameter.VALUE3, 0d, 1.1f, 1.1d, 111111L, 1, "example 3") {{ + UsageExamplePostRequest req = new UsageExamplePostRequest(854614L, "ab", false, LocalDate.parse("2021-08-23"), OffsetDateTime.parse("2022-07-19T09:36:55.923Z"), 6770.82d, "deleniti", 6070.45d, UsageExamplePostEnumParameter.VALUE3, 0d, 7146.97f, 9903.39d, 469497L, 216897, "example 2") {{ requestBody = new UsageExamplePostRequestBody() {{ - email = "Vada_Hills@gmail.com"; - formatEmail = "Avery_Mueller9@gmail.com"; - formatUri = "https://witty-swim.info"; - formatUuid = "8f097b00-74f1-4547-9b5e-6e13b99d488e"; - hostname = "bronze-trafficker.name"; - ipv4 = "21.237.71.81"; - ipv6 = "0ad2:abd4:4269:802d:502a:94bb:4f63:c969"; - simpleObject = new SimpleObject("necessitatibus", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - bigint = 223081L; - bigintStr = "debitis"; + fakerFormattedStrings = new FakerFormattedStrings() {{ + addressFormat = "9210 Nils Trafficway"; + directoryFormat = "ad"; + domainFormat = "saepe"; + emailFormat = "Luna83@yahoo.com"; + filenameFormat = "totam"; + filepathFormat = "similique"; + imageFormat = "alias"; + ipv4Format = "223.79.70.108"; + ipv6Format = "ce2a:f7a7:3cf3:be45:3f87:0b32:6b5a:7342"; + jsonFormat = "{"foo":"lqf+_Q:-1c","bar":"ELUo24.0N,","bike":72208,"a":"#hff)u5(fT","b":"W%z4<;7_*&","name":55564,"prop":"!_nj|;bW1&"}"; + macFormat = "laudantium"; + passwordFormat = "odio"; + phoneFormat = "(978) 632-9428 x9497"; + timezoneFormat = "quod"; + unknownFormat = "odio"; + urlFormat = "similique"; + uuidFormat = "bd74dd39-c0f5-4d2c-bf7c-70a45626d436"; + zipcodeFormat = "12904-8593"; + }};; + fakerStrings = new FakerStrings() {{ + city = "San Leandro"; + iban = "saepe"; + id = "6c556146-c3e2-450f-b008-c42e141aac36"; + iPv4 = "107.192.142.212"; + iPv6 = "d6b1:4429:0747:4778:a7bd:466d:28c1:0ab3"; + account = "quo"; + address = "762 Garfield Center"; + amount = "cupiditate"; + avatar = "consequatur"; + color = "tempora"; + comment = "debitis"; + company = "Collier - Donnelly"; + country = "Sao Tome and Principe"; + countryCode = "KE"; + currency = "recusandae"; + datatype = "aperiam"; + default_ = "distinctio"; + description = "quod"; + directory = "dignissimos"; + domainName = "inventore"; + emailAddr = "nihil"; + extension = "totam"; + filename = "accusamus"; + filepath = "aliquam"; + filetype = "odio"; + firstName = "Kobe"; + fullName = "commodi"; + gender = "male"; + job = "dolores"; + json = "{"foo":"M$iITP/R.`","bar":":S,?E.y/2-","bike":"VS)Kus(Kkd","a":"F)uHaMbV?c","b":"#\\e7h/!k=z","name":45813,"prop":"WypTK*yZVq"}"; + key = "possimus"; + lastName = "Crona"; + latitude = "eveniet"; + locale = "asperiores"; + longitude = "facere"; + mac = "veritatis"; + manufacturer = "consequuntur"; + material = "quasi"; + middleName = "similique"; + model = "culpa"; + password = "aliquid"; + phone = "294.527.8703 x91343"; + pin = "nisi"; + postalCode = "51845"; + price = "itaque"; + product = "dolorum"; + sex = "female"; + street = "9080 Anabel Glen"; + timezone = "veritatis"; + unit = "consectetur"; + url = "adipisci"; + username = "Leta52"; + uuid = "086a1840-394c-4260-b1f9-3f5f0642dac7"; + }};; + simpleObject = new SimpleObject("officia", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + bigint = 65304L; + bigintStr = "quaerat"; boolOpt = true; - decimal = 9527.49d; + decimal = 7832.35d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; }};; - unknown = "dolorum"; - uri = "http://irritating-standardisation.org"; - uuid = "b14cd66a-e395-4efb-9ba8-8f3a66997074"; }};; - bigintParameterOptional = 111111L; - bigintStrParameterOptional = "111111"; - decimalParameterOptional = 1.1d; - decimalStrParameterOptional = "1.1"; + bigintParameterOptional = 801836L; + bigintStrParameterOptional = "labore"; + decimalParameterOptional = 704.47d; + decimalStrParameterOptional = "adipisci"; optEnumParameter = UsageExamplePostOptEnumParameter.VALUE3; }}; diff --git a/java-client-sdk/USAGE.md b/java-client-sdk/USAGE.md index e3310a087..d5f92a0e6 100755 --- a/java-client-sdk/USAGE.md +++ b/java-client-sdk/USAGE.md @@ -47,6 +47,8 @@ import org.openapis.openapi.models.operations.UsageExamplePostRequestBody; import org.openapis.openapi.models.operations.UsageExamplePostResponse; import org.openapis.openapi.models.operations.UsageExamplePostSecurity; import org.openapis.openapi.models.shared.Enum; +import org.openapis.openapi.models.shared.FakerFormattedStrings; +import org.openapis.openapi.models.shared.FakerStrings; import org.openapis.openapi.models.shared.Security; import org.openapis.openapi.models.shared.SimpleObject; import org.openapis.openapi.models.shared.SimpleObjectInt32Enum; @@ -60,32 +62,97 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - UsageExamplePostRequest req = new UsageExamplePostRequest(111111L, "111111", false, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), 1.1d, "1.1", 2.2222222d, UsageExamplePostEnumParameter.VALUE3, 0d, 1.1f, 1.1d, 111111L, 1, "example 2") {{ + UsageExamplePostRequest req = new UsageExamplePostRequest(548814L, "provident", false, LocalDate.parse("2021-04-24"), OffsetDateTime.parse("2021-04-14T16:47:33.722Z"), 5448.83d, "illum", 4236.55d, UsageExamplePostEnumParameter.VALUE2, 0d, 6458.94f, 3843.82d, 437587L, 297534, "example 3") {{ requestBody = new UsageExamplePostRequestBody() {{ - email = "Micheal_Sporer@yahoo.com"; - formatEmail = "Roselyn_Kassulke@yahoo.com"; - formatUri = "http://innocent-effect.org"; - formatUuid = "0f467cc8-796e-4d15-9a05-dfc2ddf7cc78"; - hostname = "soulful-poppy.com"; - ipv4 = "184.163.148.36"; - ipv6 = "8fc8:1674:2cb7:3920:5929:396f:ea75:96eb"; - simpleObject = new SimpleObject("architecto", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - bigint = 666767L; - bigintStr = "mollitia"; + fakerFormattedStrings = new FakerFormattedStrings() {{ + addressFormat = "92347 Lehner Lights"; + directoryFormat = "excepturi"; + domainFormat = "nisi"; + emailFormat = "Rocky.Bernier@hotmail.com"; + filenameFormat = "deserunt"; + filepathFormat = "perferendis"; + imageFormat = "ipsam"; + ipv4Format = "213.245.199.35"; + ipv6Format = "ddf7:cc78:ca1b:a928:fc81:6742:cb73:9205"; + jsonFormat = "{"foo":".Y5ZDxt`JB","bar":"Ita*&{_]_0","bike":35815,"a":75068,"b":60783,"name":32504,"prop":"$I[|z*]4\\0"}"; + macFormat = "repellat"; + passwordFormat = "mollitia"; + phoneFormat = "(444) 526-1316 x6317"; + timezoneFormat = "sequi"; + unknownFormat = "tenetur"; + urlFormat = "ipsam"; + uuidFormat = "ad019da1-ffe7-48f0-97b0-074f15471b5e"; + zipcodeFormat = "90265"; + }};; + fakerStrings = new FakerStrings() {{ + city = "Samanthaboro"; + iban = "praesentium"; + id = "8e1e91e4-50ad-42ab-9442-69802d502a94"; + iPv4 = "180.188.73.246"; + iPv6 = "63c9:69e9:a3ef:a77d:fb14:cd66:ae39:5efb"; + account = "provident"; + address = "655 Feeney Pines"; + amount = "nisi"; + avatar = "vel"; + color = "natus"; + comment = "omnis"; + company = "Aufderhar - Kovacek"; + country = "French Polynesia"; + countryCode = "PL"; + currency = "id"; + datatype = "labore"; + default_ = "labore"; + description = "suscipit"; + directory = "natus"; + domainName = "nobis"; + emailAddr = "eum"; + extension = "vero"; + filename = "aspernatur"; + filepath = "architecto"; + filetype = "magnam"; + firstName = "Audrey"; + fullName = "excepturi"; + gender = "female"; + job = "provident"; + json = "{"foo":"V$]{]>I5t.","bar":9725,"bike":98404,"a":"9kRbJ**vAc","b":99884,"name":".uq$0PZ0,i","prop":"qlGU.F$'|a"}"; + key = "ipsam"; + lastName = "Kling"; + latitude = "autem"; + locale = "nam"; + longitude = "eaque"; + mac = "pariatur"; + manufacturer = "nemo"; + material = "voluptatibus"; + middleName = "perferendis"; + model = "fugiat"; + password = "amet"; + phone = "839-771-3540"; + pin = "quis"; + postalCode = "10174"; + price = "dolor"; + product = "vero"; + sex = "female"; + street = "967 Bartoletti Shore"; + timezone = "consequuntur"; + unit = "blanditiis"; + url = "error"; + username = "Amber.Mayert99"; + uuid = "e49a8d9c-bf48-4633-b23f-9b77f3a41006"; + }};; + simpleObject = new SimpleObject("odio", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + bigint = 696344L; + bigintStr = "voluptatibus"; boolOpt = true; - decimal = 6706.38d; + decimal = 3777.52d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; }};; - unknown = "dolores"; - uri = "http://growing-cappelletti.net"; - uuid = "5955907a-ff1a-43a2-ba94-67739251aa52"; }};; - bigintParameterOptional = 111111L; - bigintStrParameterOptional = "111111"; - decimalParameterOptional = 1.1d; - decimalStrParameterOptional = "1.1"; + bigintParameterOptional = 617658L; + bigintStrParameterOptional = "eos"; + decimalParameterOptional = 5424.99d; + decimalStrParameterOptional = "sit"; optEnumParameter = UsageExamplePostOptEnumParameter.VALUE3; }}; diff --git a/java-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md b/java-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md index fb863cf01..cb9e4448c 100755 --- a/java-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md +++ b/java-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md @@ -5,14 +5,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *String* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `formatEmail` | *String* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `formatUri` | *String* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `formatUuid` | *String* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *String* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *String* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *String* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simpleObject` | [org.openapis.openapi.models.shared.SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *String* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *String* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *String* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `fakerFormattedStrings` | [org.openapis.openapi.models.shared.FakerFormattedStrings](../../models/shared/FakerFormattedStrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `fakerStrings` | [org.openapis.openapi.models.shared.FakerStrings](../../models/shared/FakerStrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simpleObject` | [org.openapis.openapi.models.shared.SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/UsageExamplePostRequest.md b/java-client-sdk/docs/models/operations/UsageExamplePostRequest.md index ba9307d00..a07206099 100755 --- a/java-client-sdk/docs/models/operations/UsageExamplePostRequest.md +++ b/java-client-sdk/docs/models/operations/UsageExamplePostRequest.md @@ -6,23 +6,23 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | `requestBody` | [UsageExamplePostRequestBody](../../models/operations/UsageExamplePostRequestBody.md) | :heavy_minus_sign: | A request body that contains fields with different formats for testing example generation | | -| `bigintParameter` | *Long* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigintParameterOptional` | *Long* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `bigintStrParameter` | *String* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigintStrParameterOptional` | *String* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `boolParameter` | *Boolean* | :heavy_check_mark: | A boolean parameter | false | -| `dateParameter` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | A date parameter | 2020-01-01 | -| `dateTimeParameter` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | A date time parameter | 2020-01-01T00:00:00Z | -| `decimalParameter` | *Double* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimalParameterOptional` | *Double* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `decimalStrParameter` | *String* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimalStrParameterOptional` | *String* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `doubleParameter` | *Double* | :heavy_check_mark: | A double parameter | 2.2222222 | -| `enumParameter` | [UsageExamplePostEnumParameter](../../models/operations/UsageExamplePostEnumParameter.md) | :heavy_check_mark: | An enum parameter | value3 | +| `bigintParameter` | *Long* | :heavy_check_mark: | An bigint parameter | | +| `bigintParameterOptional` | *Long* | :heavy_minus_sign: | An bigint parameter | | +| `bigintStrParameter` | *String* | :heavy_check_mark: | An bigint parameter | | +| `bigintStrParameterOptional` | *String* | :heavy_minus_sign: | An bigint parameter | | +| `boolParameter` | *Boolean* | :heavy_check_mark: | A boolean parameter | | +| `dateParameter` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | A date parameter | | +| `dateTimeParameter` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | A date time parameter | | +| `decimalParameter` | *Double* | :heavy_check_mark: | A decimal parameter | | +| `decimalParameterOptional` | *Double* | :heavy_minus_sign: | A decimal parameter | | +| `decimalStrParameter` | *String* | :heavy_check_mark: | A decimal parameter | | +| `decimalStrParameterOptional` | *String* | :heavy_minus_sign: | A decimal parameter | | +| `doubleParameter` | *Double* | :heavy_check_mark: | A double parameter | | +| `enumParameter` | [UsageExamplePostEnumParameter](../../models/operations/UsageExamplePostEnumParameter.md) | :heavy_check_mark: | An enum parameter | | | `falseyNumberParameter` | *Double* | :heavy_check_mark: | A number parameter that contains a falsey example value | 0 | -| `float32Parameter` | *Float* | :heavy_check_mark: | A float32 parameter | 1.1 | -| `floatParameter` | *Double* | :heavy_check_mark: | A float parameter | 1.1 | -| `int64Parameter` | *Long* | :heavy_check_mark: | An int64 parameter | 111111 | -| `intParameter` | *Integer* | :heavy_check_mark: | An integer parameter | 1 | +| `float32Parameter` | *Float* | :heavy_check_mark: | A float32 parameter | | +| `floatParameter` | *Double* | :heavy_check_mark: | A float parameter | | +| `int64Parameter` | *Long* | :heavy_check_mark: | An int64 parameter | | +| `intParameter` | *Integer* | :heavy_check_mark: | An integer parameter | | | `optEnumParameter` | [UsageExamplePostOptEnumParameter](../../models/operations/UsageExamplePostOptEnumParameter.md) | :heavy_minus_sign: | An enum parameter | value3 | | `strParameter` | *String* | :heavy_check_mark: | A string parameter | example 1 | \ No newline at end of file diff --git a/java-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md b/java-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md index 647715438..1f1d02a15 100755 --- a/java-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md +++ b/java-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md @@ -7,14 +7,6 @@ A request body that contains fields with different formats for testing example g | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *String* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `formatEmail` | *String* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `formatUri` | *String* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `formatUuid` | *String* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *String* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *String* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *String* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simpleObject` | [org.openapis.openapi.models.shared.SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *String* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *String* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *String* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `fakerFormattedStrings` | [org.openapis.openapi.models.shared.FakerFormattedStrings](../../models/shared/FakerFormattedStrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `fakerStrings` | [org.openapis.openapi.models.shared.FakerStrings](../../models/shared/FakerStrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simpleObject` | [org.openapis.openapi.models.shared.SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/java-client-sdk/docs/models/shared/FakerFormattedStrings.md b/java-client-sdk/docs/models/shared/FakerFormattedStrings.md new file mode 100755 index 000000000..bdf0e33e7 --- /dev/null +++ b/java-client-sdk/docs/models/shared/FakerFormattedStrings.md @@ -0,0 +1,27 @@ +# FakerFormattedStrings + +A set of strings with format values that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `addressFormat` | *String* | :heavy_minus_sign: | A field that will have an address generated as example | +| `directoryFormat` | *String* | :heavy_minus_sign: | A field that will have a directory path generated as example | +| `domainFormat` | *String* | :heavy_minus_sign: | A field that will have a domain name generated as example | +| `emailFormat` | *String* | :heavy_minus_sign: | A field that will have an email address generated as example | +| `filenameFormat` | *String* | :heavy_minus_sign: | A field that will have a filename generated as example | +| `filepathFormat` | *String* | :heavy_minus_sign: | A field that will have a file path generated as example | +| `imageFormat` | *String* | :heavy_minus_sign: | A field that will have a image url generated as example | +| `ipv4Format` | *String* | :heavy_minus_sign: | A field that will have an IPv4 address generated as example | +| `ipv6Format` | *String* | :heavy_minus_sign: | A field that will have an IPv6 address generated as example | +| `jsonFormat` | *String* | :heavy_minus_sign: | A field that will have a JSON generated as example | +| `macFormat` | *String* | :heavy_minus_sign: | A field that will have a MAC address generated as example | +| `passwordFormat` | *String* | :heavy_minus_sign: | A field that will have a fake password generated as example | +| `phoneFormat` | *String* | :heavy_minus_sign: | A field that will have a phone number generated as example | +| `timezoneFormat` | *String* | :heavy_minus_sign: | A field that will have a timezone generated as example | +| `unknownFormat` | *String* | :heavy_minus_sign: | A field that will have random words generated as example | +| `urlFormat` | *String* | :heavy_minus_sign: | A field that will have a URL generated as example | +| `uuidFormat` | *String* | :heavy_minus_sign: | A field that will have a UUID generated as example | +| `zipcodeFormat` | *String* | :heavy_minus_sign: | A field that will have a postal code generated as example | \ No newline at end of file diff --git a/java-client-sdk/docs/models/shared/FakerStrings.md b/java-client-sdk/docs/models/shared/FakerStrings.md new file mode 100755 index 000000000..04c5fa56f --- /dev/null +++ b/java-client-sdk/docs/models/shared/FakerStrings.md @@ -0,0 +1,62 @@ +# FakerStrings + +A set of strings with fieldnames that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `city` | *String* | :heavy_minus_sign: | N/A | +| `iban` | *String* | :heavy_minus_sign: | N/A | +| `id` | *String* | :heavy_minus_sign: | N/A | +| `iPv4` | *String* | :heavy_minus_sign: | N/A | +| `iPv6` | *String* | :heavy_minus_sign: | N/A | +| `account` | *String* | :heavy_minus_sign: | N/A | +| `address` | *String* | :heavy_minus_sign: | N/A | +| `amount` | *String* | :heavy_minus_sign: | N/A | +| `avatar` | *String* | :heavy_minus_sign: | N/A | +| `color` | *String* | :heavy_minus_sign: | N/A | +| `comment` | *String* | :heavy_minus_sign: | N/A | +| `company` | *String* | :heavy_minus_sign: | N/A | +| `country` | *String* | :heavy_minus_sign: | N/A | +| `countryCode` | *String* | :heavy_minus_sign: | N/A | +| `currency` | *String* | :heavy_minus_sign: | N/A | +| `datatype` | *String* | :heavy_minus_sign: | N/A | +| `default_` | *String* | :heavy_minus_sign: | N/A | +| `description` | *String* | :heavy_minus_sign: | N/A | +| `directory` | *String* | :heavy_minus_sign: | N/A | +| `domainName` | *String* | :heavy_minus_sign: | N/A | +| `emailAddr` | *String* | :heavy_minus_sign: | N/A | +| `extension` | *String* | :heavy_minus_sign: | N/A | +| `filename` | *String* | :heavy_minus_sign: | N/A | +| `filepath` | *String* | :heavy_minus_sign: | N/A | +| `filetype` | *String* | :heavy_minus_sign: | N/A | +| `firstName` | *String* | :heavy_minus_sign: | N/A | +| `fullName` | *String* | :heavy_minus_sign: | N/A | +| `gender` | *String* | :heavy_minus_sign: | N/A | +| `job` | *String* | :heavy_minus_sign: | N/A | +| `json` | *String* | :heavy_minus_sign: | N/A | +| `key` | *String* | :heavy_minus_sign: | N/A | +| `lastName` | *String* | :heavy_minus_sign: | N/A | +| `latitude` | *String* | :heavy_minus_sign: | N/A | +| `locale` | *String* | :heavy_minus_sign: | N/A | +| `longitude` | *String* | :heavy_minus_sign: | N/A | +| `mac` | *String* | :heavy_minus_sign: | N/A | +| `manufacturer` | *String* | :heavy_minus_sign: | N/A | +| `material` | *String* | :heavy_minus_sign: | N/A | +| `middleName` | *String* | :heavy_minus_sign: | N/A | +| `model` | *String* | :heavy_minus_sign: | N/A | +| `password` | *String* | :heavy_minus_sign: | N/A | +| `phone` | *String* | :heavy_minus_sign: | N/A | +| `pin` | *String* | :heavy_minus_sign: | N/A | +| `postalCode` | *String* | :heavy_minus_sign: | N/A | +| `price` | *String* | :heavy_minus_sign: | N/A | +| `product` | *String* | :heavy_minus_sign: | N/A | +| `sex` | *String* | :heavy_minus_sign: | N/A | +| `street` | *String* | :heavy_minus_sign: | N/A | +| `timezone` | *String* | :heavy_minus_sign: | N/A | +| `unit` | *String* | :heavy_minus_sign: | N/A | +| `url` | *String* | :heavy_minus_sign: | N/A | +| `username` | *String* | :heavy_minus_sign: | N/A | +| `uuid` | *String* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/java-client-sdk/docs/models/shared/SimpleObject.md b/java-client-sdk/docs/models/shared/SimpleObject.md index 1ce227f9e..e0240cbe6 100755 --- a/java-client-sdk/docs/models/shared/SimpleObject.md +++ b/java-client-sdk/docs/models/shared/SimpleObject.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *Boolean* | :heavy_check_mark: | A boolean property. | true | | `boolOpt` | *Boolean* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `dateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `dateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *Double* | :heavy_minus_sign: | N/A | | | `enum_` | [Enum](../../models/shared/Enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *Float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/java-client-sdk/docs/models/shared/SimpleObjectWithType.md b/java-client-sdk/docs/models/shared/SimpleObjectWithType.md index 3677e6196..365aa85c4 100755 --- a/java-client-sdk/docs/models/shared/SimpleObjectWithType.md +++ b/java-client-sdk/docs/models/shared/SimpleObjectWithType.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *Boolean* | :heavy_check_mark: | A boolean property. | true | | `boolOpt` | *Boolean* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [LocalDate](https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `dateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `dateTime` | [OffsetDateTime](https://docs.oracle.com/javase/8/docs/api/java/time/OffsetDateTime.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *Double* | :heavy_minus_sign: | N/A | | | `enum_` | [Enum](../../models/shared/Enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *Float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/java-client-sdk/docs/sdks/auth/README.md b/java-client-sdk/docs/sdks/auth/README.md index 3bd69ff71..096a1296f 100755 --- a/java-client-sdk/docs/sdks/auth/README.md +++ b/java-client-sdk/docs/sdks/auth/README.md @@ -126,7 +126,7 @@ public class Application { BasicAuthResponse res = sdk.auth.basicAuth(new BasicAuthSecurity("YOUR_PASSWORD", "YOUR_USERNAME") {{ password = "YOUR_PASSWORD"; username = "YOUR_USERNAME"; - }}, "id", "labore"); + }}, "id", "suscipit"); if (res.user != null) { // handle response diff --git a/java-client-sdk/docs/sdks/authnew/README.md b/java-client-sdk/docs/sdks/authnew/README.md index ccf3d75b6..f39e9838c 100755 --- a/java-client-sdk/docs/sdks/authnew/README.md +++ b/java-client-sdk/docs/sdks/authnew/README.md @@ -45,11 +45,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("labore", "suscipit");; + basicAuth = new AuthServiceRequestBodyBasicAuth("velit", "culpa");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("eum", "vero") {{ - expectedValue = "natus"; - headerName = "nobis"; + add(new AuthServiceRequestBodyHeaderAuth("totam", "fugiat") {{ + expectedValue = "est"; + headerName = "recusandae"; }}), }}; }}; @@ -105,11 +105,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("aspernatur", "architecto");; + basicAuth = new AuthServiceRequestBodyBasicAuth("vel", "ducimus");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("excepturi", "ullam") {{ - expectedValue = "magnam"; - headerName = "et"; + add(new AuthServiceRequestBodyHeaderAuth("labore", "possimus") {{ + expectedValue = "quos"; + headerName = "vel"; }}), }}; }}; @@ -163,11 +163,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("provident", "quos");; + basicAuth = new AuthServiceRequestBodyBasicAuth("facilis", "cum");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("mollitia", "reiciendis") {{ - expectedValue = "sint"; - headerName = "accusantium"; + add(new AuthServiceRequestBodyHeaderAuth("corporis", "reiciendis") {{ + expectedValue = "commodi"; + headerName = "in"; }}), }}; }}; @@ -226,11 +226,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("mollitia", "ad");; + basicAuth = new AuthServiceRequestBodyBasicAuth("assumenda", "nemo");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("necessitatibus", "odit") {{ - expectedValue = "eum"; - headerName = "dolor"; + add(new AuthServiceRequestBodyHeaderAuth("aperiam", "cum") {{ + expectedValue = "recusandae"; + headerName = "aliquid"; }}), }}; }}; @@ -288,11 +288,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("nemo", "quasi");; + basicAuth = new AuthServiceRequestBodyBasicAuth("consectetur", "in");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("debitis", "eius") {{ - expectedValue = "iure"; - headerName = "doloribus"; + add(new AuthServiceRequestBodyHeaderAuth("facere", "numquam") {{ + expectedValue = "exercitationem"; + headerName = "earum"; }}), }}; }}; @@ -356,11 +356,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("maxime", "deleniti");; + basicAuth = new AuthServiceRequestBodyBasicAuth("doloribus", "suscipit");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("architecto", "architecto") {{ - expectedValue = "facilis"; - headerName = "in"; + add(new AuthServiceRequestBodyHeaderAuth("saepe", "necessitatibus") {{ + expectedValue = "reiciendis"; + headerName = "quidem"; }}), }}; }}; @@ -422,11 +422,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("repudiandae", "ullam");; + basicAuth = new AuthServiceRequestBodyBasicAuth("dolore", "sunt");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("repellat", "quibusdam") {{ - expectedValue = "expedita"; - headerName = "nihil"; + add(new AuthServiceRequestBodyHeaderAuth("non", "amet") {{ + expectedValue = "asperiores"; + headerName = "adipisci"; }}), }}; }}; @@ -486,11 +486,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("sed", "saepe");; + basicAuth = new AuthServiceRequestBodyBasicAuth("beatae", "dignissimos");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("consequuntur", "praesentium") {{ - expectedValue = "pariatur"; - headerName = "accusantium"; + add(new AuthServiceRequestBodyHeaderAuth("consectetur", "corporis") {{ + expectedValue = "a"; + headerName = "debitis"; }}), }}; }}; @@ -547,11 +547,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("natus", "magni");; + basicAuth = new AuthServiceRequestBodyBasicAuth("harum", "laboriosam");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("illum", "pariatur") {{ - expectedValue = "sunt"; - headerName = "quo"; + add(new AuthServiceRequestBodyHeaderAuth("libero", "vitae") {{ + expectedValue = "ipsa"; + headerName = "voluptates"; }}), }}; }}; @@ -609,11 +609,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("maxime", "ea");; + basicAuth = new AuthServiceRequestBodyBasicAuth("accusamus", "similique");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("ea", "accusantium") {{ - expectedValue = "excepturi"; - headerName = "odit"; + add(new AuthServiceRequestBodyHeaderAuth("voluptas", "voluptas") {{ + expectedValue = "tempora"; + headerName = "aspernatur"; }}), }}; }}; @@ -670,11 +670,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.AuthServiceRequestBody req = new AuthServiceRequestBody() {{ - basicAuth = new AuthServiceRequestBodyBasicAuth("ab", "maiores");; + basicAuth = new AuthServiceRequestBodyBasicAuth("voluptas", "minima");; headerAuth = new org.openapis.openapi.models.shared.AuthServiceRequestBodyHeaderAuth[]{{ - add(new AuthServiceRequestBodyHeaderAuth("voluptate", "autem") {{ - expectedValue = "quidem"; - headerName = "ipsam"; + add(new AuthServiceRequestBodyHeaderAuth("adipisci", "minus") {{ + expectedValue = "nobis"; + headerName = "dolorum"; }}), }}; }}; diff --git a/java-client-sdk/docs/sdks/documentation/README.md b/java-client-sdk/docs/sdks/documentation/README.md index 124f58168..f25e7fe01 100755 --- a/java-client-sdk/docs/sdks/documentation/README.md +++ b/java-client-sdk/docs/sdks/documentation/README.md @@ -34,7 +34,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - GetDocumentationPerLanguageResponse res = sdk.documentation.getDocumentationPerLanguage("nam"); + GetDocumentationPerLanguageResponse res = sdk.documentation.getDocumentationPerLanguage("dolores"); if (res.statusCode == 200) { // handle response diff --git a/java-client-sdk/docs/sdks/errors/README.md b/java-client-sdk/docs/sdks/errors/README.md index 8c194fbea..649330a65 100755 --- a/java-client-sdk/docs/sdks/errors/README.md +++ b/java-client-sdk/docs/sdks/errors/README.md @@ -80,7 +80,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - StatusGetErrorResponse res = sdk.errors.statusGetError(50588L); + StatusGetErrorResponse res = sdk.errors.statusGetError(503934L); if (res.statusCode == 200) { // handle response @@ -127,7 +127,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - StatusGetXSpeakeasyErrorsResponse res = sdk.errors.statusGetXSpeakeasyErrors(866383L); + StatusGetXSpeakeasyErrorsResponse res = sdk.errors.statusGetXSpeakeasyErrors(449292L); if (res.statusCode == 200) { // handle response diff --git a/java-client-sdk/docs/sdks/flattening/README.md b/java-client-sdk/docs/sdks/flattening/README.md index f064f4e4c..62be307ca 100755 --- a/java-client-sdk/docs/sdks/flattening/README.md +++ b/java-client-sdk/docs/sdks/flattening/README.md @@ -42,27 +42,27 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - ComponentBodyAndParamConflictResponse res = sdk.flattening.componentBodyAndParamConflict(new SimpleObject("cumque", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "nemo"; - bigint = 975522L; - bigintStr = "perferendis"; + ComponentBodyAndParamConflictResponse res = sdk.flattening.componentBodyAndParamConflict(new SimpleObject("cum", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "dolore"; + bigint = 304468L; + bigintStr = "officiis"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 8558.04d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 8391.89d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; - }}, "libero"); + }}, "hic"); if (res.res != null) { // handle response @@ -116,20 +116,20 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - ComponentBodyAndParamNoConflictResponse res = sdk.flattening.componentBodyAndParamNoConflict("nobis", new SimpleObject("nesciunt", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "dolores"; - bigint = 339404L; - bigintStr = "totam"; + ComponentBodyAndParamNoConflictResponse res = sdk.flattening.componentBodyAndParamNoConflict("nesciunt", new SimpleObject("nobis", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "culpa"; + bigint = 548519L; + bigintStr = "pariatur"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 4895.49d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 5196.43d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; @@ -184,7 +184,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - ConflictingParamsResponse res = sdk.flattening.conflictingParams("dolores", "minus"); + ConflictingParamsResponse res = sdk.flattening.conflictingParams("sed", "reiciendis"); if (res.res != null) { // handle response @@ -233,9 +233,9 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - InlineBodyAndParamConflictResponse res = sdk.flattening.inlineBodyAndParamConflict(new InlineBodyAndParamConflictRequestBody("dolor") {{ - str = "quam"; - }}, "vero"); + InlineBodyAndParamConflictResponse res = sdk.flattening.inlineBodyAndParamConflict(new InlineBodyAndParamConflictRequestBody("asperiores") {{ + str = "explicabo"; + }}, "facilis"); if (res.res != null) { // handle response @@ -284,9 +284,9 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - InlineBodyAndParamNoConflictResponse res = sdk.flattening.inlineBodyAndParamNoConflict(new InlineBodyAndParamNoConflictRequestBody("hic") {{ - bodyStr = "nostrum"; - }}, "recusandae"); + InlineBodyAndParamNoConflictResponse res = sdk.flattening.inlineBodyAndParamNoConflict(new InlineBodyAndParamNoConflictRequestBody("expedita") {{ + bodyStr = "voluptate"; + }}, "ab"); if (res.res != null) { // handle response diff --git a/java-client-sdk/docs/sdks/generation/README.md b/java-client-sdk/docs/sdks/generation/README.md index 348e743a7..121718f5f 100755 --- a/java-client-sdk/docs/sdks/generation/README.md +++ b/java-client-sdk/docs/sdks/generation/README.md @@ -128,8 +128,8 @@ public class Application { org.openapis.openapi.models.shared.DeprecatedFieldInObject req = new DeprecatedFieldInObject() {{ deprecatedEnum = DeprecatedFieldInObjectDeprecatedEnum.B; - deprecatedField = "facilis"; - newField = "perspiciatis"; + deprecatedField = "dolore"; + newField = "laborum"; }}; DeprecatedFieldInSchemaPostResponse res = sdk.generation.deprecatedFieldInSchemaPost(req); @@ -221,7 +221,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - DeprecatedOperationNoCommentsGetResponse res = sdk.generation.deprecatedOperationNoCommentsGet("voluptatem"); + DeprecatedOperationNoCommentsGetResponse res = sdk.generation.deprecatedOperationNoCommentsGet("sed"); if (res.statusCode == 200) { // handle response @@ -272,7 +272,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - DeprecatedOperationWithCommentsGetResponse res = sdk.generation.deprecatedOperationWithCommentsGet("porro", "consequuntur"); + DeprecatedOperationWithCommentsGetResponse res = sdk.generation.deprecatedOperationWithCommentsGet("in", "commodi"); if (res.statusCode == 200) { // handle response @@ -494,9 +494,9 @@ public class Application { .build(); IgnoresPostResponse res = sdk.generation.ignoresPost(new IgnoresPostApplicationJSON() {{ - callbackUrl = "https://petty-atom.name"; - testProp = "rerum"; - }}, "adipisci"); + callbackUrl = "https://common-gather.name"; + testProp = "architecto"; + }}, "suscipit"); if (res.httpBinSimpleJsonObject != null) { // handle response @@ -595,10 +595,10 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - TypedParameterGenerationGetResponse res = sdk.generation.typedParameterGenerationGet(992397L, LocalDate.parse("2022-03-14"), 6139.66d, new TypedParameterGenerationGetObj(false, 8642.82d, "provident") {{ + TypedParameterGenerationGetResponse res = sdk.generation.typedParameterGenerationGet(960257L, LocalDate.parse("2022-10-13"), 9677.95d, new TypedParameterGenerationGetObj(false, 9795.74d, "incidunt") {{ bool = false; - num = 6790.91d; - str = "deleniti"; + num = 193d; + str = "corrupti"; }}); if (res.statusCode == 200) { @@ -648,6 +648,8 @@ import org.openapis.openapi.models.operations.UsageExamplePostRequestBody; import org.openapis.openapi.models.operations.UsageExamplePostResponse; import org.openapis.openapi.models.operations.UsageExamplePostSecurity; import org.openapis.openapi.models.shared.Enum; +import org.openapis.openapi.models.shared.FakerFormattedStrings; +import org.openapis.openapi.models.shared.FakerStrings; import org.openapis.openapi.models.shared.Security; import org.openapis.openapi.models.shared.SimpleObject; import org.openapis.openapi.models.shared.SimpleObjectInt32Enum; @@ -661,32 +663,97 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - UsageExamplePostRequest req = new UsageExamplePostRequest(111111L, "111111", false, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), 1.1d, "1.1", 2.2222222d, UsageExamplePostEnumParameter.VALUE3, 0d, 1.1f, 1.1d, 111111L, 1, "example 3") {{ + UsageExamplePostRequest req = new UsageExamplePostRequest(148478L, "provident", false, LocalDate.parse("2022-02-07"), OffsetDateTime.parse("2022-08-05T13:00:56.741Z"), 5799.12d, "quos", 9757.52d, UsageExamplePostEnumParameter.VALUE1, 0d, 2730.09f, 4554.44d, 970076L, 401713, "example 1") {{ requestBody = new UsageExamplePostRequestBody() {{ - email = "Violet.Hahn@hotmail.com"; - formatEmail = "Cornelius21@gmail.com"; - formatUri = "https://nimble-reporter.info"; - formatUuid = "7f3a4100-674e-4bf6-9280-d1ba77a89ebf"; - hostname = "knobby-crack.info"; - ipv4 = "169.232.67.35"; - ipv6 = "03ce:5e6a:95d8:a0d4:46ce:2af7:a73c:f3be"; - simpleObject = new SimpleObject("numquam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - bigint = 957451L; - bigintStr = "totam"; + fakerFormattedStrings = new FakerFormattedStrings() {{ + addressFormat = "85732 Solon Meadow"; + directoryFormat = "sit"; + domainFormat = "nobis"; + emailFormat = "Estell_Harber86@yahoo.com"; + filenameFormat = "magni"; + filepathFormat = "aperiam"; + imageFormat = "saepe"; + ipv4Format = "64.84.114.227"; + ipv6Format = "1858:b6a8:9fbe:3a5a:a8e4:824d:0ab4:0750"; + jsonFormat = "{"foo":"TvB)OF/#H@","bar":"Z!:{4a+*V;","bike":"S_dyE!6]KX","a":"Wnzv\"_aIl`","b":"]@#jv*SJ}Q","name":69395,"prop":")K6mGSZssr"}"; + macFormat = "natus"; + passwordFormat = "minima"; + phoneFormat = "1-595-865-3955"; + timezoneFormat = "sunt"; + unknownFormat = "recusandae"; + urlFormat = "dolorum"; + uuidFormat = "d4f0e101-2563-4f94-a29e-973e922a57a1"; + zipcodeFormat = "69280"; + }};; + fakerStrings = new FakerStrings() {{ + city = "Andymouth"; + iban = "quae"; + id = "7e2b6e3a-b884-45f0-997a-60ff2a54a31e"; + iPv4 = "155.79.122.103"; + iPv6 = "4a3e:865e:7956:f925:1a5a:9da6:60ff:57bf"; + account = "officia"; + address = "829 Towne Ville"; + amount = "cumque"; + avatar = "vitae"; + color = "rerum"; + comment = "tempora"; + company = "Bode - Corkery"; + country = "Saint Pierre and Miquelon"; + countryCode = "AZ"; + currency = "perferendis"; + datatype = "velit"; + default_ = "aspernatur"; + description = "eum"; + directory = "eius"; + domainName = "rem"; + emailAddr = "at"; + extension = "impedit"; + filename = "eos"; + filepath = "sapiente"; + filetype = "eum"; + firstName = "Bianka"; + fullName = "minima"; + gender = "female"; + job = "cupiditate"; + json = "{"foo":"xfxo%xX|sF","bar":"D4.h`2^tq!","bike":9023,"a":61918,"b":"D7)0|pt&:L","name":11583,"prop":45705}"; + key = "praesentium"; + lastName = "Wuckert"; + latitude = "reiciendis"; + locale = "vel"; + longitude = "architecto"; + mac = "fugiat"; + manufacturer = "doloremque"; + material = "dicta"; + middleName = "odio"; + model = "tempora"; + password = "esse"; + phone = "1-330-713-8736 x330"; + pin = "eum"; + postalCode = "66068"; + price = "voluptates"; + product = "mollitia"; + sex = "male"; + street = "353 Robb Island"; + timezone = "quo"; + unit = "ex"; + url = "ut"; + username = "Emmie56"; + uuid = "b61891ba-a0fe-41ad-a008-e6f8c5f350d8"; + }};; + simpleObject = new SimpleObject("impedit", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + bigint = 373216L; + bigintStr = "culpa"; boolOpt = true; - decimal = 4717.52d; + decimal = 2228.64d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; }};; - unknown = "sit"; - uri = "https://distinct-cheque.info"; - uuid = "b5a73429-cdb1-4a84-a2bb-679d2322715b"; }};; - bigintParameterOptional = 111111L; - bigintStrParameterOptional = "111111"; - decimalParameterOptional = 1.1d; - decimalStrParameterOptional = "1.1"; + bigintParameterOptional = 307376L; + bigintStrParameterOptional = "inventore"; + decimalParameterOptional = 5372.79d; + decimalStrParameterOptional = "veritatis"; optEnumParameter = UsageExamplePostOptEnumParameter.VALUE3; }}; diff --git a/java-client-sdk/docs/sdks/globals/README.md b/java-client-sdk/docs/sdks/globals/README.md index 875140b93..a42d5a280 100755 --- a/java-client-sdk/docs/sdks/globals/README.md +++ b/java-client-sdk/docs/sdks/globals/README.md @@ -33,7 +33,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - GlobalPathParameterGetResponse res = sdk.globals.globalPathParameterGet(940432L); + GlobalPathParameterGetResponse res = sdk.globals.globalPathParameterGet(274575L); if (res.res != null) { // handle response @@ -80,7 +80,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - GlobalsQueryParameterGetResponse res = sdk.globals.globalsQueryParameterGet("voluptatem"); + GlobalsQueryParameterGetResponse res = sdk.globals.globalsQueryParameterGet("dolor"); if (res.res != null) { // handle response diff --git a/java-client-sdk/docs/sdks/pagination/README.md b/java-client-sdk/docs/sdks/pagination/README.md index de157cad8..a3bd1777e 100755 --- a/java-client-sdk/docs/sdks/pagination/README.md +++ b/java-client-sdk/docs/sdks/pagination/README.md @@ -37,7 +37,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - PaginationCursorBodyRequestBody req = new PaginationCursorBodyRequestBody(765326L); + PaginationCursorBodyRequestBody req = new PaginationCursorBodyRequestBody(8689L); PaginationCursorBodyResponse res = sdk.pagination.paginationCursorBody(req); @@ -87,7 +87,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - PaginationCursorParamsResponse res = sdk.pagination.paginationCursorParams(746994L); + PaginationCursorParamsResponse res = sdk.pagination.paginationCursorParams(100014L); if (res.res != null) { // handle response @@ -136,9 +136,9 @@ public class Application { .build(); org.openapis.openapi.models.shared.LimitOffsetConfig req = new LimitOffsetConfig() {{ - limit = 748664L; - offset = 92596L; - page = 903720L; + limit = 24944L; + offset = 265039L; + page = 144286L; }}; PaginationLimitOffsetOffsetBodyResponse res = sdk.pagination.paginationLimitOffsetOffsetBody(req); @@ -189,7 +189,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - PaginationLimitOffsetOffsetParamsResponse res = sdk.pagination.paginationLimitOffsetOffsetParams(217450L, 83422L); + PaginationLimitOffsetOffsetParamsResponse res = sdk.pagination.paginationLimitOffsetOffsetParams(66149L, 513760L); if (res.res != null) { // handle response @@ -239,9 +239,9 @@ public class Application { .build(); org.openapis.openapi.models.shared.LimitOffsetConfig req = new LimitOffsetConfig() {{ - limit = 749255L; - offset = 552193L; - page = 731694L; + limit = 65604L; + offset = 222658L; + page = 856277L; }}; PaginationLimitOffsetPageBodyResponse res = sdk.pagination.paginationLimitOffsetPageBody(req); @@ -292,7 +292,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - PaginationLimitOffsetPageParamsResponse res = sdk.pagination.paginationLimitOffsetPageParams(584476L); + PaginationLimitOffsetPageParamsResponse res = sdk.pagination.paginationLimitOffsetPageParams(369490L); if (res.res != null) { // handle response diff --git a/java-client-sdk/docs/sdks/parameters/README.md b/java-client-sdk/docs/sdks/parameters/README.md index 096f9ac9b..d4989231f 100755 --- a/java-client-sdk/docs/sdks/parameters/README.md +++ b/java-client-sdk/docs/sdks/parameters/README.md @@ -54,10 +54,10 @@ public class Application { .build(); DeepObjectQueryParamsMapResponse res = sdk.parameters.deepObjectQueryParamsMap(new java.util.HashMap() {{ - put("aperiam", "delectus"); + put("consequuntur", "ipsa"); }}, new java.util.HashMap() {{ - put("dolorem", new String[]{{ - add("dolore"), + put("quas", new String[]{{ + add("eveniet"), }}); }}); @@ -114,15 +114,15 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - DeepObjectQueryParamsObjectResponse res = sdk.parameters.deepObjectQueryParamsObject(new SimpleObject("quas", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "labore"; - bigint = 240829L; - bigintStr = "dolorum"; + DeepObjectQueryParamsObjectResponse res = sdk.parameters.deepObjectQueryParamsObject(new SimpleObject("nesciunt", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "impedit"; + bigint = 884952L; + bigintStr = "esse"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 1002.94d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 8972.77d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; @@ -136,7 +136,7 @@ public class Application { strOpt = "optional example"; }}, new DeepObjectQueryParamsObjectObjArrParam() {{ arr = new String[]{{ - add("est"), + add("vel"), }}; }}); @@ -186,7 +186,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - DuplicateParamResponse res = sdk.parameters.duplicateParam("repellendus"); + DuplicateParamResponse res = sdk.parameters.duplicateParam("voluptatum"); if (res.duplicateParamResponse != null) { // handle response @@ -234,9 +234,9 @@ public class Application { .build(); FormQueryParamsArrayResponse res = sdk.parameters.formQueryParamsArray(new String[]{{ - add("porro"), + add("magnam"), }}, new Long[]{{ - add(984330L), + add(349440L), }}); if (res.res != null) { @@ -286,9 +286,9 @@ public class Application { .build(); FormQueryParamsMapResponse res = sdk.parameters.formQueryParamsMap(new java.util.HashMap() {{ - put("ut", "facilis"); + put("ab", "porro"); }}, new java.util.HashMap() {{ - put("cupiditate", 181631L); + put("autem", 751022L); }}); if (res.res != null) { @@ -343,35 +343,35 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - FormQueryParamsObjectResponse res = sdk.parameters.formQueryParamsObject(new SimpleObject("vero", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "quae"; - bigint = 512393L; - bigintStr = "odio"; + FormQueryParamsObjectResponse res = sdk.parameters.formQueryParamsObject(new SimpleObject("quasi", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "laboriosam"; + bigint = 927212L; + bigintStr = "consequuntur"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 5804.47d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 289.52d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; - }}, new SimpleObject("dignissimos", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "ipsum"; - bigint = 961571L; - bigintStr = "voluptate"; + }}, new SimpleObject("optio", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "vero"; + bigint = 667593L; + bigintStr = "harum"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 2317.01d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 1927.18d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; @@ -431,7 +431,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - FormQueryParamsPrimitiveResponse res = sdk.parameters.formQueryParamsPrimitive(false, 799203L, 4861.6d, "similique"); + FormQueryParamsPrimitiveResponse res = sdk.parameters.formQueryParamsPrimitive(false, 455898L, 5010.63d, "officia"); if (res.res != null) { // handle response @@ -483,16 +483,16 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - FormQueryParamsRefParamObjectResponse res = sdk.parameters.formQueryParamsRefParamObject(new RefQueryParamObj(false, 293020L, 8445.5d, "illum") {{ + FormQueryParamsRefParamObjectResponse res = sdk.parameters.formQueryParamsRefParamObject(new RefQueryParamObj(false, 551079L, 2609.04d, "aspernatur") {{ bool = false; - int_ = 708548L; - num = 8742.88d; - str = "ducimus"; - }}, new RefQueryParamObjExploded(false, 13236L, 9742.59d, "exercitationem") {{ + int_ = 376389L; + num = 2540.25d; + str = "nemo"; + }}, new RefQueryParamObjExploded(false, 514054L, 2773.4d, "quasi") {{ bool = false; - int_ = 194342L; - num = 6178.77d; - str = "impedit"; + int_ = 495970L; + num = 2005.16d; + str = "fuga"; }}); if (res.res != null) { @@ -542,7 +542,7 @@ public class Application { .build(); HeaderParamsArrayResponse res = sdk.parameters.headerParamsArray(new String[]{{ - add("nulla"), + add("rem"), }}); if (res.res != null) { @@ -591,9 +591,9 @@ public class Application { .build(); HeaderParamsMapResponse res = sdk.parameters.headerParamsMap(new java.util.HashMap() {{ - put("fugit", "porro"); + put("fugiat", "dicta"); }}, new java.util.HashMap() {{ - put("maiores", "doloribus"); + put("nisi", "consequuntur"); }}); if (res.res != null) { @@ -648,41 +648,41 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - HeaderParamsObjectResponse res = sdk.parameters.headerParamsObject(new SimpleObject("ipsam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "iusto"; - bigint = 753570L; - bigintStr = "ducimus"; + HeaderParamsObjectResponse res = sdk.parameters.headerParamsObject(new SimpleObject("omnis", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "consectetur"; + bigint = 46806L; + bigintStr = "cupiditate"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 40.48d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 9707.32d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; - }}, new SimpleObject("dicta", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "vel"; - bigint = 822118L; - bigintStr = "magnam"; + }}, new SimpleObject("distinctio", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "iste"; + bigint = 170099L; + bigintStr = "inventore"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 1898.48d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 6863.62d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.Second; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -736,7 +736,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - HeaderParamsPrimitiveResponse res = sdk.parameters.headerParamsPrimitive(false, 97844L, 4061.2d, "nulla"); + HeaderParamsPrimitiveResponse res = sdk.parameters.headerParamsPrimitive(false, 328379L, 5076.36d, "maxime"); if (res.res != null) { // handle response @@ -793,76 +793,116 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - JsonQueryParamsObjectResponse res = sdk.parameters.jsonQueryParamsObject(new DeepObject("velit", new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("voluptas", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "eum"; - bigint = 420539L; - bigintStr = "nobis"; + JsonQueryParamsObjectResponse res = sdk.parameters.jsonQueryParamsObject(new DeepObject( new SimpleObject("nam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "atque"; + bigint = 216457L; + bigintStr = "impedit"; + bool = true; + boolOpt = true; + date = LocalDate.parse("2020-01-01"); + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 1660.47d; + enum_ = Enum.TWO; + float32 = 2.2222222f; + int_ = 999999L; + int32 = 1; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Third; + intOptNull = 999999L; + num = 1.1d; + numOptNull = 1.1d; + str = "example"; + strOpt = "optional example"; + }}, new org.openapis.openapi.models.shared.SimpleObject[]{{ + add(new SimpleObject("quibusdam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "voluptate"; + bigint = 194023L; + bigintStr = "dignissimos"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 5573.69d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 2055.66d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.Third; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}), - }}, false, 270328L, new java.util.HashMap() {{ - put("numquam", new SimpleObject("eius", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "explicabo"; - bigint = 591935L; - bigintStr = "ipsa"; + }}, false, 974990L, new java.util.HashMap() {{ + put("vel", new SimpleObject("voluptatibus", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "magnam"; + bigint = 842855L; + bigintStr = "inventore"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 4764.77d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 8180.34d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.Second; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}); - }}, 5245.93d, new SimpleObject("fuga", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - bigint = 852635L; - bigintStr = "ut"; + }}, 3041.98d, new SimpleObject("velit", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + bigint = 424663L; + bigintStr = "ea"; boolOpt = true; - decimal = 4334.39d; + decimal = 1076.17d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; - }};, "suscipit") {{ - any = "voluptatibus"; + }};, "vero") {{ + any = new SimpleObject("earum", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "temporibus"; + bigint = 549501L; + bigintStr = "commodi"; + bool = true; + boolOpt = true; + date = LocalDate.parse("2020-01-01"); + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 9308.19d; + enum_ = Enum.TWO; + float32 = 2.2222222f; + int_ = 999999L; + int32 = 1; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; + intEnum = SimpleObjectIntEnum.Second; + intOptNull = 999999L; + num = 1.1d; + numOptNull = 1.1d; + str = "example"; + strOpt = "optional example"; + }}; arr = new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("corporis", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "nostrum"; - bigint = 960835L; - bigintStr = "quisquam"; + add(new SimpleObject("non", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "vero"; + bigint = 32901L; + bigintStr = "ipsam"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 9065.56d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 4259.46d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.Third; + int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -871,23 +911,23 @@ public class Application { }}), }}; bool = false; - int_ = 81101L; + int_ = 575213L; map = new java.util.HashMap() {{ - put("magnam", new SimpleObject("eaque", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "ea"; - bigint = 775220L; - bigintStr = "consectetur"; + put("nulla", new SimpleObject("sint", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "deserunt"; + bigint = 458503L; + bigintStr = "nemo"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 9262.13d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 4445.87d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.First; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -895,21 +935,21 @@ public class Application { strOpt = "optional example"; }}); }}; - num = 139.48d; - obj = new SimpleObject("inventore", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "aut"; - bigint = 533466L; - bigintStr = "impedit"; + num = 9450.27d; + obj = new SimpleObject("quae", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "necessitatibus"; + bigint = 991891L; + bigintStr = "ex"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 3045.82d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 3767.41d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; @@ -917,23 +957,23 @@ public class Application { str = "example"; strOpt = "optional example"; }}; - str = "dolorum"; - type = "laborum"; - }}, new SimpleObject("id", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "assumenda"; - bigint = 181151L; - bigintStr = "praesentium"; + str = "laborum"; + type = "consectetur"; + }}, new SimpleObject("dicta", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "excepturi"; + bigint = 431994L; + bigintStr = "velit"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 7885.46d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 2840.86d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.First; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; + intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -987,7 +1027,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - MixedParametersCamelCaseResponse res = sdk.parameters.mixedParametersCamelCase("quo", "illum", "quo"); + MixedParametersCamelCaseResponse res = sdk.parameters.mixedParametersCamelCase("iste", "itaque", "alias"); if (res.res != null) { // handle response @@ -1036,7 +1076,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - MixedParametersPrimitivesResponse res = sdk.parameters.mixedParametersPrimitives("fuga", "eius", "eos"); + MixedParametersPrimitivesResponse res = sdk.parameters.mixedParametersPrimitives("nisi", "itaque", "velit"); if (res.res != null) { // handle response @@ -1091,61 +1131,61 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - MixedQueryParamsResponse res = sdk.parameters.mixedQueryParams(new SimpleObject("ipsam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "voluptas"; - bigint = 69859L; - bigintStr = "cupiditate"; + MixedQueryParamsResponse res = sdk.parameters.mixedQueryParams(new SimpleObject("consequatur", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "laborum"; + bigint = 250398L; + bigintStr = "dolor"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 96.88d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 4833.94d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.Third; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; - }}, new SimpleObject("dignissimos", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "quo"; - bigint = 459856L; - bigintStr = "recusandae"; + }}, new SimpleObject("expedita", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "ea"; + bigint = 693153L; + bigintStr = "voluptas"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 446.12d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 7051.48d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.Third; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; - }}, new SimpleObject("sapiente", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "totam"; - bigint = 882710L; - bigintStr = "aliquam"; + }}, new SimpleObject("ipsam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "voluptate"; + bigint = 351936L; + bigintStr = "unde"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 4884.1d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 8975.43d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.Second; + intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -1206,21 +1246,21 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - PathParameterJsonResponse res = sdk.parameters.pathParameterJson(new SimpleObject("consequuntur", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "molestiae"; - bigint = 35362L; - bigintStr = "porro"; + PathParameterJsonResponse res = sdk.parameters.pathParameterJson(new SimpleObject("vitae", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "error"; + bigint = 456885L; + bigintStr = "labore"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 4304.02d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 850.66d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.Second; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -1280,26 +1320,26 @@ public class Application { .build(); PipeDelimitedQueryParamsArrayResponse res = sdk.parameters.pipeDelimitedQueryParamsArray(new String[]{{ - add("fuga"), + add("ad"), }}, new Long[]{{ - add(649463L), + add(183033L), }}, new java.util.HashMap() {{ - put("incidunt", "atque"); - }}, new SimpleObject("ratione", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "explicabo"; - bigint = 325685L; - bigintStr = "nisi"; + put("iste", "ex"); + }}, new SimpleObject("fugit", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "nemo"; + bigint = 745233L; + bigintStr = "libero"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 1470.14d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 5269.07d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.First; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -1356,7 +1396,7 @@ public class Application { .build(); SimplePathParameterArraysResponse res = sdk.parameters.simplePathParameterArrays(new String[]{{ - add("occaecati"), + add("vel"), }}); if (res.res != null) { @@ -1405,9 +1445,9 @@ public class Application { .build(); SimplePathParameterMapsResponse res = sdk.parameters.simplePathParameterMaps(new java.util.HashMap() {{ - put("atque", "et"); + put("quae", "quae"); }}, new java.util.HashMap() {{ - put("esse", 910545L); + put("modi", 208253L); }}); if (res.res != null) { @@ -1462,41 +1502,41 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - SimplePathParameterObjectsResponse res = sdk.parameters.simplePathParameterObjects(new SimpleObject("aliquid", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "accusamus"; - bigint = 82971L; - bigintStr = "esse"; + SimplePathParameterObjectsResponse res = sdk.parameters.simplePathParameterObjects(new SimpleObject("distinctio", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "exercitationem"; + bigint = 932394L; + bigintStr = "et"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 8003.79d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 2153.98d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; - }}, new SimpleObject("distinctio", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "vel"; - bigint = 690025L; - bigintStr = "molestiae"; + }}, new SimpleObject("libero", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "quia"; + bigint = 342137L; + bigintStr = "omnis"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 6996.22d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 7272.5d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.First; + int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -1550,7 +1590,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - SimplePathParameterPrimitivesResponse res = sdk.parameters.simplePathParameterPrimitives(false, 1L, 6360.61d, "tempore"); + SimplePathParameterPrimitivesResponse res = sdk.parameters.simplePathParameterPrimitives(false, 1L, 5546.03d, "placeat"); if (res.res != null) { // handle response diff --git a/java-client-sdk/docs/sdks/requestbodies/README.md b/java-client-sdk/docs/sdks/requestbodies/README.md index a250ffc92..f1d540ece 100755 --- a/java-client-sdk/docs/sdks/requestbodies/README.md +++ b/java-client-sdk/docs/sdks/requestbodies/README.md @@ -111,8 +111,8 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.NullableObject req = new NullableObject(240020L) {{ - optional = "cumque"; + org.openapis.openapi.models.shared.NullableObject req = new NullableObject(25756L) {{ + optional = "iusto"; }}; NullableObjectPostResponse res = sdk.requestBodies.nullableObjectPost(req); @@ -218,9 +218,9 @@ public class Application { .build(); NullableRequiredPropertyPostRequestBody req = new NullableRequiredPropertyPostRequestBody( new Double[]{{ - add(1605.38d), - }}, NullableRequiredPropertyPostRequestBodyNullableRequiredEnum.FIRST, 796392L) {{ - nullableOptionalInt = 308286L; + add(573.2d), + }}, NullableRequiredPropertyPostRequestBodyNullableRequiredEnum.SECOND, 80061L) {{ + nullableOptionalInt = 49348L; }}; NullableRequiredPropertyPostResponse res = sdk.requestBodies.nullableRequiredPropertyPost(req); @@ -271,11 +271,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - NullableRequiredSharedObjectPostRequestBody req = new NullableRequiredSharedObjectPostRequestBody( new NullableObject(959167L) {{ - optional = "consectetur"; + NullableRequiredSharedObjectPostRequestBody req = new NullableRequiredSharedObjectPostRequestBody( new NullableObject(517137L) {{ + optional = "dolore"; }};) {{ - nullableOptionalObj = new NullableObject(458139L) {{ - optional = "blanditiis"; + nullableOptionalObj = new NullableObject(755106L) {{ + optional = "distinctio"; }};; }}; @@ -332,20 +332,20 @@ public class Application { .build(); org.openapis.openapi.models.. req = new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("a", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "provident"; - bigint = 953722L; - bigintStr = "nulla"; + add(new SimpleObject("est", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "voluptatem"; + bigint = 418109L; + bigintStr = "esse"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 5578.11d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 1729.51d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; @@ -409,20 +409,20 @@ public class Application { .build(); org.openapis.openapi.models.. req = new org.openapis.openapi.models.shared.SimpleObjectCamelCase[]{{ - add(new SimpleObjectCamelCase("veritatis", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ - anyVal = "pariatur"; - bigintStrVal = "possimus"; - bigintVal = 157632L; + add(new SimpleObjectCamelCase("ea", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.Second, 999999L, 1.1d, "example") {{ + anyVal = "molestiae"; + bigintStrVal = "provident"; + bigintVal = 882284L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 9088.44d; + decimalVal = 8964.8d; enumVal = Enum.TWO; float32Val = 2.2222222f; int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.Second; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -486,20 +486,20 @@ public class Application { .build(); org.openapis.openapi.models.. req = new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("vel", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "similique"; - bigint = 633608L; - bigintStr = "aliquid"; + add(new SimpleObject("at", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "rerum"; + bigint = 515638L; + bigintStr = "corporis"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 9492.98d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 8890.6d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; @@ -562,18 +562,18 @@ public class Application { .build(); org.openapis.openapi.models.. req = new org.openapis.openapi.models.shared.SimpleObjectCamelCase[]{{ - add(new SimpleObjectCamelCase("dicta", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.Second, 999999L, 1.1d, "example") {{ - anyVal = "libero"; - bigintStrVal = "illum"; - bigintVal = 742238L; + add(new SimpleObjectCamelCase("eos", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, 1, SimpleObjectCamelCaseIntEnumVal.Second, 999999L, 1.1d, "example") {{ + anyVal = "quidem"; + bigintStrVal = "fuga"; + bigintVal = 919508L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 333.04d; + decimalVal = 340.7d; enumVal = Enum.TWO; float32Val = 2.2222222f; - int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE; + int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; int32Val = 1; intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; intOptNullVal = 999999L; @@ -639,20 +639,20 @@ public class Application { org.openapis.openapi.models.. req = new org.openapis.openapi.models.shared.SimpleObject[][]{{ add(new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("ex", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "ullam"; - bigint = 391774L; - bigintStr = "aut"; + add(new SimpleObject("adipisci", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "praesentium"; + bigint = 140316L; + bigintStr = "explicabo"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 5318.49d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 3589.95d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; @@ -718,20 +718,20 @@ public class Application { org.openapis.openapi.models.. req = new org.openapis.openapi.models.shared.SimpleObjectCamelCase[][]{{ add(new org.openapis.openapi.models.shared.SimpleObjectCamelCase[]{{ - add(new SimpleObjectCamelCase("et", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ - anyVal = "dolorum"; - bigintStrVal = "architecto"; - bigintVal = 609178L; + add(new SimpleObjectCamelCase("delectus", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ + anyVal = "ut"; + bigintStrVal = "quidem"; + bigintVal = 339631L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 9453.02d; + decimalVal = 1062.55d; enumVal = Enum.TWO; float32Val = 2.2222222f; - int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE; + int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.Second; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -791,7 +791,7 @@ public class Application { org.openapis.openapi.models.. req = new String[][]{{ add(new String[]{{ - add("minima"), + add("numquam"), }}), }} @@ -850,21 +850,21 @@ public class Application { org.openapis.openapi.models.. req = new java.util.HashMap[]{{ add(new java.util.HashMap() {{ - put("veritatis", new SimpleObject("aut", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "consectetur"; - bigint = 237173L; - bigintStr = "iste"; + put("numquam", new SimpleObject("corporis", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "nesciunt"; + bigint = 873557L; + bigintStr = "officia"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 8395.13d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 4918.92d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.Second; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -929,15 +929,15 @@ public class Application { org.openapis.openapi.models.. req = new java.util.HashMap[]{{ add(new java.util.HashMap() {{ - put("mollitia", new SimpleObjectCamelCase("numquam", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ - anyVal = "ab"; - bigintStrVal = "corrupti"; - bigintVal = 251941L; + put("voluptatum", new SimpleObjectCamelCase("minus", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ + anyVal = "cupiditate"; + bigintStrVal = "minima"; + bigintVal = 809594L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 324.65d; + decimalVal = 3165.42d; enumVal = Enum.TWO; float32Val = 2.2222222f; int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE; @@ -1001,7 +1001,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new String[]{{ - add("voluptas"), + add("corporis"), }} RequestBodyPostApplicationJsonArrayOfPrimitiveResponse res = sdk.requestBodies.requestBodyPostApplicationJsonArrayOfPrimitive(req); @@ -1058,63 +1058,63 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.DeepObject req = new DeepObject( new SimpleObject("voluptas", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "dignissimos"; - bigint = 115484L; - bigintStr = "maiores"; + org.openapis.openapi.models.shared.DeepObject req = new DeepObject( new SimpleObject("labore", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "voluptates"; + bigint = 978173L; + bigintStr = "tempore"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 6184.8d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 460.13d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.Third; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}, new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("dignissimos", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "ea"; - bigint = 310067L; - bigintStr = "consequuntur"; + add(new SimpleObject("est", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "voluptas"; + bigint = 779180L; + bigintStr = "velit"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 8315.2d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 7955.91d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.Third; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}), - }}, false, 368102L, new java.util.HashMap() {{ - put("quae", new SimpleObject("fuga", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "quaerat"; - bigint = 783235L; - bigintStr = "quod"; + }}, false, 735894L, new java.util.HashMap() {{ + put("vero", new SimpleObject("odio", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "odit"; + bigint = 997437L; + bigintStr = "pariatur"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 2883.98d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 3628.88d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; @@ -1122,16 +1122,16 @@ public class Application { str = "example"; strOpt = "optional example"; }}); - }}, 2460.63d, new SimpleObject("culpa", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - bigint = 517309L; - bigintStr = "fugiat"; + }}, 4969.15d, new SimpleObject("excepturi", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + bigint = 85076L; + bigintStr = "ducimus"; boolOpt = true; - decimal = 4240.89d; + decimal = 4527.29d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; - }};, "ducimus") {{ - type = "quos"; + }};, "pariatur") {{ + type = "itaque"; }}; RequestBodyPostApplicationJsonDeepResponse res = sdk.requestBodies.requestBodyPostApplicationJsonDeep(req); @@ -1187,41 +1187,21 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.DeepObjectCamelCase req = new DeepObjectCamelCase( new SimpleObjectCamelCase("corporis", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, 1, SimpleObjectCamelCaseIntEnumVal.Third, 999999L, 1.1d, "example") {{ - anyVal = "labore"; - bigintStrVal = "possimus"; - bigintVal = 706575L; - boolOptVal = true; - boolVal = true; - dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 7382.27d; - enumVal = Enum.TWO; - float32Val = 2.2222222f; - int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE; - int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.Second; - intOptNullVal = 999999L; - intVal = 999999L; - numOptNullVal = 1.1d; - numVal = 1.1d; - strOptVal = "optional example"; - strVal = "example"; - }}, new org.openapis.openapi.models.shared.SimpleObjectCamelCase[]{{ - add(new SimpleObjectCamelCase("in", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.Third, 999999L, 1.1d, "example") {{ - anyVal = "nemo"; - bigintStrVal = "recusandae"; - bigintVal = 397533L; + org.openapis.openapi.models.shared.DeepObjectCamelCase req = new DeepObjectCamelCase("optio", new org.openapis.openapi.models.shared.SimpleObjectCamelCase[]{{ + add(new SimpleObjectCamelCase("exercitationem", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ + anyVal = "ex"; + bigintStrVal = "quaerat"; + bigintVal = 416692L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 460.07d; + decimalVal = 8886.16d; enumVal = Enum.TWO; float32Val = 2.2222222f; int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.First; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -1229,21 +1209,21 @@ public class Application { strOptVal = "optional example"; strVal = "example"; }}), - }}, false, 814967L, new java.util.HashMap() {{ - put("numquam", new SimpleObjectCamelCase("dolore", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, 1, SimpleObjectCamelCaseIntEnumVal.Third, 999999L, 1.1d, "example") {{ - anyVal = "doloribus"; - bigintStrVal = "suscipit"; - bigintVal = 968972L; + }}, false, 264619L, new java.util.HashMap() {{ + put("ipsa", new SimpleObjectCamelCase("earum", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.Second, 999999L, 1.1d, "example") {{ + anyVal = "sint"; + bigintStrVal = "vero"; + bigintVal = 194901L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 6971.42d; + decimalVal = 9185.47d; enumVal = Enum.TWO; float32Val = 2.2222222f; int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.First; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -1251,16 +1231,16 @@ public class Application { strOptVal = "optional example"; strVal = "example"; }}); - }}, 2415.45d, new SimpleObjectCamelCase("non", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ - bigintStrVal = "dignissimos"; - bigintVal = 950953L; + }}, 1753.72d, new SimpleObjectCamelCase("nam", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ + bigintStrVal = "necessitatibus"; + bigintVal = 748224L; boolOptVal = true; - decimalVal = 8915.23d; + decimalVal = 568.77d; intOptNullVal = 999999L; numOptNullVal = 1.1d; strOptVal = "optional example"; - }};, "consectetur") {{ - type = "corporis"; + }};, "ducimus") {{ + type = "maiores"; }}; RequestBodyPostApplicationJsonDeepCamelCaseResponse res = sdk.requestBodies.requestBodyPostApplicationJsonDeepCamelCase(req); @@ -1316,21 +1296,21 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("harum", new SimpleObject("similique", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "laboriosam"; - bigint = 58356L; - bigintStr = "voluptates"; + put("veritatis", new SimpleObject("nemo", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "quasi"; + bigint = 386447L; + bigintStr = "pariatur"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 7307.09d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 7294.48d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.Third; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -1393,20 +1373,20 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("voluptas", new SimpleObjectCamelCase("minus", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE, 1, SimpleObjectCamelCaseIntEnumVal.Second, 999999L, 1.1d, "example") {{ - anyVal = "voluptas"; - bigintStrVal = "voluptas"; - bigintVal = 324405L; + put("doloribus", new SimpleObjectCamelCase("totam", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.Second, 999999L, 1.1d, "example") {{ + anyVal = "eligendi"; + bigintStrVal = "sint"; + bigintVal = 314573L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 7487.89d; + decimalVal = 9449.5d; enumVal = Enum.TWO; float32Val = 2.2222222f; - int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; + int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.First; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.Second; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -1470,21 +1450,21 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("in", new SimpleObject("cum", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "dolore"; - bigint = 304468L; - bigintStr = "officiis"; + put("eaque", new SimpleObject("libero", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "saepe"; + bigint = 104078L; + bigintStr = "quos"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 8391.89d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 6144.38d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.First; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -1546,20 +1526,20 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("hic", new SimpleObjectCamelCase("exercitationem", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ - anyVal = "nesciunt"; - bigintStrVal = "culpa"; - bigintVal = 548519L; + put("delectus", new SimpleObjectCamelCase("doloremque", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ + anyVal = "impedit"; + bigintStrVal = "cum"; + bigintVal = 216870L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 8672.9d; + decimalVal = 2380.11d; enumVal = Enum.TWO; float32Val = 2.2222222f; - int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE; + int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.Second; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -1622,22 +1602,22 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("rerum", new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("expedita", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "sed"; - bigint = 967966L; - bigintStr = "explicabo"; + put("libero", new org.openapis.openapi.models.shared.SimpleObject[]{{ + add(new SimpleObject("magnam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "architecto"; + bigint = 584593L; + bigintStr = "molestiae"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 9944.01d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 7566.54d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.Second; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; @@ -1701,21 +1681,21 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("dolore", new org.openapis.openapi.models.shared.SimpleObjectCamelCase[]{{ - add(new SimpleObjectCamelCase("voluptas", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ - anyVal = "laborum"; - bigintStrVal = "sed"; - bigintVal = 447516L; + put("asperiores", new org.openapis.openapi.models.shared.SimpleObjectCamelCase[]{{ + add(new SimpleObjectCamelCase("amet", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ + anyVal = "veniam"; + bigintStrVal = "consequuntur"; + bigintVal = 813880L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 4174.86d; + decimalVal = 5129.05d; enumVal = Enum.TWO; float32Val = 2.2222222f; - int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; + int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.FIFTY_FIVE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.First; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -1780,16 +1760,16 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap>() {{ - put("suscipit", new java.util.HashMap() {{ - put("sapiente", new SimpleObject("incidunt", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "debitis"; - bigint = 72434L; - bigintStr = "reiciendis"; + put("velit", new java.util.HashMap() {{ + put("facilis", new SimpleObject("nisi", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "tempore"; + bigint = 395233L; + bigintStr = "voluptatibus"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 193d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 3108.4d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; @@ -1859,21 +1839,21 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap>() {{ - put("eius", new java.util.HashMap() {{ - put("necessitatibus", new SimpleObjectCamelCase("tempora", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.Third, 999999L, 1.1d, "example") {{ - anyVal = "ipsum"; - bigintStrVal = "ea"; - bigintVal = 579912L; + put("libero", new java.util.HashMap() {{ + put("minus", new SimpleObjectCamelCase("consequuntur", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ + anyVal = "facere"; + bigintStrVal = "facilis"; + bigintVal = 217663L; boolOptVal = true; boolVal = true; dateTimeVal = OffsetDateTime.parse("2020-01-01T00:00:00Z"); dateVal = LocalDate.parse("2020-01-01"); - decimalVal = 5520.78d; + decimalVal = 3189.17d; enumVal = Enum.TWO; float32Val = 2.2222222f; int32EnumVal = SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE; int32Val = 1; - intEnumVal = SimpleObjectCamelCaseIntEnumVal.First; + intEnumVal = SimpleObjectCamelCaseIntEnumVal.Third; intOptNullVal = 999999L; intVal = 999999L; numOptNullVal = 1.1d; @@ -1932,8 +1912,8 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap>() {{ - put("ex", new java.util.HashMap() {{ - put("sit", "non"); + put("rerum", new java.util.HashMap() {{ + put("eos", "reprehenderit"); }}); }} @@ -1985,7 +1965,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("officiis", "praesentium"); + put("nostrum", "neque"); }} RequestBodyPostApplicationJsonMapOfPrimitiveResponse res = sdk.requestBodies.requestBodyPostApplicationJsonMapOfPrimitive(req); @@ -2041,11 +2021,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("facilis", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - bigint = 373035L; - bigintStr = "debitis"; + org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("iusto", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + bigint = 753890L; + bigintStr = "fugiat"; boolOpt = true; - decimal = 5249.7d; + decimal = 6040.78d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; @@ -2103,11 +2083,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("sit", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - bigint = 333507L; - bigintStr = "minima"; + org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("officiis", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + bigint = 118041L; + bigintStr = "error"; boolOpt = true; - decimal = 9241.59d; + decimal = 7847.31d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; @@ -2165,11 +2145,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.SimpleObjectCamelCase req = new SimpleObjectCamelCase("reiciendis", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.ONE_HUNDRED_AND_EIGHTY_ONE, 1, SimpleObjectCamelCaseIntEnumVal.First, 999999L, 1.1d, "example") {{ - bigintStrVal = "aperiam"; - bigintVal = 901483L; + org.openapis.openapi.models.shared.SimpleObjectCamelCase req = new SimpleObjectCamelCase("vitae", true, OffsetDateTime.parse("2020-01-01T00:00:00Z"), LocalDate.parse("2020-01-01"), Enum.TWO, 2.2222222f, SimpleObjectCamelCaseInt32EnumVal.SIXTY_NINE, 1, SimpleObjectCamelCaseIntEnumVal.Second, 999999L, 1.1d, "example") {{ + bigintStrVal = "fugiat"; + bigintVal = 322333L; boolOptVal = true; - decimalVal = 2536.42d; + decimalVal = 1348.18d; intOptNullVal = 999999L; numOptNullVal = 1.1d; strOptVal = "optional example"; @@ -2223,7 +2203,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostComplexNumberTypesRequest req = new RequestBodyPostComplexNumberTypesRequest( new ComplexNumberTypes(329935L, "in", 8892.34d, "beatae");, 512452L, "exercitationem", 5106.29d, "cum", 386827L, "dolorum", 5300.89d, "error"); + RequestBodyPostComplexNumberTypesRequest req = new RequestBodyPostComplexNumberTypesRequest( new ComplexNumberTypes(316501L, "delectus", 4825.84d, "dignissimos");, 729828L, "illo", 691.82d, "incidunt", 879174L, "saepe", 7348.14d, "veniam"); RequestBodyPostComplexNumberTypesResponse res = sdk.requestBodies.requestBodyPostComplexNumberTypes(req); @@ -2279,21 +2259,21 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.DefaultsAndConsts req = new DefaultsAndConsts(944708L, "expedita", false, LocalDate.parse("2022-05-21"), OffsetDateTime.parse("2022-04-26T13:26:55.921Z"), 6390.28d, "dolorum", DefaultsAndConstsConstEnumInt.TWO, DefaultsAndConstsConstEnumStr.THREE, 272683L, 5436.78d, "fugit", "ut", "fugiat", false, DefaultsAndConstsSingleEnumConstStr.ONE) {{ - defaultBigInt = 30235L; - defaultBigIntStr = "culpa"; + org.openapis.openapi.models.shared.DefaultsAndConsts req = new DefaultsAndConsts(176499L, "reiciendis", false, LocalDate.parse("2021-09-01"), OffsetDateTime.parse("2022-04-08T01:20:58.799Z"), 9998.09d, "quisquam", DefaultsAndConstsConstEnumInt.ONE, DefaultsAndConstsConstEnumStr.TWO, 534908L, 755.66d, "labore", "assumenda", "aliquam", false, DefaultsAndConstsSingleEnumConstStr.ONE) {{ + defaultBigInt = 790463L; + defaultBigIntStr = "provident"; defaultBool = false; - defaultDate = LocalDate.parse("2022-05-27"); - defaultDateTime = OffsetDateTime.parse("2022-07-17T00:28:30.755Z"); - defaultDecimal = 3726.79d; - defaultDecimalStr = "sit"; - defaultEnumInt = DefaultsAndConstsDefaultEnumInt.TWO; + defaultDate = LocalDate.parse("2021-02-27"); + defaultDateTime = OffsetDateTime.parse("2022-03-13T01:53:18.865Z"); + defaultDecimal = 1363.57d; + defaultDecimalStr = "nam"; + defaultEnumInt = DefaultsAndConstsDefaultEnumInt.THREE; defaultEnumStr = DefaultsAndConstsDefaultEnumStr.TWO; - defaultInt = 922112L; - defaultNum = 3611.51d; - defaultStr = "et"; - defaultStrNullable = "blanditiis"; - defaultStrOptional = "ex"; + defaultInt = 590858L; + defaultNum = 9222.99d; + defaultStr = "rerum"; + defaultStrNullable = "dignissimos"; + defaultStrOptional = "corporis"; }}; RequestBodyPostDefaultsAndConstsResponse res = sdk.requestBodies.requestBodyPostDefaultsAndConsts(req); @@ -2403,80 +2383,60 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.DeepObject req = new DeepObject( new SimpleObject("incidunt", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "sit"; - bigint = 425508L; - bigintStr = "nostrum"; - bool = true; - boolOpt = true; - date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 9061.72d; - enum_ = Enum.TWO; - float32 = 2.2222222f; - int_ = 999999L; - int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.First; - intOptNull = 999999L; - num = 1.1d; - numOptNull = 1.1d; - str = "example"; - strOpt = "optional example"; - }}, new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("atque", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "harum"; - bigint = 115703L; - bigintStr = "architecto"; + org.openapis.openapi.models.shared.DeepObject req = new DeepObject("similique", new org.openapis.openapi.models.shared.SimpleObject[]{{ + add(new SimpleObject("aut", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "repellendus"; + bigint = 434827L; + bigintStr = "dolorem"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 5771.4d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 4138.01d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.Third; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}), - }}, false, 948861L, new java.util.HashMap() {{ - put("laboriosam", new SimpleObject("provident", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "alias"; - bigint = 227084L; - bigintStr = "deserunt"; + }}, false, 60995L, new java.util.HashMap() {{ + put("amet", new SimpleObject("dicta", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "illum"; + bigint = 506863L; + bigintStr = "quidem"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 4548.6d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 7368.53d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.Third; + int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}); - }}, 9147.91d, new SimpleObject("perferendis", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - bigint = 440666L; - bigintStr = "facere"; + }}, 9384.12d, new SimpleObject("iusto", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + bigint = 677141L; + bigintStr = "necessitatibus"; boolOpt = true; - decimal = 6850.92d; + decimal = 5928.8d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; - }};, "praesentium") {{ - type = "mollitia"; + }};, "repudiandae") {{ + type = "consequatur"; }}; RequestBodyPostFormDeepResponse res = sdk.requestBodies.requestBodyPostFormDeep(req); @@ -2526,7 +2486,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("veniam", "voluptatem"); + put("nemo", "molestiae"); }} RequestBodyPostFormMapPrimitiveResponse res = sdk.requestBodies.requestBodyPostFormMapPrimitive(req); @@ -2581,11 +2541,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("quisquam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - bigint = 542457L; - bigintStr = "reprehenderit"; + org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("itaque", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + bigint = 43975L; + bigintStr = "sint"; boolOpt = true; - decimal = 9911.42d; + decimal = 8795.22d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; @@ -2638,7 +2598,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new Long[]{{ - add(519952L), + add(178635L), }} RequestBodyPostJsonDataTypesArrayBigIntResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesArrayBigInt(req); @@ -2688,7 +2648,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new LocalDate[]{{ - add(LocalDate.parse("2022-04-22")), + add(LocalDate.parse("2022-10-08")), }} RequestBodyPostJsonDataTypesArrayDateResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesArrayDate(req); @@ -2738,7 +2698,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new String[]{{ - add("maxime"), + add("voluptatem"), }} RequestBodyPostJsonDataTypesArrayDecimalStrResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesArrayDecimalStr(req); @@ -2787,7 +2747,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = 90885L + org.openapis.openapi.models.. req = 244376L RequestBodyPostJsonDataTypesBigIntResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesBigInt(req); @@ -2835,7 +2795,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "esse" + org.openapis.openapi.models.. req = "dolor" RequestBodyPostJsonDataTypesBigIntStrResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesBigIntStr(req); @@ -2931,7 +2891,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = LocalDate.parse("2022-03-05") + org.openapis.openapi.models.. req = LocalDate.parse("2022-01-17") RequestBodyPostJsonDataTypesDateResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesDate(req); @@ -2979,7 +2939,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = OffsetDateTime.parse("2022-06-18T05:19:26.990Z") + org.openapis.openapi.models.. req = OffsetDateTime.parse("2022-06-02T10:52:44.468Z") RequestBodyPostJsonDataTypesDateTimeResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesDateTime(req); @@ -3027,7 +2987,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = 6232.95d + org.openapis.openapi.models.. req = 5398.13d RequestBodyPostJsonDataTypesDecimalResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesDecimal(req); @@ -3075,7 +3035,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "officiis" + org.openapis.openapi.models.. req = "beatae" RequestBodyPostJsonDataTypesDecimalStrResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesDecimalStr(req); @@ -3123,7 +3083,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = 8869.61d + org.openapis.openapi.models.. req = 8682.55d RequestBodyPostJsonDataTypesFloat32Response res = sdk.requestBodies.requestBodyPostJsonDataTypesFloat32(req); @@ -3171,7 +3131,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = 880107 + org.openapis.openapi.models.. req = 287544 RequestBodyPostJsonDataTypesInt32Response res = sdk.requestBodies.requestBodyPostJsonDataTypesInt32(req); @@ -3219,7 +3179,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = 618826L + org.openapis.openapi.models.. req = 794988L RequestBodyPostJsonDataTypesIntegerResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesInteger(req); @@ -3268,7 +3228,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("minima", "aspernatur"); + put("esse", "voluptatem"); }} RequestBodyPostJsonDataTypesMapBigIntStrResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesMapBigIntStr(req); @@ -3318,7 +3278,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("ex", OffsetDateTime.parse("2021-05-14T14:40:02.618Z")); + put("perferendis", OffsetDateTime.parse("2022-03-06T12:29:45.421Z")); }} RequestBodyPostJsonDataTypesMapDateTimeResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesMapDateTime(req); @@ -3368,7 +3328,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("at", 6216.93d); + put("aperiam", 4894.59d); }} RequestBodyPostJsonDataTypesMapDecimalResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesMapDecimal(req); @@ -3417,7 +3377,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = 5027.21d + org.openapis.openapi.models.. req = 9980.26d RequestBodyPostJsonDataTypesNumberResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesNumber(req); @@ -3465,7 +3425,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "suscipit" + org.openapis.openapi.models.. req = "velit" RequestBodyPostJsonDataTypesStringResponse res = sdk.requestBodies.requestBodyPostJsonDataTypesString(req); @@ -3519,11 +3479,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("repudiandae", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - bigint = 120919L; - bigintStr = "recusandae"; + org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("porro", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + bigint = 753240L; + bigintStr = "dignissimos"; boolOpt = true; - decimal = 6806.97d; + decimal = 2358.34d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; @@ -3576,7 +3536,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON req = new RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON(false, 8298.98d, "labore"); + RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON req = new RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON(false, 7441.01d, "natus"); RequestBodyPostMultipleContentTypesInlineFilteredResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesInlineFiltered(req); @@ -3626,11 +3586,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostMultipleContentTypesSplitParamFormResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamForm(new RequestBodyPostMultipleContentTypesSplitParamApplicationXWwwFormUrlencoded(false, 9197.83d, "dicta") {{ + RequestBodyPostMultipleContentTypesSplitParamFormResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamForm(new RequestBodyPostMultipleContentTypesSplitParamApplicationXWwwFormUrlencoded(false, 2288.57d, "tenetur") {{ bool3 = false; - num3 = 9682.87d; - str3 = "doloremque"; - }}, "accusantium"); + num3 = 8398.07d; + str3 = "officia"; + }}, "aspernatur"); if (res.res != null) { // handle response @@ -3679,11 +3639,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostMultipleContentTypesSplitParamJsonResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamJson(new RequestBodyPostMultipleContentTypesSplitParamApplicationJSON(false, 3164.88d, "laboriosam") {{ + RequestBodyPostMultipleContentTypesSplitParamJsonResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamJson(new RequestBodyPostMultipleContentTypesSplitParamApplicationJSON(false, 8483.46d, "laborum") {{ bool = false; - num = 1064.29d; - str = "dolores"; - }}, "velit"); + num = 7782.76d; + str = "itaque"; + }}, "dignissimos"); if (res.res != null) { // handle response @@ -3732,11 +3692,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostMultipleContentTypesSplitParamMultipartResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamMultipart(new RequestBodyPostMultipleContentTypesSplitParamMultipartFormData(false, 3000.29d, "saepe") {{ + RequestBodyPostMultipleContentTypesSplitParamMultipartResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamMultipart(new RequestBodyPostMultipleContentTypesSplitParamMultipartFormData(false, 2323.83d, "repellat") {{ bool2 = false; - num2 = 9521.43d; - str2 = "molestias"; - }}, "consequuntur"); + num2 = 8762.85d; + str2 = "qui"; + }}, "explicabo"); if (res.res != null) { // handle response @@ -3784,7 +3744,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded req = new RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded(false, 5801.07d, "officiis"); + RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded req = new RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded(false, 1293.55d, "exercitationem"); RequestBodyPostMultipleContentTypesSplitFormResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitForm(req); @@ -3833,7 +3793,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostMultipleContentTypesSplitApplicationJSON req = new RequestBodyPostMultipleContentTypesSplitApplicationJSON(false, 5979.37d, "in"); + RequestBodyPostMultipleContentTypesSplitApplicationJSON req = new RequestBodyPostMultipleContentTypesSplitApplicationJSON(false, 4714.57d, "non"); RequestBodyPostMultipleContentTypesSplitJsonResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitJson(req); @@ -3882,7 +3842,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPostMultipleContentTypesSplitMultipartFormData req = new RequestBodyPostMultipleContentTypesSplitMultipartFormData(false, 2380.43d, "eveniet"); + RequestBodyPostMultipleContentTypesSplitMultipartFormData req = new RequestBodyPostMultipleContentTypesSplitMultipartFormData(false, 680.93d, "illo"); RequestBodyPostMultipleContentTypesSplitMultipartResponse res = sdk.requestBodies.requestBodyPostMultipleContentTypesSplitMultipart(req); @@ -3930,7 +3890,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "occaecati" + org.openapis.openapi.models.. req = "hic" RequestBodyPostNotNullableNotRequiredStringBodyResponse res = sdk.requestBodies.requestBodyPostNotNullableNotRequiredStringBody(req); @@ -3979,7 +3939,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new String[]{{ - add("consequuntur"), + add("deserunt"), }} RequestBodyPostNullArrayResponse res = sdk.requestBodies.requestBodyPostNullArray(req); @@ -4029,7 +3989,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("fugit", "id"); + put("delectus", "non"); }} RequestBodyPostNullDictionaryResponse res = sdk.requestBodies.requestBodyPostNullDictionary(req); @@ -4078,7 +4038,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "quis" + org.openapis.openapi.models.. req = "distinctio" RequestBodyPostNullableNotRequiredStringBodyResponse res = sdk.requestBodies.requestBodyPostNullableNotRequiredStringBody(req); @@ -4126,7 +4086,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "reprehenderit" + org.openapis.openapi.models.. req = "in" RequestBodyPostNullableRequiredStringBodyResponse res = sdk.requestBodies.requestBodyPostNullableRequiredStringBody(req); @@ -4174,7 +4134,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "error".getBytes() + org.openapis.openapi.models.. req = "exercitationem".getBytes() RequestBodyPutBytesResponse res = sdk.requestBodies.requestBodyPutBytes(req); @@ -4223,7 +4183,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPutBytesWithParamsResponse res = sdk.requestBodies.requestBodyPutBytesWithParams("illo".getBytes(), "corporis"); + RequestBodyPutBytesWithParamsResponse res = sdk.requestBodies.requestBodyPutBytesWithParams("labore".getBytes(), "numquam"); if (res.res != null) { // handle response @@ -4277,60 +4237,60 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.DeepObject req = new DeepObject("eveniet", new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("quae", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "non"; - bigint = 878493L; - bigintStr = "doloremque"; + org.openapis.openapi.models.shared.DeepObject req = new DeepObject("modi", new org.openapis.openapi.models.shared.SimpleObject[]{{ + add(new SimpleObject("deleniti", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "in"; + bigint = 127294L; + bigintStr = "accusamus"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 4341.56d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 5258.09d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; - intEnum = SimpleObjectIntEnum.Second; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}), - }}, false, 184362L, new java.util.HashMap() {{ - put("cum", new SimpleObject("rem", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "iure"; - bigint = 898063L; - bigintStr = "ratione"; + }}, false, 626707L, new java.util.HashMap() {{ + put("minima", new SimpleObject("mollitia", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "libero"; + bigint = 300189L; + bigintStr = "sit"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 6725.82d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 2667.88d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.Second; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; + intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}); - }}, 9979.63d, new SimpleObject("alias", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - bigint = 470649L; - bigintStr = "mollitia"; + }}, 3451.38d, new SimpleObject("molestiae", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + bigint = 66207L; + bigintStr = "modi"; boolOpt = true; - decimal = 3782.45d; + decimal = 138.65d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; - }};, "alias") {{ - type = "maiores"; + }};, "aut") {{ + type = "eveniet"; }}; RequestBodyPutMultipartDeepResponse res = sdk.requestBodies.requestBodyPutMultipartDeep(req); @@ -4382,7 +4342,7 @@ public class Application { .build(); RequestBodyPutMultipartFileRequestBody req = new RequestBodyPutMultipartFileRequestBody() {{ - file = new RequestBodyPutMultipartFileRequestBodyFile("reiciendis".getBytes(), "dolores");; + file = new RequestBodyPutMultipartFileRequestBodyFile("odio".getBytes(), "commodi");; }}; RequestBodyPutMultipartFileResponse res = sdk.requestBodies.requestBodyPutMultipartFile(req); @@ -4437,11 +4397,11 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("id", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - bigint = 680349L; - bigintStr = "nesciunt"; + org.openapis.openapi.models.shared.SimpleObject req = new SimpleObject("numquam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + bigint = 452399L; + bigintStr = "consectetur"; boolOpt = true; - decimal = 632.07d; + decimal = 2006.37d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; @@ -4493,7 +4453,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "recusandae" + org.openapis.openapi.models.. req = "quaerat" RequestBodyPutStringResponse res = sdk.requestBodies.requestBodyPutString(req); @@ -4542,7 +4502,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RequestBodyPutStringWithParamsResponse res = sdk.requestBodies.requestBodyPutStringWithParams("omnis", "quaerat"); + RequestBodyPutStringWithParamsResponse res = sdk.requestBodies.requestBodyPutStringWithParams("itaque", "minus"); if (res.res != null) { // handle response @@ -4590,7 +4550,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.ReadWriteObjectInput req = new ReadWriteObjectInput(477646L, 403218L, 284000L); + org.openapis.openapi.models.shared.ReadWriteObjectInput req = new ReadWriteObjectInput(122662L, 715143L, 481375L); RequestBodyReadAndWriteResponse res = sdk.requestBodies.requestBodyReadAndWrite(req); @@ -4752,20 +4712,20 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models..Input req = new SimpleObject("provident", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "debitis"; - bigint = 514513L; - bigintStr = "eum"; + org.openapis.openapi.models..Input req = new SimpleObject("aut", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "facilis"; + bigint = 229276L; + bigintStr = "autem"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 3679.27d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 6854.15d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; @@ -4822,7 +4782,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.WriteOnlyObject req = new WriteOnlyObject(false, 9704.94d, "provident"); + org.openapis.openapi.models.shared.WriteOnlyObject req = new WriteOnlyObject(false, 8322.39d, "veritatis"); RequestBodyWriteOnlyResponse res = sdk.requestBodies.requestBodyWriteOnly(req); @@ -4872,7 +4832,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.WriteOnlyObject req = new WriteOnlyObject(false, 1334.39d, "ullam"); + org.openapis.openapi.models.shared.WriteOnlyObject req = new WriteOnlyObject(false, 607.78d, "eaque"); RequestBodyWriteOnlyOutputResponse res = sdk.requestBodies.requestBodyWriteOnlyOutput(req); @@ -4928,26 +4888,10 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = new SimpleObject("ex", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "animi"; - bigint = 343392L; - bigintStr = "mollitia"; - bool = true; - boolOpt = true; - date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 5910.27d; - enum_ = Enum.TWO; - float32 = 2.2222222f; - int_ = 999999L; - int32 = 1; - int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.Second; - intOptNull = 999999L; - num = 1.1d; - numOptNull = 1.1d; - str = "example"; - strOpt = "optional example"; + org.openapis.openapi.models.. req = new WriteOnlyObject(false, 8590.03d, "officia") {{ + bool = false; + num = 9655.17d; + string = "mollitia"; }} RequestBodyWriteOnlyUnionResponse res = sdk.requestBodies.requestBodyWriteOnlyUnion(req); diff --git a/java-client-sdk/docs/sdks/resource/README.md b/java-client-sdk/docs/sdks/resource/README.md index cfa3018a2..f9b29453c 100755 --- a/java-client-sdk/docs/sdks/resource/README.md +++ b/java-client-sdk/docs/sdks/resource/README.md @@ -34,7 +34,7 @@ public class Application { .build(); CreateFileRequestBody req = new CreateFileRequestBody() {{ - file = new CreateFileRequestBodyFile("repellat".getBytes(), "doloribus");; + file = new CreateFileRequestBodyFile("sed".getBytes(), "voluptatem");; }}; CreateFileResponse res = sdk.resource.createFile(req); @@ -93,34 +93,32 @@ public class Application { .build(); org.openapis.openapi.models.shared.ExampleResource req = new ExampleResource( new org.openapis.openapi.models.shared.ExampleResourceChocolates[]{{ - add(new ExampleResourceChocolates("in") {{ - description = "ullam"; + add(new ExampleResourceChocolates("eveniet") {{ + description = "alias"; }}), - }}, "nam", "earum", new ExampleCar("fugit", "cumque", "quae", ExampleCarType.CAR, 216.88d) {{ - createdAt = OffsetDateTime.parse("2021-05-17T11:17:46.661Z"); - make = "modi"; - model = "voluptatibus"; - name = "Stewart Will MD"; - type = ExampleCarType.CAR; - updatedAt = OffsetDateTime.parse("2022-08-31T13:02:08.892Z"); - year = 820.57d; + }}, "hic", "voluptatem", new ExampleBoat(5629.48d, "officia", ExampleBoatType.BOAT) {{ + createdAt = OffsetDateTime.parse("2022-10-25T03:32:12.534Z"); + length = 8959.12d; + name = "Nicholas Brekke"; + type = ExampleBoatType.BOAT; + updatedAt = OffsetDateTime.parse("2020-01-29T06:30:42.778Z"); }}) {{ arrayOfNumber = new Double[]{{ - add(2419.01d), + add(7304.78d), }}; arrayOfString = new String[]{{ - add("aspernatur"), + add("totam"), }}; - createdAt = OffsetDateTime.parse("2022-09-27T20:53:33.627Z"); + createdAt = OffsetDateTime.parse("2022-08-08T18:13:57.874Z"); enumNumber = ExampleResourceEnumNumber.TWO; enumStr = ExampleResourceEnumStr.THREE; mapOfInteger = new java.util.HashMap() {{ - put("impedit", 179410L); + put("ducimus", 140957L); }}; mapOfString = new java.util.HashMap() {{ - put("sapiente", "eum"); + put("velit", "reiciendis"); }}; - updatedAt = OffsetDateTime.parse("2022-09-04T07:58:00.870Z"); + updatedAt = OffsetDateTime.parse("2020-06-02T01:41:14.280Z"); }}; CreateResourceResponse res = sdk.resource.createResource(req); @@ -170,7 +168,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - DeleteResourceResponse res = sdk.resource.deleteResource("beatae"); + DeleteResourceResponse res = sdk.resource.deleteResource("laborum"); if (res.statusCode == 200) { // handle response @@ -217,7 +215,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - GetResourceResponse res = sdk.resource.getResource("cupiditate"); + GetResourceResponse res = sdk.resource.getResource("natus"); if (res.exampleResource != null) { // handle response @@ -264,7 +262,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - UpdateResourceResponse res = sdk.resource.updateResource("provident"); + UpdateResourceResponse res = sdk.resource.updateResource("accusamus"); if (res.statusCode == 200) { // handle response diff --git a/java-client-sdk/docs/sdks/responsebodies/README.md b/java-client-sdk/docs/sdks/responsebodies/README.md index 79b671e6a..5bd19d9c6 100755 --- a/java-client-sdk/docs/sdks/responsebodies/README.md +++ b/java-client-sdk/docs/sdks/responsebodies/README.md @@ -41,7 +41,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("earum", "soluta"); + put("doloremque", "nisi"); }} ResponseBodyAdditionalPropertiesComplexNumbersPostResponse res = sdk.responseBodies.responseBodyAdditionalPropertiesComplexNumbersPost(req); @@ -91,7 +91,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("hic", LocalDate.parse("2022-11-04")); + put("rerum", LocalDate.parse("2020-04-05")); }} ResponseBodyAdditionalPropertiesDatePostResponse res = sdk.responseBodies.responseBodyAdditionalPropertiesDatePost(req); @@ -141,7 +141,7 @@ public class Application { .build(); org.openapis.openapi.models.. req = new java.util.HashMap() {{ - put("earum", "perspiciatis"); + put("non", "rem"); }} ResponseBodyAdditionalPropertiesPostResponse res = sdk.responseBodies.responseBodyAdditionalPropertiesPost(req); @@ -231,7 +231,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - ResponseBodyEmptyWithHeadersResponse res = sdk.responseBodies.responseBodyEmptyWithHeaders(9834.27d, "debitis"); + ResponseBodyEmptyWithHeadersResponse res = sdk.responseBodies.responseBodyEmptyWithHeaders(1578.84d, "ullam"); if (res.statusCode == 200) { // handle response @@ -454,11 +454,11 @@ public class Application { .build(); org.openapis.openapi.models.shared.ObjWithZeroValueComplexTypePtrs req = new ObjWithZeroValueComplexTypePtrs() {{ - bigint = 399802L; - bigintStr = "porro"; + bigint = 786860L; + bigintStr = "dicta"; date = LocalDate.parse("2020-01-01"); dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 3803.35d; + decimal = 9730.17d; }}; ResponseBodyZeroValueComplexTypePtrsPostResponse res = sdk.responseBodies.responseBodyZeroValueComplexTypePtrsPost(req); diff --git a/java-client-sdk/docs/sdks/retries/README.md b/java-client-sdk/docs/sdks/retries/README.md index 72c361e6d..d3772636e 100755 --- a/java-client-sdk/docs/sdks/retries/README.md +++ b/java-client-sdk/docs/sdks/retries/README.md @@ -32,7 +32,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - RetriesGetResponse res = sdk.retries.retriesGet("dolorem", 147808L); + RetriesGetResponse res = sdk.retries.retriesGet("eligendi", 62035L); if (res.retries != null) { // handle response diff --git a/java-client-sdk/docs/sdks/sdk/README.md b/java-client-sdk/docs/sdks/sdk/README.md index 1fa21c932..79fa0d60f 100755 --- a/java-client-sdk/docs/sdks/sdk/README.md +++ b/java-client-sdk/docs/sdks/sdk/README.md @@ -35,7 +35,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "distinctio" + org.openapis.openapi.models.. req = "fuga" PutAnythingIgnoredGenerationResponse res = sdk.sdk.putAnythingIgnoredGeneration(req); diff --git a/java-client-sdk/docs/sdks/telemetry/README.md b/java-client-sdk/docs/sdks/telemetry/README.md index 15208083c..4b95a4847 100755 --- a/java-client-sdk/docs/sdks/telemetry/README.md +++ b/java-client-sdk/docs/sdks/telemetry/README.md @@ -33,7 +33,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - TelemetrySpeakeasyUserAgentGetResponse res = sdk.telemetry.telemetrySpeakeasyUserAgentGet("cumque"); + TelemetrySpeakeasyUserAgentGetResponse res = sdk.telemetry.telemetrySpeakeasyUserAgentGet("officiis"); if (res.res != null) { // handle response diff --git a/java-client-sdk/docs/sdks/unions/README.md b/java-client-sdk/docs/sdks/unions/README.md index 5d4c999d6..8a052eced 100755 --- a/java-client-sdk/docs/sdks/unions/README.md +++ b/java-client-sdk/docs/sdks/unions/README.md @@ -43,7 +43,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.TypedObject1 req = new TypedObject1(TypedObject1Type.OBJ1, "fuga"); + org.openapis.openapi.models.shared.TypedObject1 req = new TypedObject1(TypedObject1Type.OBJ1, "architecto"); FlattenedTypedObjectPostResponse res = sdk.unions.flattenedTypedObjectPost(req); @@ -97,7 +97,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "animi" + org.openapis.openapi.models.. req = "enim" MixedTypeOneOfPostResponse res = sdk.unions.mixedTypeOneOfPost(req); @@ -150,10 +150,10 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.NullableOneOfRefInObject req = new NullableOneOfRefInObject( new TypedObject1(TypedObject1Type.OBJ1, "necessitatibus");, new TypedObject2(TypedObject2Type.OBJ2, "quasi") {{ + org.openapis.openapi.models.shared.NullableOneOfRefInObject req = new NullableOneOfRefInObject( new TypedObject1(TypedObject1Type.OBJ1, "optio");, new TypedObject2(TypedObject2Type.OBJ2, "facilis") {{ type = TypedObject2Type.OBJ2; - value = "consequatur"; - }}, new TypedObject1(TypedObject1Type.OBJ1, "et");); + value = "perferendis"; + }}, new TypedObject1(TypedObject1Type.OBJ1, "reiciendis");); NullableOneOfRefInObjectPostResponse res = sdk.unions.nullableOneOfRefInObjectPost(req); @@ -205,9 +205,9 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = new TypedObject1(TypedObject1Type.OBJ1, "occaecati") {{ - type = TypedObject1Type.OBJ1; - value = "natus"; + org.openapis.openapi.models.. req = new TypedObject2(TypedObject2Type.OBJ2, "dicta") {{ + type = TypedObject2Type.OBJ2; + value = "iste"; }} NullableOneOfSchemaPostResponse res = sdk.unions.nullableOneOfSchemaPost(req); @@ -257,7 +257,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.NullableOneOfTypeInObject req = new NullableOneOfTypeInObject(false, false, false); + org.openapis.openapi.models.shared.NullableOneOfTypeInObject req = new NullableOneOfTypeInObject(false, 356315L, false); NullableOneOfTypeInObjectPostResponse res = sdk.unions.nullableOneOfTypeInObjectPost(req); @@ -307,7 +307,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.shared.TypedObject1 req = new TypedObject1(TypedObject1Type.OBJ1, "adipisci"); + org.openapis.openapi.models.shared.TypedObject1 req = new TypedObject1(TypedObject1Type.OBJ1, "dolore"); NullableTypedObjectPostResponse res = sdk.unions.nullableTypedObjectPost(req); @@ -355,7 +355,7 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = "magni" + org.openapis.openapi.models.. req = 929292L PrimitiveTypeOneOfPostResponse res = sdk.unions.primitiveTypeOneOfPost(req); @@ -413,15 +413,15 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = new DeepObjectWithType( new SimpleObject("voluptates", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "voluptas"; - bigint = 614528L; - bigintStr = "id"; + org.openapis.openapi.models.. req = new DeepObjectWithType( new SimpleObject("possimus", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + any = "nesciunt"; + bigint = 630832L; + bigintStr = "illo"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 700.42d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 9979.95d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; @@ -434,15 +434,15 @@ public class Application { str = "example"; strOpt = "optional example"; }}, new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("ex", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "libero"; - bigint = 324083L; - bigintStr = "deleniti"; + add(new SimpleObject("nesciunt", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "explicabo"; + bigint = 368491L; + bigintStr = "cupiditate"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 3162.2d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 7614.37d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; @@ -455,53 +455,73 @@ public class Application { str = "example"; strOpt = "optional example"; }}), - }}, false, 281153L, new java.util.HashMap() {{ - put("ad", new SimpleObject("voluptatum", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "expedita"; - bigint = 29950L; - bigintStr = "molestias"; + }}, false, 164319L, new java.util.HashMap() {{ + put("veniam", new SimpleObject("adipisci", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "debitis"; + bigint = 638390L; + bigintStr = "sint"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 7372.54d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 2808.59d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; - intEnum = SimpleObjectIntEnum.First; + int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + intEnum = SimpleObjectIntEnum.Third; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}); - }}, 7032.18d, new SimpleObject("est", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - bigint = 959143L; - bigintStr = "officiis"; + }}, 3296.51d, new SimpleObject("ex", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.First, 1.1d, "example") {{ + bigint = 108165L; + bigintStr = "hic"; boolOpt = true; - decimal = 1032.98d; + decimal = 3923.19d; intOptNull = 999999L; numOptNull = 1.1d; strOpt = "optional example"; - }};, "fuga") {{ - any = "necessitatibus"; + }};, "quisquam") {{ + any = new SimpleObject("accusamus", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "consequuntur"; + bigint = 828147L; + bigintStr = "vero"; + bool = true; + boolOpt = true; + date = LocalDate.parse("2020-01-01"); + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 9851.09d; + enum_ = Enum.TWO; + float32 = 2.2222222f; + int_ = 999999L; + int32 = 1; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; + intEnum = SimpleObjectIntEnum.Third; + intOptNull = 999999L; + num = 1.1d; + numOptNull = 1.1d; + str = "example"; + strOpt = "optional example"; + }}; arr = new org.openapis.openapi.models.shared.SimpleObject[]{{ - add(new SimpleObject("esse", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "ipsa"; - bigint = 271113L; + add(new SimpleObject("nesciunt", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ + any = "ab"; + bigint = 573444L; bigintStr = "nihil"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 4731.9d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 4584.12d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; @@ -511,22 +531,22 @@ public class Application { }}), }}; bool = false; - int_ = 967260L; + int_ = 208683L; map = new java.util.HashMap() {{ - put("vel", new SimpleObject("esse", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.First, 1.1d, "example") {{ - any = "architecto"; - bigint = 857125L; - bigintStr = "doloremque"; + put("corporis", new SimpleObject("ipsa", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "voluptas"; + bigint = 163684L; + bigintStr = "officia"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 1173.15d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 4413.74d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.SIXTY_NINE; + int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; intEnum = SimpleObjectIntEnum.First; intOptNull = 999999L; num = 1.1d; @@ -535,30 +555,30 @@ public class Application { strOpt = "optional example"; }}); }}; - num = 3998.12d; - obj = new SimpleObject("aliquid", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.SIXTY_NINE, SimpleObjectIntEnum.Second, 1.1d, "example") {{ - any = "ipsa"; - bigint = 671384L; - bigintStr = "sunt"; + num = 351.6d; + obj = new SimpleObject("doloribus", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "veniam"; + bigint = 906232L; + bigintStr = "neque"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 3447.18d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 8163.65d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.Third; + int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; str = "example"; strOpt = "optional example"; }}; - str = "aliquid"; - type = "perferendis"; + str = "delectus"; + type = "velit"; }} StronglyTypedOneOfPostResponse res = sdk.unions.stronglyTypedOneOfPost(req); @@ -611,9 +631,9 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = new TypedObject2(TypedObject2Type.OBJ2, "voluptatem") {{ - type = TypedObject2Type.OBJ2; - value = "debitis"; + org.openapis.openapi.models.. req = new TypedObject1(TypedObject1Type.OBJ1, "fuga") {{ + type = TypedObject1Type.OBJ1; + value = "ducimus"; }} TypedObjectNullableOneOfPostResponse res = sdk.unions.typedObjectNullableOneOfPost(req); @@ -668,9 +688,9 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = new TypedObject1(TypedObject1Type.OBJ1, "earum") {{ + org.openapis.openapi.models.. req = new TypedObject1(TypedObject1Type.OBJ1, "qui") {{ type = TypedObject1Type.OBJ1; - value = "deleniti"; + value = "architecto"; }} TypedObjectOneOfPostResponse res = sdk.unions.typedObjectOneOfPost(req); @@ -726,21 +746,21 @@ public class Application { .setGlobalQueryParam("some example global query param") .build(); - org.openapis.openapi.models.. req = new SimpleObject("ullam", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ - any = "sapiente"; - bigint = 524184L; - bigintStr = "minus"; + org.openapis.openapi.models.. req = new SimpleObject("expedita", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00.000Z"), Enum.TWO, 2.2222222f, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1d, "example") {{ + any = "magni"; + bigint = 276650L; + bigintStr = "adipisci"; bool = true; boolOpt = true; date = LocalDate.parse("2020-01-01"); - dateTime = OffsetDateTime.parse("2020-01-01T00:00:00Z"); - decimal = 3651d; + dateTime = OffsetDateTime.parse("2020-01-01T00:00:00.000Z"); + decimal = 5063.43d; enum_ = Enum.TWO; float32 = 2.2222222f; int_ = 999999L; int32 = 1; - int32Enum = SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE; - intEnum = SimpleObjectIntEnum.First; + int32Enum = SimpleObjectInt32Enum.FIFTY_FIVE; + intEnum = SimpleObjectIntEnum.Second; intOptNull = 999999L; num = 1.1d; numOptNull = 1.1d; diff --git a/java-client-sdk/files.gen b/java-client-sdk/files.gen index 7bf586e4e..d2490542f 100755 --- a/java-client-sdk/files.gen +++ b/java-client-sdk/files.gen @@ -537,6 +537,8 @@ lib/src/main/java/org/openapis/openapi/models/shared/EmptyObjectParam.java lib/src/main/java/org/openapis/openapi/models/shared/HttpBinSimpleJsonObjectSlideshowSlides.java lib/src/main/java/org/openapis/openapi/models/shared/HttpBinSimpleJsonObjectSlideshow.java lib/src/main/java/org/openapis/openapi/models/shared/HttpBinSimpleJsonObject.java +lib/src/main/java/org/openapis/openapi/models/shared/FakerStrings.java +lib/src/main/java/org/openapis/openapi/models/shared/FakerFormattedStrings.java lib/src/main/java/org/openapis/openapi/models/shared/LimitOffsetConfig.java lib/src/main/java/org/openapis/openapi/models/shared/RefQueryParamObjExploded.java lib/src/main/java/org/openapis/openapi/models/shared/RefQueryParamObj.java @@ -1064,6 +1066,8 @@ docs/models/shared/EmptyObjectParam.md docs/models/shared/HttpBinSimpleJsonObjectSlideshowSlides.md docs/models/shared/HttpBinSimpleJsonObjectSlideshow.md docs/models/shared/HttpBinSimpleJsonObject.md +docs/models/shared/FakerStrings.md +docs/models/shared/FakerFormattedStrings.md docs/models/shared/LimitOffsetConfig.md docs/models/shared/RefQueryParamObjExploded.md docs/models/shared/RefQueryParamObj.md diff --git a/java-client-sdk/gen.yaml b/java-client-sdk/gen.yaml index b1ed7462d..91e717c88 100755 --- a/java-client-sdk/gen.yaml +++ b/java-client-sdk/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 + docChecksum: 48364fae08d653e4f11c8205d92918af docVersion: 0.1.0 speakeasyVersion: 1.91.2 generationVersion: 2.131.1 @@ -26,7 +26,7 @@ features: nameOverrides: 2.81.1 serverIDs: 2.81.1 java: - version: 1.33.2 + version: 1.33.3 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 a6eceb1db..23575dd59 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.2' + version = '1.33.3' 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 9ca0d9cf0..4adad1bbe 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,7 +35,7 @@ class SDKConfiguration { }}; public String language = "java"; public String openapiDocVersion = "0.1.0"; - public String sdkVersion = "1.33.2"; + public String sdkVersion = "1.33.3"; 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/UsageExamplePost200ApplicationJSONJSON.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/UsageExamplePost200ApplicationJSONJSON.java index 66009964c..2058ca8fe 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/UsageExamplePost200ApplicationJSONJSON.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/UsageExamplePost200ApplicationJSONJSON.java @@ -11,86 +11,26 @@ public class UsageExamplePost200ApplicationJSONJSON { /** - * A field called email that will have emails generated as examples + * A set of strings with format values that lead to relevant examples being generated for them */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - public String email; + @JsonProperty("fakerFormattedStrings") + public org.openapis.openapi.models.shared.FakerFormattedStrings fakerFormattedStrings; - public UsageExamplePost200ApplicationJSONJSON withEmail(String email) { - this.email = email; + public UsageExamplePost200ApplicationJSONJSON withFakerFormattedStrings(org.openapis.openapi.models.shared.FakerFormattedStrings fakerFormattedStrings) { + this.fakerFormattedStrings = fakerFormattedStrings; return this; } /** - * A field formatted as an email that will have emails generated as examples + * A set of strings with fieldnames that lead to relevant examples being generated for them */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("formatEmail") - public String formatEmail; + @JsonProperty("fakerStrings") + public org.openapis.openapi.models.shared.FakerStrings fakerStrings; - public UsageExamplePost200ApplicationJSONJSON withFormatEmail(String formatEmail) { - this.formatEmail = formatEmail; - return this; - } - - /** - * A field formatted as a uri that will have uris generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("formatUri") - public String formatUri; - - public UsageExamplePost200ApplicationJSONJSON withFormatUri(String formatUri) { - this.formatUri = formatUri; - return this; - } - - /** - * A field formatted as a uuid that will have uuids generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("formatUuid") - public String formatUuid; - - public UsageExamplePost200ApplicationJSONJSON withFormatUuid(String formatUuid) { - this.formatUuid = formatUuid; - return this; - } - - /** - * A field formatted as a hostname that will have hostnames generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("hostname") - public String hostname; - - public UsageExamplePost200ApplicationJSONJSON withHostname(String hostname) { - this.hostname = hostname; - return this; - } - - /** - * A field formatted as an ipv4 that will have ipv4s generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("ipv4") - public String ipv4; - - public UsageExamplePost200ApplicationJSONJSON withIpv4(String ipv4) { - this.ipv4 = ipv4; - return this; - } - - /** - * A field formatted as an ipv6 that will have ipv6s generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("ipv6") - public String ipv6; - - public UsageExamplePost200ApplicationJSONJSON withIpv6(String ipv6) { - this.ipv6 = ipv6; + public UsageExamplePost200ApplicationJSONJSON withFakerStrings(org.openapis.openapi.models.shared.FakerStrings fakerStrings) { + this.fakerStrings = fakerStrings; return this; } @@ -107,41 +47,5 @@ public UsageExamplePost200ApplicationJSONJSON withSimpleObject(org.openapis.open return this; } - /** - * A field formatted as an unknown that will have random strings generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unknown") - public String unknown; - - public UsageExamplePost200ApplicationJSONJSON withUnknown(String unknown) { - this.unknown = unknown; - return this; - } - - /** - * A field called uri that will have uris generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uri") - public String uri; - - public UsageExamplePost200ApplicationJSONJSON withUri(String uri) { - this.uri = uri; - return this; - } - - /** - * A field called uuid that will have uuids generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uuid") - public String uuid; - - public UsageExamplePost200ApplicationJSONJSON withUuid(String uuid) { - this.uuid = uuid; - return this; - } - public UsageExamplePost200ApplicationJSONJSON(){} } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/UsageExamplePostRequestBody.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/UsageExamplePostRequestBody.java index bd8482a25..b5deb0055 100755 --- a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/UsageExamplePostRequestBody.java +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/operations/UsageExamplePostRequestBody.java @@ -14,86 +14,26 @@ public class UsageExamplePostRequestBody { /** - * A field called email that will have emails generated as examples + * A set of strings with format values that lead to relevant examples being generated for them */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("email") - public String email; + @JsonProperty("fakerFormattedStrings") + public org.openapis.openapi.models.shared.FakerFormattedStrings fakerFormattedStrings; - public UsageExamplePostRequestBody withEmail(String email) { - this.email = email; + public UsageExamplePostRequestBody withFakerFormattedStrings(org.openapis.openapi.models.shared.FakerFormattedStrings fakerFormattedStrings) { + this.fakerFormattedStrings = fakerFormattedStrings; return this; } /** - * A field formatted as an email that will have emails generated as examples + * A set of strings with fieldnames that lead to relevant examples being generated for them */ @JsonInclude(Include.NON_ABSENT) - @JsonProperty("formatEmail") - public String formatEmail; + @JsonProperty("fakerStrings") + public org.openapis.openapi.models.shared.FakerStrings fakerStrings; - public UsageExamplePostRequestBody withFormatEmail(String formatEmail) { - this.formatEmail = formatEmail; - return this; - } - - /** - * A field formatted as a uri that will have uris generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("formatUri") - public String formatUri; - - public UsageExamplePostRequestBody withFormatUri(String formatUri) { - this.formatUri = formatUri; - return this; - } - - /** - * A field formatted as a uuid that will have uuids generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("formatUuid") - public String formatUuid; - - public UsageExamplePostRequestBody withFormatUuid(String formatUuid) { - this.formatUuid = formatUuid; - return this; - } - - /** - * A field formatted as a hostname that will have hostnames generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("hostname") - public String hostname; - - public UsageExamplePostRequestBody withHostname(String hostname) { - this.hostname = hostname; - return this; - } - - /** - * A field formatted as an ipv4 that will have ipv4s generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("ipv4") - public String ipv4; - - public UsageExamplePostRequestBody withIpv4(String ipv4) { - this.ipv4 = ipv4; - return this; - } - - /** - * A field formatted as an ipv6 that will have ipv6s generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("ipv6") - public String ipv6; - - public UsageExamplePostRequestBody withIpv6(String ipv6) { - this.ipv6 = ipv6; + public UsageExamplePostRequestBody withFakerStrings(org.openapis.openapi.models.shared.FakerStrings fakerStrings) { + this.fakerStrings = fakerStrings; return this; } @@ -110,41 +50,5 @@ public UsageExamplePostRequestBody withSimpleObject(org.openapis.openapi.models. return this; } - /** - * A field formatted as an unknown that will have random strings generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("unknown") - public String unknown; - - public UsageExamplePostRequestBody withUnknown(String unknown) { - this.unknown = unknown; - return this; - } - - /** - * A field called uri that will have uris generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uri") - public String uri; - - public UsageExamplePostRequestBody withUri(String uri) { - this.uri = uri; - return this; - } - - /** - * A field called uuid that will have uuids generated as examples - */ - @JsonInclude(Include.NON_ABSENT) - @JsonProperty("uuid") - public String uuid; - - public UsageExamplePostRequestBody withUuid(String uuid) { - this.uuid = uuid; - return this; - } - public UsageExamplePostRequestBody(){} } diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerFormattedStrings.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerFormattedStrings.java new file mode 100755 index 000000000..5793c2bf1 --- /dev/null +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerFormattedStrings.java @@ -0,0 +1,233 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package org.openapis.openapi.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * FakerFormattedStrings - A set of strings with format values that lead to relevant examples being generated for them + */ + +public class FakerFormattedStrings { + /** + * A field that will have an address generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("addressFormat") + public String addressFormat; + + public FakerFormattedStrings withAddressFormat(String addressFormat) { + this.addressFormat = addressFormat; + return this; + } + + /** + * A field that will have a directory path generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("directoryFormat") + public String directoryFormat; + + public FakerFormattedStrings withDirectoryFormat(String directoryFormat) { + this.directoryFormat = directoryFormat; + return this; + } + + /** + * A field that will have a domain name generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domainFormat") + public String domainFormat; + + public FakerFormattedStrings withDomainFormat(String domainFormat) { + this.domainFormat = domainFormat; + return this; + } + + /** + * A field that will have an email address generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("emailFormat") + public String emailFormat; + + public FakerFormattedStrings withEmailFormat(String emailFormat) { + this.emailFormat = emailFormat; + return this; + } + + /** + * A field that will have a filename generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filenameFormat") + public String filenameFormat; + + public FakerFormattedStrings withFilenameFormat(String filenameFormat) { + this.filenameFormat = filenameFormat; + return this; + } + + /** + * A field that will have a file path generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filepathFormat") + public String filepathFormat; + + public FakerFormattedStrings withFilepathFormat(String filepathFormat) { + this.filepathFormat = filepathFormat; + return this; + } + + /** + * A field that will have a image url generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("imageFormat") + public String imageFormat; + + public FakerFormattedStrings withImageFormat(String imageFormat) { + this.imageFormat = imageFormat; + return this; + } + + /** + * A field that will have an IPv4 address generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ipv4Format") + public String ipv4Format; + + public FakerFormattedStrings withIpv4Format(String ipv4Format) { + this.ipv4Format = ipv4Format; + return this; + } + + /** + * A field that will have an IPv6 address generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ipv6Format") + public String ipv6Format; + + public FakerFormattedStrings withIpv6Format(String ipv6Format) { + this.ipv6Format = ipv6Format; + return this; + } + + /** + * A field that will have a JSON generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("jsonFormat") + public String jsonFormat; + + public FakerFormattedStrings withJsonFormat(String jsonFormat) { + this.jsonFormat = jsonFormat; + return this; + } + + /** + * A field that will have a MAC address generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("macFormat") + public String macFormat; + + public FakerFormattedStrings withMacFormat(String macFormat) { + this.macFormat = macFormat; + return this; + } + + /** + * A field that will have a fake password generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("passwordFormat") + public String passwordFormat; + + public FakerFormattedStrings withPasswordFormat(String passwordFormat) { + this.passwordFormat = passwordFormat; + return this; + } + + /** + * A field that will have a phone number generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("phoneFormat") + public String phoneFormat; + + public FakerFormattedStrings withPhoneFormat(String phoneFormat) { + this.phoneFormat = phoneFormat; + return this; + } + + /** + * A field that will have a timezone generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("timezoneFormat") + public String timezoneFormat; + + public FakerFormattedStrings withTimezoneFormat(String timezoneFormat) { + this.timezoneFormat = timezoneFormat; + return this; + } + + /** + * A field that will have random words generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unknownFormat") + public String unknownFormat; + + public FakerFormattedStrings withUnknownFormat(String unknownFormat) { + this.unknownFormat = unknownFormat; + return this; + } + + /** + * A field that will have a URL generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("urlFormat") + public String urlFormat; + + public FakerFormattedStrings withUrlFormat(String urlFormat) { + this.urlFormat = urlFormat; + return this; + } + + /** + * A field that will have a UUID generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("uuidFormat") + public String uuidFormat; + + public FakerFormattedStrings withUuidFormat(String uuidFormat) { + this.uuidFormat = uuidFormat; + return this; + } + + /** + * A field that will have a postal code generated as example + */ + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("zipcodeFormat") + public String zipcodeFormat; + + public FakerFormattedStrings withZipcodeFormat(String zipcodeFormat) { + this.zipcodeFormat = zipcodeFormat; + return this; + } + + public FakerFormattedStrings(){} +} diff --git a/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerStrings.java b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerStrings.java new file mode 100755 index 000000000..daf5ab7a1 --- /dev/null +++ b/java-client-sdk/lib/src/main/java/org/openapis/openapi/models/shared/FakerStrings.java @@ -0,0 +1,494 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +package org.openapis.openapi.models.shared; + +import com.fasterxml.jackson.annotation.JsonInclude.Include; +import com.fasterxml.jackson.annotation.JsonInclude; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * FakerStrings - A set of strings with fieldnames that lead to relevant examples being generated for them + */ + +public class FakerStrings { + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("City") + public String city; + + public FakerStrings withCity(String city) { + this.city = city; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("IBAN") + public String iban; + + public FakerStrings withIban(String iban) { + this.iban = iban; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("ID") + public String id; + + public FakerStrings withId(String id) { + this.id = id; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("IPv4") + public String iPv4; + + public FakerStrings withIPv4(String iPv4) { + this.iPv4 = iPv4; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("IPv6") + public String iPv6; + + public FakerStrings withIPv6(String iPv6) { + this.iPv6 = iPv6; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("account") + public String account; + + public FakerStrings withAccount(String account) { + this.account = account; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("address") + public String address; + + public FakerStrings withAddress(String address) { + this.address = address; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("amount") + public String amount; + + public FakerStrings withAmount(String amount) { + this.amount = amount; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("avatar") + public String avatar; + + public FakerStrings withAvatar(String avatar) { + this.avatar = avatar; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("color") + public String color; + + public FakerStrings withColor(String color) { + this.color = color; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("comment") + public String comment; + + public FakerStrings withComment(String comment) { + this.comment = comment; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("company") + public String company; + + public FakerStrings withCompany(String company) { + this.company = company; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country") + public String country; + + public FakerStrings withCountry(String country) { + this.country = country; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("country_code") + public String countryCode; + + public FakerStrings withCountryCode(String countryCode) { + this.countryCode = countryCode; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("currency") + public String currency; + + public FakerStrings withCurrency(String currency) { + this.currency = currency; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("datatype") + public String datatype; + + public FakerStrings withDatatype(String datatype) { + this.datatype = datatype; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("default") + public String default_; + + public FakerStrings withDefault(String default_) { + this.default_ = default_; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("description") + public String description; + + public FakerStrings withDescription(String description) { + this.description = description; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("directory") + public String directory; + + public FakerStrings withDirectory(String directory) { + this.directory = directory; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("domainName") + public String domainName; + + public FakerStrings withDomainName(String domainName) { + this.domainName = domainName; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("emailAddr") + public String emailAddr; + + public FakerStrings withEmailAddr(String emailAddr) { + this.emailAddr = emailAddr; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("extension") + public String extension; + + public FakerStrings withExtension(String extension) { + this.extension = extension; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filename") + public String filename; + + public FakerStrings withFilename(String filename) { + this.filename = filename; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filepath") + public String filepath; + + public FakerStrings withFilepath(String filepath) { + this.filepath = filepath; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("filetype") + public String filetype; + + public FakerStrings withFiletype(String filetype) { + this.filetype = filetype; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("firstName") + public String firstName; + + public FakerStrings withFirstName(String firstName) { + this.firstName = firstName; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("fullName") + public String fullName; + + public FakerStrings withFullName(String fullName) { + this.fullName = fullName; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("gender") + public String gender; + + public FakerStrings withGender(String gender) { + this.gender = gender; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("job") + public String job; + + public FakerStrings withJob(String job) { + this.job = job; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("json") + public String json; + + public FakerStrings withJson(String json) { + this.json = json; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("key") + public String key; + + public FakerStrings withKey(String key) { + this.key = key; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("lastName") + public String lastName; + + public FakerStrings withLastName(String lastName) { + this.lastName = lastName; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("latitude") + public String latitude; + + public FakerStrings withLatitude(String latitude) { + this.latitude = latitude; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("locale") + public String locale; + + public FakerStrings withLocale(String locale) { + this.locale = locale; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("longitude") + public String longitude; + + public FakerStrings withLongitude(String longitude) { + this.longitude = longitude; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("mac") + public String mac; + + public FakerStrings withMac(String mac) { + this.mac = mac; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("manufacturer") + public String manufacturer; + + public FakerStrings withManufacturer(String manufacturer) { + this.manufacturer = manufacturer; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("material") + public String material; + + public FakerStrings withMaterial(String material) { + this.material = material; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("middleName") + public String middleName; + + public FakerStrings withMiddleName(String middleName) { + this.middleName = middleName; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("model") + public String model; + + public FakerStrings withModel(String model) { + this.model = model; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("password") + public String password; + + public FakerStrings withPassword(String password) { + this.password = password; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("phone") + public String phone; + + public FakerStrings withPhone(String phone) { + this.phone = phone; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("pin") + public String pin; + + public FakerStrings withPin(String pin) { + this.pin = pin; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("postal-code") + public String postalCode; + + public FakerStrings withPostalCode(String postalCode) { + this.postalCode = postalCode; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("price") + public String price; + + public FakerStrings withPrice(String price) { + this.price = price; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("product") + public String product; + + public FakerStrings withProduct(String product) { + this.product = product; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("sex") + public String sex; + + public FakerStrings withSex(String sex) { + this.sex = sex; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("street") + public String street; + + public FakerStrings withStreet(String street) { + this.street = street; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("timezone") + public String timezone; + + public FakerStrings withTimezone(String timezone) { + this.timezone = timezone; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("unit") + public String unit; + + public FakerStrings withUnit(String unit) { + this.unit = unit; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("url") + public String url; + + public FakerStrings withUrl(String url) { + this.url = url; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("username") + public String username; + + public FakerStrings withUsername(String username) { + this.username = username; + return this; + } + + @JsonInclude(Include.NON_ABSENT) + @JsonProperty("uuid") + public String uuid; + + public FakerStrings withUuid(String uuid) { + this.uuid = uuid; + return this; + } + + public FakerStrings(){} +} 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 ffff90fd5..ebc2e06ab 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.2 2.131.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent")); + assertEquals("speakeasy-sdk/java 1.33.3 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.2 2.131.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent")); + assertEquals("speakeasy-sdk/java 1.33.3 2.131.1 0.1.0", res.res.headers.get("X-Speakeasy-User-Agent")); } } diff --git a/php-client-sdk/README.md b/php-client-sdk/README.md index 18e3a02c6..d60452e53 100755 --- a/php-client-sdk/README.md +++ b/php-client-sdk/README.md @@ -48,6 +48,8 @@ use \OpenAPI\OpenAPI\SDK; use \OpenAPI\OpenAPI\Models\Shared\Security; use \OpenAPI\OpenAPI\Models\Operations\UsageExamplePostRequest; use \OpenAPI\OpenAPI\Models\Operations\UsageExamplePostRequestBody; +use \OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings; +use \OpenAPI\OpenAPI\Models\Shared\FakerStrings; use \OpenAPI\OpenAPI\Models\Shared\SimpleObject; use \OpenAPI\OpenAPI\Models\Shared\Enum; use \OpenAPI\OpenAPI\Models\Shared\SimpleObjectInt32Enum; @@ -62,56 +64,119 @@ $sdk = SDK::builder() try { $request = new UsageExamplePostRequest(); $request->requestBody = new UsageExamplePostRequestBody(); - $request->requestBody->email = 'Vada_Hills@gmail.com'; - $request->requestBody->formatEmail = 'Avery_Mueller9@gmail.com'; - $request->requestBody->formatUri = 'https://witty-swim.info'; - $request->requestBody->formatUuid = '8f097b00-74f1-4547-9b5e-6e13b99d488e'; - $request->requestBody->hostname = 'bronze-trafficker.name'; - $request->requestBody->ipv4 = '21.237.71.81'; - $request->requestBody->ipv6 = '0ad2:abd4:4269:802d:502a:94bb:4f63:c969'; + $request->requestBody->fakerFormattedStrings = new FakerFormattedStrings(); + $request->requestBody->fakerFormattedStrings->addressFormat = '95744 Farrell Port'; + $request->requestBody->fakerFormattedStrings->directoryFormat = 'numquam'; + $request->requestBody->fakerFormattedStrings->domainFormat = 'veritatis'; + $request->requestBody->fakerFormattedStrings->emailFormat = 'Anabelle.Kerluke@gmail.com'; + $request->requestBody->fakerFormattedStrings->filenameFormat = 'accusamus'; + $request->requestBody->fakerFormattedStrings->filepathFormat = 'quidem'; + $request->requestBody->fakerFormattedStrings->imageFormat = 'voluptatibus'; + $request->requestBody->fakerFormattedStrings->ipv4Format = '96.158.45.138'; + $request->requestBody->fakerFormattedStrings->ipv6Format = '0d1b:a77a:89eb:f737:ae42:03ce:5e6a:95d8'; + $request->requestBody->fakerFormattedStrings->jsonFormat = '{"foo":"!r>:Hks2`y","bar":68748,"bike":21550,"a":"y6dr8>4zQL","b":71158,"name":15369,"prop":73044}'; + $request->requestBody->fakerFormattedStrings->macFormat = 'voluptas'; + $request->requestBody->fakerFormattedStrings->passwordFormat = 'deserunt'; + $request->requestBody->fakerFormattedStrings->phoneFormat = '321.688.7165 x211'; + $request->requestBody->fakerFormattedStrings->timezoneFormat = 'distinctio'; + $request->requestBody->fakerFormattedStrings->unknownFormat = 'facilis'; + $request->requestBody->fakerFormattedStrings->urlFormat = 'aliquid'; + $request->requestBody->fakerFormattedStrings->uuidFormat = '79d23227-15bf-40cb-b1e3-1b8b90f3443a'; + $request->requestBody->fakerFormattedStrings->zipcodeFormat = '00590'; + $request->requestBody->fakerStrings = new FakerStrings(); + $request->requestBody->fakerStrings->city = 'Skilesfield'; + $request->requestBody->fakerStrings->iban = 'doloribus'; + $request->requestBody->fakerStrings->id = '4b921879-fce9-453f-b3ef-7fbc7abd74dd'; + $request->requestBody->fakerStrings->iPv4 = '49.158.197.3'; + $request->requestBody->fakerStrings->iPv6 = 'f5d2:cff7:c70a:4562:6d43:6813:f16d:9f5f'; + $request->requestBody->fakerStrings->account = 'quisquam'; + $request->requestBody->fakerStrings->address = '473 Greg Circle'; + $request->requestBody->fakerStrings->amount = 'magnam'; + $request->requestBody->fakerStrings->avatar = 'ea'; + $request->requestBody->fakerStrings->color = 'quo'; + $request->requestBody->fakerStrings->comment = 'consectetur'; + $request->requestBody->fakerStrings->company = 'Cole, Hane and Becker'; + $request->requestBody->fakerStrings->country = 'Uruguay'; + $request->requestBody->fakerStrings->countryCode = 'PN'; + $request->requestBody->fakerStrings->currency = 'aut'; + $request->requestBody->fakerStrings->datatype = 'aut'; + $request->requestBody->fakerStrings->default = 'deleniti'; + $request->requestBody->fakerStrings->description = 'impedit'; + $request->requestBody->fakerStrings->directory = 'aliquam'; + $request->requestBody->fakerStrings->domainName = 'fugit'; + $request->requestBody->fakerStrings->emailAddr = 'accusamus'; + $request->requestBody->fakerStrings->extension = 'inventore'; + $request->requestBody->fakerStrings->filename = 'non'; + $request->requestBody->fakerStrings->filepath = 'et'; + $request->requestBody->fakerStrings->filetype = 'dolorum'; + $request->requestBody->fakerStrings->firstName = 'Margarett'; + $request->requestBody->fakerStrings->fullName = 'placeat'; + $request->requestBody->fakerStrings->gender = 'female'; + $request->requestBody->fakerStrings->job = 'eum'; + $request->requestBody->fakerStrings->json = '{"foo":75213,"bar":"nqDd):8-X&","bike":30159,"a":26211,"b":45614,"name":"`Jap;IDm1P","prop":")&^a4ioi`9"}'; + $request->requestBody->fakerStrings->key = 'eos'; + $request->requestBody->fakerStrings->lastName = 'Hintz'; + $request->requestBody->fakerStrings->latitude = 'ab'; + $request->requestBody->fakerStrings->locale = 'cupiditate'; + $request->requestBody->fakerStrings->longitude = 'consequatur'; + $request->requestBody->fakerStrings->mac = 'tempora'; + $request->requestBody->fakerStrings->manufacturer = 'debitis'; + $request->requestBody->fakerStrings->material = 'ipsam'; + $request->requestBody->fakerStrings->middleName = 'aspernatur'; + $request->requestBody->fakerStrings->model = 'sequi'; + $request->requestBody->fakerStrings->password = 'quo'; + $request->requestBody->fakerStrings->phone = '907.840.4583 x454'; + $request->requestBody->fakerStrings->pin = 'sapiente'; + $request->requestBody->fakerStrings->postalCode = '64074'; + $request->requestBody->fakerStrings->price = 'quas'; + $request->requestBody->fakerStrings->product = 'praesentium'; + $request->requestBody->fakerStrings->sex = 'female'; + $request->requestBody->fakerStrings->street = '1662 Champlin Glen'; + $request->requestBody->fakerStrings->timezone = 'nisi'; + $request->requestBody->fakerStrings->unit = 'fugit'; + $request->requestBody->fakerStrings->url = 'sapiente'; + $request->requestBody->fakerStrings->username = 'Carol90'; + $request->requestBody->fakerStrings->uuid = '9817ee17-cbe6-41e6-b7b9-5bc0ab3c20c4'; $request->requestBody->simpleObject = new SimpleObject(); - $request->requestBody->simpleObject->any = 'necessitatibus'; - $request->requestBody->simpleObject->bigint = 572252; - $request->requestBody->simpleObject->bigintStr = 'officia'; + $request->requestBody->simpleObject->any = 'sapiente'; + $request->requestBody->simpleObject->bigint = 232865; + $request->requestBody->simpleObject->bigintStr = 'esse'; $request->requestBody->simpleObject->bool = true; $request->requestBody->simpleObject->boolOpt = true; $request->requestBody->simpleObject->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->requestBody->simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->requestBody->simpleObject->decimal = 2230.81; + $request->requestBody->simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->requestBody->simpleObject->decimal = 5034.27; $request->requestBody->simpleObject->enum = Enum::Two; $request->requestBody->simpleObject->float32 = 2.2222222; $request->requestBody->simpleObject->int = 999999; $request->requestBody->simpleObject->int32 = 1; - $request->requestBody->simpleObject->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; + $request->requestBody->simpleObject->int32Enum = SimpleObjectInt32Enum::SixtyNine; $request->requestBody->simpleObject->intEnum = SimpleObjectIntEnum::Third; $request->requestBody->simpleObject->intOptNull = 999999; $request->requestBody->simpleObject->num = 1.1; $request->requestBody->simpleObject->numOptNull = 1.1; $request->requestBody->simpleObject->str = 'example'; $request->requestBody->simpleObject->strOpt = 'optional example'; - $request->requestBody->unknown = 'dolorum'; - $request->requestBody->uri = 'http://irritating-standardisation.org'; - $request->requestBody->uuid = 'b14cd66a-e395-4efb-9ba8-8f3a66997074'; - $request->bigintParameter = 111111; - $request->bigintParameterOptional = 111111; - $request->bigintStrParameter = '111111'; - $request->bigintStrParameterOptional = '111111'; + $request->bigintParameter = 857723; + $request->bigintParameterOptional = 557811; + $request->bigintStrParameter = 'esse'; + $request->bigintStrParameterOptional = 'quasi'; $request->boolParameter = false; - $request->dateParameter = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTimeParameter = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimalParameter = 1.1; - $request->decimalParameterOptional = 1.1; - $request->decimalStrParameter = '1.1'; - $request->decimalStrParameterOptional = '1.1'; - $request->doubleParameter = 2.2222222; - $request->enumParameter = UsageExamplePostEnumParameter::Value3; + $request->dateParameter = DateTime::createFromFormat('Y-m-d', '2021-02-19'); + $request->dateTimeParameter = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2021-04-10T23:50:37.359Z'); + $request->decimalParameter = 8207.67; + $request->decimalParameterOptional = 1576.32; + $request->decimalStrParameter = 'eveniet'; + $request->decimalStrParameterOptional = 'asperiores'; + $request->doubleParameter = 8155.24; + $request->enumParameter = UsageExamplePostEnumParameter::Value1; $request->falseyNumberParameter = 0; - $request->float32Parameter = 1.1; - $request->floatParameter = 1.1; - $request->int64Parameter = 111111; - $request->intParameter = 1; + $request->float32Parameter = 1594.14; + $request->floatParameter = 944.58; + $request->int64Parameter = 628899; + $request->intParameter = 633608; $request->optEnumParameter = UsageExamplePostOptEnumParameter::Value3; - $request->strParameter = 'example 3'; + $request->strParameter = 'example 2'; $requestSecurity = new UsageExamplePostSecurity(); $requestSecurity->password = 'YOUR_PASSWORD'; diff --git a/php-client-sdk/USAGE.md b/php-client-sdk/USAGE.md index 152f7e5d8..39632e4cc 100755 --- a/php-client-sdk/USAGE.md +++ b/php-client-sdk/USAGE.md @@ -37,6 +37,8 @@ use \OpenAPI\OpenAPI\SDK; use \OpenAPI\OpenAPI\Models\Shared\Security; use \OpenAPI\OpenAPI\Models\Operations\UsageExamplePostRequest; use \OpenAPI\OpenAPI\Models\Operations\UsageExamplePostRequestBody; +use \OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings; +use \OpenAPI\OpenAPI\Models\Shared\FakerStrings; use \OpenAPI\OpenAPI\Models\Shared\SimpleObject; use \OpenAPI\OpenAPI\Models\Shared\Enum; use \OpenAPI\OpenAPI\Models\Shared\SimpleObjectInt32Enum; @@ -51,22 +53,88 @@ $sdk = SDK::builder() try { $request = new UsageExamplePostRequest(); $request->requestBody = new UsageExamplePostRequestBody(); - $request->requestBody->email = 'Larue_Rau85@yahoo.com'; - $request->requestBody->formatEmail = 'Roselyn_Kassulke@yahoo.com'; - $request->requestBody->formatUri = 'http://innocent-effect.org'; - $request->requestBody->formatUuid = '0f467cc8-796e-4d15-9a05-dfc2ddf7cc78'; - $request->requestBody->hostname = 'soulful-poppy.com'; - $request->requestBody->ipv4 = '184.163.148.36'; - $request->requestBody->ipv6 = '8fc8:1674:2cb7:3920:5929:396f:ea75:96eb'; + $request->requestBody->fakerFormattedStrings = new FakerFormattedStrings(); + $request->requestBody->fakerFormattedStrings->addressFormat = '5786 Little Streets'; + $request->requestBody->fakerFormattedStrings->directoryFormat = 'vel'; + $request->requestBody->fakerFormattedStrings->domainFormat = 'error'; + $request->requestBody->fakerFormattedStrings->emailFormat = 'Gerda89@yahoo.com'; + $request->requestBody->fakerFormattedStrings->filenameFormat = 'ipsa'; + $request->requestBody->fakerFormattedStrings->filepathFormat = 'delectus'; + $request->requestBody->fakerFormattedStrings->imageFormat = 'tempora'; + $request->requestBody->fakerFormattedStrings->ipv4Format = '98.122.202.207'; + $request->requestBody->fakerFormattedStrings->ipv6Format = '8796:ed15:1a05:dfc2:ddf7:cc78:ca1b:a928'; + $request->requestBody->fakerFormattedStrings->jsonFormat = '{"foo":"gQ*GM92ieK","bar":56843,"bike":1878,"a":61763,"b":61209,"name":61693,"prop":94374}'; + $request->requestBody->fakerFormattedStrings->macFormat = 'saepe'; + $request->requestBody->fakerFormattedStrings->passwordFormat = 'fuga'; + $request->requestBody->fakerFormattedStrings->phoneFormat = '464.960.0966 x612'; + $request->requestBody->fakerFormattedStrings->timezoneFormat = 'corporis'; + $request->requestBody->fakerFormattedStrings->unknownFormat = 'explicabo'; + $request->requestBody->fakerFormattedStrings->urlFormat = 'nobis'; + $request->requestBody->fakerFormattedStrings->uuidFormat = '5955907a-ff1a-43a2-ba94-67739251aa52'; + $request->requestBody->fakerFormattedStrings->zipcodeFormat = '19368-0068'; + $request->requestBody->fakerStrings = new FakerStrings(); + $request->requestBody->fakerStrings->city = 'Boyerworth'; + $request->requestBody->fakerStrings->iban = 'voluptatibus'; + $request->requestBody->fakerStrings->id = 'e78f097b-0074-4f15-871b-5e6e13b99d48'; + $request->requestBody->fakerStrings->iPv4 = '133.234.24.235'; + $request->requestBody->fakerStrings->iPv6 = '91e4:50ad:2abd:4426:9802:d502:a94b:b4f6'; + $request->requestBody->fakerStrings->account = 'non'; + $request->requestBody->fakerStrings->address = '535 Marquardt Pine'; + $request->requestBody->fakerStrings->amount = 'dolor'; + $request->requestBody->fakerStrings->avatar = 'debitis'; + $request->requestBody->fakerStrings->color = 'a'; + $request->requestBody->fakerStrings->comment = 'dolorum'; + $request->requestBody->fakerStrings->company = 'Kirlin - Stamm'; + $request->requestBody->fakerStrings->country = 'Virgin Islands, U.S.'; + $request->requestBody->fakerStrings->countryCode = 'PF'; + $request->requestBody->fakerStrings->currency = 'dicta'; + $request->requestBody->fakerStrings->datatype = 'magnam'; + $request->requestBody->fakerStrings->default = 'cumque'; + $request->requestBody->fakerStrings->description = 'facere'; + $request->requestBody->fakerStrings->directory = 'ea'; + $request->requestBody->fakerStrings->domainName = 'aliquid'; + $request->requestBody->fakerStrings->emailAddr = 'laborum'; + $request->requestBody->fakerStrings->extension = 'accusamus'; + $request->requestBody->fakerStrings->filename = 'non'; + $request->requestBody->fakerStrings->filepath = 'occaecati'; + $request->requestBody->fakerStrings->filetype = 'enim'; + $request->requestBody->fakerStrings->firstName = 'Shannon'; + $request->requestBody->fakerStrings->fullName = 'delectus'; + $request->requestBody->fakerStrings->gender = 'male'; + $request->requestBody->fakerStrings->job = 'provident'; + $request->requestBody->fakerStrings->json = '{"foo":"^ORy6\\EHZY","bar":1919,"bike":30157,"a":"^;;DZfHr-*","b":9237,"name":"AWTV$]{]>I","prop":89654}'; + $request->requestBody->fakerStrings->key = 'odit'; + $request->requestBody->fakerStrings->lastName = 'Hilll'; + $request->requestBody->fakerStrings->latitude = 'quasi'; + $request->requestBody->fakerStrings->locale = 'iure'; + $request->requestBody->fakerStrings->longitude = 'doloribus'; + $request->requestBody->fakerStrings->mac = 'debitis'; + $request->requestBody->fakerStrings->manufacturer = 'eius'; + $request->requestBody->fakerStrings->material = 'maxime'; + $request->requestBody->fakerStrings->middleName = 'deleniti'; + $request->requestBody->fakerStrings->model = 'facilis'; + $request->requestBody->fakerStrings->password = 'in'; + $request->requestBody->fakerStrings->phone = '(293) 749-8198'; + $request->requestBody->fakerStrings->pin = 'accusantium'; + $request->requestBody->fakerStrings->postalCode = '56117'; + $request->requestBody->fakerStrings->price = 'illum'; + $request->requestBody->fakerStrings->product = 'pariatur'; + $request->requestBody->fakerStrings->sex = 'male'; + $request->requestBody->fakerStrings->street = '5140 Willow Radial'; + $request->requestBody->fakerStrings->timezone = 'ipsam'; + $request->requestBody->fakerStrings->unit = 'voluptate'; + $request->requestBody->fakerStrings->url = 'autem'; + $request->requestBody->fakerStrings->username = 'Mireya.Beatty97'; + $request->requestBody->fakerStrings->uuid = '0d30c5fb-b258-4705-b202-c73d5fe9b90c'; $request->requestBody->simpleObject = new SimpleObject(); - $request->requestBody->simpleObject->any = 'architecto'; - $request->requestBody->simpleObject->bigint = 60225; - $request->requestBody->simpleObject->bigintStr = 'reiciendis'; + $request->requestBody->simpleObject->any = 'consequuntur'; + $request->requestBody->simpleObject->bigint = 500026; + $request->requestBody->simpleObject->bigintStr = 'error'; $request->requestBody->simpleObject->bool = true; $request->requestBody->simpleObject->boolOpt = true; $request->requestBody->simpleObject->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->requestBody->simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->requestBody->simpleObject->decimal = 6667.67; + $request->requestBody->simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->requestBody->simpleObject->decimal = 503.7; $request->requestBody->simpleObject->enum = Enum::Two; $request->requestBody->simpleObject->float32 = 2.2222222; $request->requestBody->simpleObject->int = 999999; @@ -78,29 +146,26 @@ try { $request->requestBody->simpleObject->numOptNull = 1.1; $request->requestBody->simpleObject->str = 'example'; $request->requestBody->simpleObject->strOpt = 'optional example'; - $request->requestBody->unknown = 'dolores'; - $request->requestBody->uri = 'http://growing-cappelletti.net'; - $request->requestBody->uuid = '5955907a-ff1a-43a2-ba94-67739251aa52'; - $request->bigintParameter = 111111; - $request->bigintParameterOptional = 111111; - $request->bigintStrParameter = '111111'; - $request->bigintStrParameterOptional = '111111'; + $request->bigintParameter = 237893; + $request->bigintParameterOptional = 992397; + $request->bigintStrParameter = 'earum'; + $request->bigintStrParameterOptional = 'modi'; $request->boolParameter = false; - $request->dateParameter = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTimeParameter = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimalParameter = 1.1; - $request->decimalParameterOptional = 1.1; - $request->decimalStrParameter = '1.1'; - $request->decimalStrParameterOptional = '1.1'; - $request->doubleParameter = 2.2222222; - $request->enumParameter = UsageExamplePostEnumParameter::Value3; + $request->dateParameter = DateTime::createFromFormat('Y-m-d', '2021-08-23'); + $request->dateTimeParameter = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2021-04-10T01:47:20.724Z'); + $request->decimalParameter = 5899.1; + $request->decimalParameterOptional = 7508.44; + $request->decimalStrParameter = 'libero'; + $request->decimalStrParameterOptional = 'delectus'; + $request->doubleParameter = 3119.45; + $request->enumParameter = UsageExamplePostEnumParameter::Value2; $request->falseyNumberParameter = 0; - $request->float32Parameter = 1.1; - $request->floatParameter = 1.1; - $request->int64Parameter = 111111; - $request->intParameter = 1; + $request->float32Parameter = 3982.21; + $request->floatParameter = 2123.9; + $request->int64Parameter = 209843; + $request->intParameter = 222443; $request->optEnumParameter = UsageExamplePostOptEnumParameter::Value3; - $request->strParameter = 'example 3'; + $request->strParameter = 'example 1'; $requestSecurity = new UsageExamplePostSecurity(); $requestSecurity->password = 'YOUR_PASSWORD'; diff --git a/php-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md b/php-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md index dc3f0efc7..0c9c8d300 100755 --- a/php-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md +++ b/php-client-sdk/docs/models/operations/UsageExamplePost200ApplicationJSONJSON.md @@ -5,14 +5,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *?string* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `formatEmail` | *?string* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `formatUri` | *?string* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `formatUuid` | *?string* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *?string* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *?string* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *?string* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simpleObject` | [?\OpenAPI\OpenAPI\Models\Shared\SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *?string* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *?string* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *?string* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `fakerFormattedStrings` | [?\OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings](../../models/shared/FakerFormattedStrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `fakerStrings` | [?\OpenAPI\OpenAPI\Models\Shared\FakerStrings](../../models/shared/FakerStrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simpleObject` | [?\OpenAPI\OpenAPI\Models\Shared\SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/UsageExamplePostRequest.md b/php-client-sdk/docs/models/operations/UsageExamplePostRequest.md index 41ca45033..dde5f7660 100755 --- a/php-client-sdk/docs/models/operations/UsageExamplePostRequest.md +++ b/php-client-sdk/docs/models/operations/UsageExamplePostRequest.md @@ -6,23 +6,23 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `requestBody` | [?UsageExamplePostRequestBody](../../models/operations/UsageExamplePostRequestBody.md) | :heavy_minus_sign: | A request body that contains fields with different formats for testing example generation | | -| `bigintParameter` | *int* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigintParameterOptional` | *?int* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `bigintStrParameter` | *string* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigintStrParameterOptional` | *?string* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `boolParameter` | *bool* | :heavy_check_mark: | A boolean parameter | false | -| `dateParameter` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date parameter | 2020-01-01 | -| `dateTimeParameter` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date time parameter | 2020-01-01T00:00:00Z | -| `decimalParameter` | *float* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimalParameterOptional` | *?float* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `decimalStrParameter` | *string* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimalStrParameterOptional` | *?string* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `doubleParameter` | *float* | :heavy_check_mark: | A double parameter | 2.2222222 | -| `enumParameter` | [UsageExamplePostEnumParameter](../../models/operations/UsageExamplePostEnumParameter.md) | :heavy_check_mark: | An enum parameter | value3 | +| `bigintParameter` | *int* | :heavy_check_mark: | An bigint parameter | | +| `bigintParameterOptional` | *?int* | :heavy_minus_sign: | An bigint parameter | | +| `bigintStrParameter` | *string* | :heavy_check_mark: | An bigint parameter | | +| `bigintStrParameterOptional` | *?string* | :heavy_minus_sign: | An bigint parameter | | +| `boolParameter` | *bool* | :heavy_check_mark: | A boolean parameter | | +| `dateParameter` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date parameter | | +| `dateTimeParameter` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date time parameter | | +| `decimalParameter` | *float* | :heavy_check_mark: | A decimal parameter | | +| `decimalParameterOptional` | *?float* | :heavy_minus_sign: | A decimal parameter | | +| `decimalStrParameter` | *string* | :heavy_check_mark: | A decimal parameter | | +| `decimalStrParameterOptional` | *?string* | :heavy_minus_sign: | A decimal parameter | | +| `doubleParameter` | *float* | :heavy_check_mark: | A double parameter | | +| `enumParameter` | [UsageExamplePostEnumParameter](../../models/operations/UsageExamplePostEnumParameter.md) | :heavy_check_mark: | An enum parameter | | | `falseyNumberParameter` | *float* | :heavy_check_mark: | A number parameter that contains a falsey example value | 0 | -| `float32Parameter` | *float* | :heavy_check_mark: | A float32 parameter | 1.1 | -| `floatParameter` | *float* | :heavy_check_mark: | A float parameter | 1.1 | -| `int64Parameter` | *int* | :heavy_check_mark: | An int64 parameter | 111111 | -| `intParameter` | *int* | :heavy_check_mark: | An integer parameter | 1 | +| `float32Parameter` | *float* | :heavy_check_mark: | A float32 parameter | | +| `floatParameter` | *float* | :heavy_check_mark: | A float parameter | | +| `int64Parameter` | *int* | :heavy_check_mark: | An int64 parameter | | +| `intParameter` | *int* | :heavy_check_mark: | An integer parameter | | | `optEnumParameter` | [?UsageExamplePostOptEnumParameter](../../models/operations/UsageExamplePostOptEnumParameter.md) | :heavy_minus_sign: | An enum parameter | value3 | | `strParameter` | *string* | :heavy_check_mark: | A string parameter | example 1 | \ No newline at end of file diff --git a/php-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md b/php-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md index 5c3a1a89a..bd0e2aa92 100755 --- a/php-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md +++ b/php-client-sdk/docs/models/operations/UsageExamplePostRequestBody.md @@ -7,14 +7,6 @@ A request body that contains fields with different formats for testing example g | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *?string* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `formatEmail` | *?string* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `formatUri` | *?string* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `formatUuid` | *?string* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *?string* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *?string* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *?string* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simpleObject` | [?\OpenAPI\OpenAPI\Models\Shared\SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *?string* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *?string* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *?string* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `fakerFormattedStrings` | [?\OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings](../../models/shared/FakerFormattedStrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `fakerStrings` | [?\OpenAPI\OpenAPI\Models\Shared\FakerStrings](../../models/shared/FakerStrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simpleObject` | [?\OpenAPI\OpenAPI\Models\Shared\SimpleObject](../../models/shared/SimpleObject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/php-client-sdk/docs/models/shared/FakerFormattedStrings.md b/php-client-sdk/docs/models/shared/FakerFormattedStrings.md new file mode 100755 index 000000000..3ebde17fd --- /dev/null +++ b/php-client-sdk/docs/models/shared/FakerFormattedStrings.md @@ -0,0 +1,27 @@ +# FakerFormattedStrings + +A set of strings with format values that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `addressFormat` | *?string* | :heavy_minus_sign: | A field that will have an address generated as example | +| `directoryFormat` | *?string* | :heavy_minus_sign: | A field that will have a directory path generated as example | +| `domainFormat` | *?string* | :heavy_minus_sign: | A field that will have a domain name generated as example | +| `emailFormat` | *?string* | :heavy_minus_sign: | A field that will have an email address generated as example | +| `filenameFormat` | *?string* | :heavy_minus_sign: | A field that will have a filename generated as example | +| `filepathFormat` | *?string* | :heavy_minus_sign: | A field that will have a file path generated as example | +| `imageFormat` | *?string* | :heavy_minus_sign: | A field that will have a image url generated as example | +| `ipv4Format` | *?string* | :heavy_minus_sign: | A field that will have an IPv4 address generated as example | +| `ipv6Format` | *?string* | :heavy_minus_sign: | A field that will have an IPv6 address generated as example | +| `jsonFormat` | *?string* | :heavy_minus_sign: | A field that will have a JSON generated as example | +| `macFormat` | *?string* | :heavy_minus_sign: | A field that will have a MAC address generated as example | +| `passwordFormat` | *?string* | :heavy_minus_sign: | A field that will have a fake password generated as example | +| `phoneFormat` | *?string* | :heavy_minus_sign: | A field that will have a phone number generated as example | +| `timezoneFormat` | *?string* | :heavy_minus_sign: | A field that will have a timezone generated as example | +| `unknownFormat` | *?string* | :heavy_minus_sign: | A field that will have random words generated as example | +| `urlFormat` | *?string* | :heavy_minus_sign: | A field that will have a URL generated as example | +| `uuidFormat` | *?string* | :heavy_minus_sign: | A field that will have a UUID generated as example | +| `zipcodeFormat` | *?string* | :heavy_minus_sign: | A field that will have a postal code generated as example | \ No newline at end of file diff --git a/php-client-sdk/docs/models/shared/FakerStrings.md b/php-client-sdk/docs/models/shared/FakerStrings.md new file mode 100755 index 000000000..359a70092 --- /dev/null +++ b/php-client-sdk/docs/models/shared/FakerStrings.md @@ -0,0 +1,62 @@ +# FakerStrings + +A set of strings with fieldnames that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `city` | *?string* | :heavy_minus_sign: | N/A | +| `iban` | *?string* | :heavy_minus_sign: | N/A | +| `id` | *?string* | :heavy_minus_sign: | N/A | +| `iPv4` | *?string* | :heavy_minus_sign: | N/A | +| `iPv6` | *?string* | :heavy_minus_sign: | N/A | +| `account` | *?string* | :heavy_minus_sign: | N/A | +| `address` | *?string* | :heavy_minus_sign: | N/A | +| `amount` | *?string* | :heavy_minus_sign: | N/A | +| `avatar` | *?string* | :heavy_minus_sign: | N/A | +| `color` | *?string* | :heavy_minus_sign: | N/A | +| `comment` | *?string* | :heavy_minus_sign: | N/A | +| `company` | *?string* | :heavy_minus_sign: | N/A | +| `country` | *?string* | :heavy_minus_sign: | N/A | +| `countryCode` | *?string* | :heavy_minus_sign: | N/A | +| `currency` | *?string* | :heavy_minus_sign: | N/A | +| `datatype` | *?string* | :heavy_minus_sign: | N/A | +| `default` | *?string* | :heavy_minus_sign: | N/A | +| `description` | *?string* | :heavy_minus_sign: | N/A | +| `directory` | *?string* | :heavy_minus_sign: | N/A | +| `domainName` | *?string* | :heavy_minus_sign: | N/A | +| `emailAddr` | *?string* | :heavy_minus_sign: | N/A | +| `extension` | *?string* | :heavy_minus_sign: | N/A | +| `filename` | *?string* | :heavy_minus_sign: | N/A | +| `filepath` | *?string* | :heavy_minus_sign: | N/A | +| `filetype` | *?string* | :heavy_minus_sign: | N/A | +| `firstName` | *?string* | :heavy_minus_sign: | N/A | +| `fullName` | *?string* | :heavy_minus_sign: | N/A | +| `gender` | *?string* | :heavy_minus_sign: | N/A | +| `job` | *?string* | :heavy_minus_sign: | N/A | +| `json` | *?string* | :heavy_minus_sign: | N/A | +| `key` | *?string* | :heavy_minus_sign: | N/A | +| `lastName` | *?string* | :heavy_minus_sign: | N/A | +| `latitude` | *?string* | :heavy_minus_sign: | N/A | +| `locale` | *?string* | :heavy_minus_sign: | N/A | +| `longitude` | *?string* | :heavy_minus_sign: | N/A | +| `mac` | *?string* | :heavy_minus_sign: | N/A | +| `manufacturer` | *?string* | :heavy_minus_sign: | N/A | +| `material` | *?string* | :heavy_minus_sign: | N/A | +| `middleName` | *?string* | :heavy_minus_sign: | N/A | +| `model` | *?string* | :heavy_minus_sign: | N/A | +| `password` | *?string* | :heavy_minus_sign: | N/A | +| `phone` | *?string* | :heavy_minus_sign: | N/A | +| `pin` | *?string* | :heavy_minus_sign: | N/A | +| `postalCode` | *?string* | :heavy_minus_sign: | N/A | +| `price` | *?string* | :heavy_minus_sign: | N/A | +| `product` | *?string* | :heavy_minus_sign: | N/A | +| `sex` | *?string* | :heavy_minus_sign: | N/A | +| `street` | *?string* | :heavy_minus_sign: | N/A | +| `timezone` | *?string* | :heavy_minus_sign: | N/A | +| `unit` | *?string* | :heavy_minus_sign: | N/A | +| `url` | *?string* | :heavy_minus_sign: | N/A | +| `username` | *?string* | :heavy_minus_sign: | N/A | +| `uuid` | *?string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/php-client-sdk/docs/models/shared/SimpleObject.md b/php-client-sdk/docs/models/shared/SimpleObject.md index ca40fc88b..8cac3bcd2 100755 --- a/php-client-sdk/docs/models/shared/SimpleObject.md +++ b/php-client-sdk/docs/models/shared/SimpleObject.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *bool* | :heavy_check_mark: | A boolean property. | true | | `boolOpt` | *?bool* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `dateTime` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `dateTime` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *?float* | :heavy_minus_sign: | N/A | | | `enum` | [Enum](../../models/shared/Enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/php-client-sdk/docs/models/shared/SimpleObjectWithType.md b/php-client-sdk/docs/models/shared/SimpleObjectWithType.md index d6ba0389e..5ab125fae 100755 --- a/php-client-sdk/docs/models/shared/SimpleObjectWithType.md +++ b/php-client-sdk/docs/models/shared/SimpleObjectWithType.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *bool* | :heavy_check_mark: | A boolean property. | true | | `boolOpt` | *?bool* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `dateTime` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `dateTime` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *?float* | :heavy_minus_sign: | N/A | | | `enum` | [Enum](../../models/shared/Enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/php-client-sdk/docs/sdks/auth/README.md b/php-client-sdk/docs/sdks/auth/README.md index 74480ccbc..211a0f2b0 100755 --- a/php-client-sdk/docs/sdks/auth/README.md +++ b/php-client-sdk/docs/sdks/auth/README.md @@ -117,7 +117,7 @@ try { $requestSecurity->password = 'YOUR_PASSWORD'; $requestSecurity->username = 'YOUR_USERNAME'; - $response = $sdk->auth->basicAuth($requestSecurity, 'labore', 'labore'); + $response = $sdk->auth->basicAuth($requestSecurity, 'quae', 'earum'); if ($response->user !== null) { // handle response diff --git a/php-client-sdk/docs/sdks/authnew/README.md b/php-client-sdk/docs/sdks/authnew/README.md index ff287dcb7..01bd19a56 100755 --- a/php-client-sdk/docs/sdks/authnew/README.md +++ b/php-client-sdk/docs/sdks/authnew/README.md @@ -41,8 +41,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'suscipit'; - $request->basicAuth->username = 'Liana_Rohan'; + $request->basicAuth->password = 'vel'; + $request->basicAuth->username = 'Isai_Gerlach74'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -92,8 +92,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'aspernatur'; - $request->basicAuth->username = 'Baylee56'; + $request->basicAuth->password = 'accusantium'; + $request->basicAuth->username = 'Elnora35'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -144,8 +144,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'ullam'; - $request->basicAuth->username = 'Landen.Lueilwitz'; + $request->basicAuth->password = 'reprehenderit'; + $request->basicAuth->username = 'Fleta53'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -202,8 +202,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'mollitia'; - $request->basicAuth->username = 'Vivienne43'; + $request->basicAuth->password = 'qui'; + $request->basicAuth->username = 'Rosanna_Jacobs'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -259,8 +259,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'dolor'; - $request->basicAuth->username = 'Sophie.Connelly'; + $request->basicAuth->password = 'dolorum'; + $request->basicAuth->username = 'Bailee.Monahan86'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -320,8 +320,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'iure'; - $request->basicAuth->username = 'Wilton80'; + $request->basicAuth->password = 'et'; + $request->basicAuth->username = 'Jacinto8'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -380,8 +380,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'deleniti'; - $request->basicAuth->username = 'Mckenna9'; + $request->basicAuth->password = 'consectetur'; + $request->basicAuth->username = 'Dasia.Morar52'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -438,8 +438,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'repudiandae'; - $request->basicAuth->username = 'Felix_Ratke'; + $request->basicAuth->password = 'aut'; + $request->basicAuth->username = 'Jonatan.Keebler'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -494,8 +494,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'quibusdam'; - $request->basicAuth->username = 'Camden.Turner16'; + $request->basicAuth->password = 'corrupti'; + $request->basicAuth->username = 'Demond58'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -551,8 +551,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'praesentium'; - $request->basicAuth->username = 'Levi77'; + $request->basicAuth->password = 'numquam'; + $request->basicAuth->username = 'Olen.Christiansen'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; @@ -607,8 +607,8 @@ $sdk = SDK::builder() try { $request = new AuthServiceRequestBody(); $request->basicAuth = new AuthServiceRequestBodyBasicAuth(); - $request->basicAuth->password = 'illum'; - $request->basicAuth->username = 'Samantha_Schoen'; + $request->basicAuth->password = 'dignissimos'; + $request->basicAuth->username = 'Bettie.Wunsch'; $request->headerAuth = [ new AuthServiceRequestBodyHeaderAuth(), ]; diff --git a/php-client-sdk/docs/sdks/documentation/README.md b/php-client-sdk/docs/sdks/documentation/README.md index 9b7ac050b..28c21ae0d 100755 --- a/php-client-sdk/docs/sdks/documentation/README.md +++ b/php-client-sdk/docs/sdks/documentation/README.md @@ -31,7 +31,7 @@ $sdk = SDK::builder() try { - $response = $sdk->documentation->getDocumentationPerLanguage('odit'); + $response = $sdk->documentation->getDocumentationPerLanguage('voluptatibus'); if ($response->statusCode === 200) { // handle response diff --git a/php-client-sdk/docs/sdks/errors/README.md b/php-client-sdk/docs/sdks/errors/README.md index 4ce4cadd8..d07ccb95f 100755 --- a/php-client-sdk/docs/sdks/errors/README.md +++ b/php-client-sdk/docs/sdks/errors/README.md @@ -70,7 +70,7 @@ $sdk = SDK::builder() try { - $response = $sdk->errors->statusGetError(407183); + $response = $sdk->errors->statusGetError(374323); if ($response->statusCode === 200) { // handle response @@ -112,7 +112,7 @@ $sdk = SDK::builder() try { - $response = $sdk->errors->statusGetXSpeakeasyErrors(33222); + $response = $sdk->errors->statusGetXSpeakeasyErrors(990345); if ($response->statusCode === 200) { // handle response diff --git a/php-client-sdk/docs/sdks/flattening/README.md b/php-client-sdk/docs/sdks/flattening/README.md index e41ed7fa6..8842a02b1 100755 --- a/php-client-sdk/docs/sdks/flattening/README.md +++ b/php-client-sdk/docs/sdks/flattening/README.md @@ -36,19 +36,19 @@ $sdk = SDK::builder() try { $simpleObject = new SimpleObject(); - $simpleObject->any = 'ab'; - $simpleObject->bigint = 982575; - $simpleObject->bigintStr = 'quidem'; + $simpleObject->any = 'aperiam'; + $simpleObject->bigint = 409054; + $simpleObject->bigintStr = 'quaerat'; $simpleObject->bool = true; $simpleObject->boolOpt = true; $simpleObject->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $simpleObject->decimal = 3732.91; + $simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $simpleObject->decimal = 1629.54; $simpleObject->enum = Enum::Two; $simpleObject->float32 = 2.2222222; $simpleObject->int = 999999; $simpleObject->int32 = 1; - $simpleObject->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $simpleObject->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; $simpleObject->intEnum = SimpleObjectIntEnum::Second; $simpleObject->intOptNull = 999999; $simpleObject->num = 1.1; @@ -56,7 +56,7 @@ try { $simpleObject->str = 'example'; $simpleObject->strOpt = 'optional example'; - $response = $sdk->flattening->componentBodyAndParamConflict($simpleObject, 'nam'); + $response = $sdk->flattening->componentBodyAndParamConflict($simpleObject, 'maxime'); if ($response->res !== null) { // handle response @@ -102,27 +102,27 @@ $sdk = SDK::builder() try { $simpleObject = new SimpleObject(); - $simpleObject->any = 'eaque'; - $simpleObject->bigint = 866383; - $simpleObject->bigintStr = 'nemo'; + $simpleObject->any = 'dignissimos'; + $simpleObject->bigint = 640024; + $simpleObject->bigintStr = 'asperiores'; $simpleObject->bool = true; $simpleObject->boolOpt = true; $simpleObject->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $simpleObject->decimal = 9755.22; + $simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $simpleObject->decimal = 3681.02; $simpleObject->enum = Enum::Two; $simpleObject->float32 = 2.2222222; $simpleObject->int = 999999; $simpleObject->int32 = 1; $simpleObject->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $simpleObject->intEnum = SimpleObjectIntEnum::Third; + $simpleObject->intEnum = SimpleObjectIntEnum::First; $simpleObject->intOptNull = 999999; $simpleObject->num = 1.1; $simpleObject->numOptNull = 1.1; $simpleObject->str = 'example'; $simpleObject->strOpt = 'optional example'; - $response = $sdk->flattening->componentBodyAndParamNoConflict('amet', $simpleObject); + $response = $sdk->flattening->componentBodyAndParamNoConflict('porro', $simpleObject); if ($response->res !== null) { // handle response @@ -165,7 +165,7 @@ $sdk = SDK::builder() try { - $response = $sdk->flattening->conflictingParams('aut', 'cumque'); + $response = $sdk->flattening->conflictingParams('quod', 'labore'); if ($response->res !== null) { // handle response @@ -208,9 +208,9 @@ $sdk = SDK::builder() try { $requestBody = new InlineBodyAndParamConflictRequestBody(); - $requestBody->str = 'corporis'; + $requestBody->str = 'ab'; - $response = $sdk->flattening->inlineBodyAndParamConflict($requestBody, 'hic'); + $response = $sdk->flattening->inlineBodyAndParamConflict($requestBody, 'adipisci'); if ($response->res !== null) { // handle response @@ -253,9 +253,9 @@ $sdk = SDK::builder() try { $requestBody = new InlineBodyAndParamNoConflictRequestBody(); - $requestBody->bodyStr = 'libero'; + $requestBody->bodyStr = 'fuga'; - $response = $sdk->flattening->inlineBodyAndParamNoConflict($requestBody, 'nobis'); + $response = $sdk->flattening->inlineBodyAndParamNoConflict($requestBody, 'id'); if ($response->res !== null) { // handle response diff --git a/php-client-sdk/docs/sdks/generation/README.md b/php-client-sdk/docs/sdks/generation/README.md index f850d99e2..320392ad1 100755 --- a/php-client-sdk/docs/sdks/generation/README.md +++ b/php-client-sdk/docs/sdks/generation/README.md @@ -108,8 +108,8 @@ $sdk = SDK::builder() try { $request = new DeprecatedFieldInObject(); - $request->deprecatedField = 'dolores'; - $request->newField = 'quis'; + $request->deprecatedField = 'suscipit'; + $request->newField = 'velit'; $response = $sdk->generation->deprecatedFieldInSchemaPost($request); @@ -190,7 +190,7 @@ $sdk = SDK::builder() try { - $response = $sdk->generation->deprecatedOperationNoCommentsGet('totam'); + $response = $sdk->generation->deprecatedOperationNoCommentsGet('culpa'); if ($response->statusCode === 200) { // handle response @@ -236,7 +236,7 @@ $sdk = SDK::builder() try { - $response = $sdk->generation->deprecatedOperationWithCommentsGet('dignissimos', 'eaque'); + $response = $sdk->generation->deprecatedOperationWithCommentsGet('est', 'recusandae'); if ($response->statusCode === 200) { // handle response @@ -421,10 +421,10 @@ $sdk = SDK::builder() try { $requestBody = new IgnoresPostApplicationJSON(); - $requestBody->callbackUrl = 'http://disfigured-collapse.com'; - $requestBody->testProp = 'dolores'; + $requestBody->callbackUrl = 'https://those-helo.info'; + $requestBody->testProp = 'quos'; - $response = $sdk->generation->ignoresPost($requestBody, 'minus'); + $response = $sdk->generation->ignoresPost($requestBody, 'vel'); if ($response->httpBinSimpleJsonObject !== null) { // handle response @@ -512,10 +512,10 @@ $sdk = SDK::builder() try { $obj = new TypedParameterGenerationGetObj(); $obj->bool = false; - $obj->num = 4634.51; - $obj->str = 'dolor'; + $obj->num = 2870.51; + $obj->str = 'possimus'; - $response = $sdk->generation->typedParameterGenerationGet(874573, DateTime::createFromFormat('Y-m-d', '2022-01-21'), 9280.82, $obj); + $response = $sdk->generation->typedParameterGenerationGet(706575, DateTime::createFromFormat('Y-m-d', '2022-03-04'), 4471.44, $obj); if ($response->statusCode === 200) { // handle response @@ -559,6 +559,8 @@ use \OpenAPI\OpenAPI\SDK; use \OpenAPI\OpenAPI\Models\Shared\Security; use \OpenAPI\OpenAPI\Models\Operations\UsageExamplePostRequest; use \OpenAPI\OpenAPI\Models\Operations\UsageExamplePostRequestBody; +use \OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings; +use \OpenAPI\OpenAPI\Models\Shared\FakerStrings; use \OpenAPI\OpenAPI\Models\Shared\SimpleObject; use \OpenAPI\OpenAPI\Models\Shared\Enum; use \OpenAPI\OpenAPI\Models\Shared\SimpleObjectInt32Enum; @@ -573,22 +575,88 @@ $sdk = SDK::builder() try { $request = new UsageExamplePostRequest(); $request->requestBody = new UsageExamplePostRequestBody(); - $request->requestBody->email = 'Mckenzie78@yahoo.com'; - $request->requestBody->formatEmail = 'Jett57@gmail.com'; - $request->requestBody->formatUri = 'https://enraged-wrench.org'; - $request->requestBody->formatUuid = '49a8d9cb-f486-4333-a3f9-b77f3a410067'; - $request->requestBody->hostname = 'frightening-synergy.net'; - $request->requestBody->ipv4 = '249.96.158.45'; - $request->requestBody->ipv6 = '80d1:ba77:a89e:bf73:7ae4:203c:e5e6:a95d'; + $request->requestBody->fakerFormattedStrings = new FakerFormattedStrings(); + $request->requestBody->fakerFormattedStrings->addressFormat = '9839 Alvis Road'; + $request->requestBody->fakerFormattedStrings->directoryFormat = 'consectetur'; + $request->requestBody->fakerFormattedStrings->domainFormat = 'in'; + $request->requestBody->fakerFormattedStrings->emailFormat = 'Tressa98@yahoo.com'; + $request->requestBody->fakerFormattedStrings->filenameFormat = 'suscipit'; + $request->requestBody->fakerFormattedStrings->filepathFormat = 'reiciendis'; + $request->requestBody->fakerFormattedStrings->imageFormat = 'quidem'; + $request->requestBody->fakerFormattedStrings->ipv4Format = '231.229.75.30'; + $request->requestBody->fakerFormattedStrings->ipv6Format = 'f333:17fe:35b6:0eb1:ea42:6555:ba3c:2874'; + $request->requestBody->fakerFormattedStrings->jsonFormat = '{"foo":88596,"bar":"A7eOTx3[Tq","bike":"xAf#b.{-}b","a":70907,"b":61174,"name":67190,"prop":44751}'; + $request->requestBody->fakerFormattedStrings->macFormat = 'commodi'; + $request->requestBody->fakerFormattedStrings->passwordFormat = 'quidem'; + $request->requestBody->fakerFormattedStrings->phoneFormat = '1-561-598-0905'; + $request->requestBody->fakerFormattedStrings->timezoneFormat = 'maiores'; + $request->requestBody->fakerFormattedStrings->unknownFormat = 'incidunt'; + $request->requestBody->fakerFormattedStrings->urlFormat = 'sed'; + $request->requestBody->fakerFormattedStrings->uuidFormat = '94e3698f-447f-4603-a8b4-45e80ca55efd'; + $request->requestBody->fakerFormattedStrings->zipcodeFormat = '09234'; + $request->requestBody->fakerStrings = new FakerStrings(); + $request->requestBody->fakerStrings->city = 'Bozeman'; + $request->requestBody->fakerStrings->iban = 'laudantium'; + $request->requestBody->fakerStrings->id = '58b6a89f-be3a-45aa-8e48-24d0ab407508'; + $request->requestBody->fakerStrings->iPv4 = '142.236.92.22'; + $request->requestBody->fakerStrings->iPv6 = '8620:65e9:04f3:b119:4b8a:bf60:3a79:f9df'; + $request->requestBody->fakerStrings->account = 'voluptates'; + $request->requestBody->fakerStrings->address = '66486 O'Connell Green'; + $request->requestBody->fakerStrings->amount = 'voluptatem'; + $request->requestBody->fakerStrings->avatar = 'quisquam'; + $request->requestBody->fakerStrings->color = 'repudiandae'; + $request->requestBody->fakerStrings->comment = 'quasi'; + $request->requestBody->fakerStrings->company = 'Kihn - Zboncak'; + $request->requestBody->fakerStrings->country = 'Macao'; + $request->requestBody->fakerStrings->countryCode = 'HM'; + $request->requestBody->fakerStrings->currency = 'quidem'; + $request->requestBody->fakerStrings->datatype = 'maxime'; + $request->requestBody->fakerStrings->default = 'et'; + $request->requestBody->fakerStrings->description = 'esse'; + $request->requestBody->fakerStrings->directory = 'amet'; + $request->requestBody->fakerStrings->domainName = 'assumenda'; + $request->requestBody->fakerStrings->emailAddr = 'ea'; + $request->requestBody->fakerStrings->extension = 'atque'; + $request->requestBody->fakerStrings->filename = 'error'; + $request->requestBody->fakerStrings->filepath = 'officiis'; + $request->requestBody->fakerStrings->filetype = 'officiis'; + $request->requestBody->fakerStrings->firstName = 'Shanelle'; + $request->requestBody->fakerStrings->fullName = 'natus'; + $request->requestBody->fakerStrings->gender = 'female'; + $request->requestBody->fakerStrings->job = 'aspernatur'; + $request->requestBody->fakerStrings->json = '{"foo":98058,"bar":"rZODvSS,v`","bike":";{$v+$*1>E","a":95214,"b":"requestBody->fakerStrings->key = 'iure'; + $request->requestBody->fakerStrings->lastName = 'Beier'; + $request->requestBody->fakerStrings->latitude = 'totam'; + $request->requestBody->fakerStrings->locale = 'quae'; + $request->requestBody->fakerStrings->longitude = 'molestiae'; + $request->requestBody->fakerStrings->mac = 'eveniet'; + $request->requestBody->fakerStrings->manufacturer = 'qui'; + $request->requestBody->fakerStrings->material = 'cum'; + $request->requestBody->fakerStrings->middleName = 'iure'; + $request->requestBody->fakerStrings->model = 'necessitatibus'; + $request->requestBody->fakerStrings->password = 'ratione'; + $request->requestBody->fakerStrings->phone = '1-755-439-0354 x6309'; + $request->requestBody->fakerStrings->pin = 'reiciendis'; + $request->requestBody->fakerStrings->postalCode = '63262'; + $request->requestBody->fakerStrings->price = 'quae'; + $request->requestBody->fakerStrings->product = 'recusandae'; + $request->requestBody->fakerStrings->sex = 'male'; + $request->requestBody->fakerStrings->street = '44262 Larkin Keys'; + $request->requestBody->fakerStrings->timezone = 'nemo'; + $request->requestBody->fakerStrings->unit = 'recusandae'; + $request->requestBody->fakerStrings->url = 'esse'; + $request->requestBody->fakerStrings->username = 'Laron_Hauck'; + $request->requestBody->fakerStrings->uuid = '9251a5a9-da66-40ff-97bf-aad4f9efc1b4'; $request->requestBody->simpleObject = new SimpleObject(); - $request->requestBody->simpleObject->any = 'totam'; - $request->requestBody->simpleObject->bigint = 628982; - $request->requestBody->simpleObject->bigintStr = 'alias'; + $request->requestBody->simpleObject->any = 'quis'; + $request->requestBody->simpleObject->bigint = 82057; + $request->requestBody->simpleObject->bigintStr = 'fugit'; $request->requestBody->simpleObject->bool = true; $request->requestBody->simpleObject->boolOpt = true; $request->requestBody->simpleObject->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->requestBody->simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->requestBody->simpleObject->decimal = 8726.51; + $request->requestBody->simpleObject->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->requestBody->simpleObject->decimal = 7652.71; $request->requestBody->simpleObject->enum = Enum::Two; $request->requestBody->simpleObject->float32 = 2.2222222; $request->requestBody->simpleObject->int = 999999; @@ -600,27 +668,24 @@ try { $request->requestBody->simpleObject->numOptNull = 1.1; $request->requestBody->simpleObject->str = 'example'; $request->requestBody->simpleObject->strOpt = 'optional example'; - $request->requestBody->unknown = 'vel'; - $request->requestBody->uri = 'https://uneven-commitment.net'; - $request->requestBody->uuid = 'f7a73cf3-be45-43f8-b0b3-26b5a73429cd'; - $request->bigintParameter = 111111; - $request->bigintParameterOptional = 111111; - $request->bigintStrParameter = '111111'; - $request->bigintStrParameterOptional = '111111'; + $request->bigintParameter = 241901; + $request->bigintParameterOptional = 137251; + $request->bigintStrParameter = 'eum'; + $request->bigintStrParameterOptional = 'eius'; $request->boolParameter = false; - $request->dateParameter = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTimeParameter = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimalParameter = 1.1; - $request->decimalParameterOptional = 1.1; - $request->decimalStrParameter = '1.1'; - $request->decimalStrParameterOptional = '1.1'; - $request->doubleParameter = 2.2222222; - $request->enumParameter = UsageExamplePostEnumParameter::Value3; + $request->dateParameter = DateTime::createFromFormat('Y-m-d', '2021-04-05'); + $request->dateTimeParameter = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-06-18T13:06:11.480Z'); + $request->decimalParameter = 9587.41; + $request->decimalParameterOptional = 4332.79; + $request->decimalStrParameter = 'dicta'; + $request->decimalStrParameterOptional = 'minima'; + $request->doubleParameter = 1070.04; + $request->enumParameter = UsageExamplePostEnumParameter::Value2; $request->falseyNumberParameter = 0; - $request->float32Parameter = 1.1; - $request->floatParameter = 1.1; - $request->int64Parameter = 111111; - $request->intParameter = 1; + $request->float32Parameter = 5896.95; + $request->floatParameter = 9364.69; + $request->int64Parameter = 745398; + $request->intParameter = 940782; $request->optEnumParameter = UsageExamplePostOptEnumParameter::Value3; $request->strParameter = 'example 3'; diff --git a/php-client-sdk/docs/sdks/globals/README.md b/php-client-sdk/docs/sdks/globals/README.md index 28238b020..15df37363 100755 --- a/php-client-sdk/docs/sdks/globals/README.md +++ b/php-client-sdk/docs/sdks/globals/README.md @@ -30,7 +30,7 @@ $sdk = SDK::builder() try { - $response = $sdk->globals->globalPathParameterGet(117531); + $response = $sdk->globals->globalPathParameterGet(52508); if ($response->res !== null) { // handle response @@ -72,7 +72,7 @@ $sdk = SDK::builder() try { - $response = $sdk->globals->globalsQueryParameterGet('laborum'); + $response = $sdk->globals->globalsQueryParameterGet('earum'); if ($response->res !== null) { // handle response diff --git a/php-client-sdk/docs/sdks/pagination/README.md b/php-client-sdk/docs/sdks/pagination/README.md index bd9056315..ab81ae039 100755 --- a/php-client-sdk/docs/sdks/pagination/README.md +++ b/php-client-sdk/docs/sdks/pagination/README.md @@ -33,7 +33,7 @@ $sdk = SDK::builder() try { $request = new PaginationCursorBodyRequestBody(); - $request->cursor = 517379; + $request->cursor = 596211; $response = $sdk->pagination->paginationCursorBody($request); @@ -78,7 +78,7 @@ $sdk = SDK::builder() try { - $response = $sdk->pagination->paginationCursorParams(276894); + $response = $sdk->pagination->paginationCursorParams(983427); if ($response->res !== null) { // handle response @@ -120,9 +120,9 @@ $sdk = SDK::builder() try { $request = new LimitOffsetConfig(); - $request->limit = 132068; - $request->offset = 174909; - $request->page = 716860; + $request->limit = 891801; + $request->offset = 399802; + $request->page = 780931; $response = $sdk->pagination->paginationLimitOffsetOffsetBody($request); @@ -167,7 +167,7 @@ $sdk = SDK::builder() try { - $response = $sdk->pagination->paginationLimitOffsetOffsetParams(704474, 396060); + $response = $sdk->pagination->paginationLimitOffsetOffsetParams(380335, 211534); if ($response->res !== null) { // handle response @@ -210,9 +210,9 @@ $sdk = SDK::builder() try { $request = new LimitOffsetConfig(); - $request->limit = 463150; - $request->offset = 565421; - $request->page = 840429; + $request->limit = 147808; + $request->offset = 764995; + $request->page = 684935; $response = $sdk->pagination->paginationLimitOffsetPageBody($request); @@ -257,7 +257,7 @@ $sdk = SDK::builder() try { - $response = $sdk->pagination->paginationLimitOffsetPageParams(183280); + $response = $sdk->pagination->paginationLimitOffsetPageParams(189062); if ($response->res !== null) { // handle response diff --git a/php-client-sdk/docs/sdks/parameters/README.md b/php-client-sdk/docs/sdks/parameters/README.md index a8ca56870..95d9eb2af 100755 --- a/php-client-sdk/docs/sdks/parameters/README.md +++ b/php-client-sdk/docs/sdks/parameters/README.md @@ -51,10 +51,10 @@ try { $response = $sdk->parameters->deepObjectQueryParamsMap([ - 'neque' => 'fugit', + 'animi' => 'necessitatibus', ], [ - 'magni' => [ - 'odio', + 'nulla' => [ + 'consequatur', ], ]); @@ -103,20 +103,20 @@ $sdk = SDK::builder() try { $objParam = new SimpleObject(); - $objParam->any = 'sunt'; - $objParam->bigint = 355613; - $objParam->bigintStr = 'nam'; + $objParam->any = 'quasi'; + $objParam->bigint = 90233; + $objParam->bigintStr = 'ducimus'; $objParam->bool = true; $objParam->boolOpt = true; $objParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $objParam->decimal = 9404.32; + $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $objParam->decimal = 6191.83; $objParam->enum = Enum::Two; $objParam->float32 = 2.2222222; $objParam->int = 999999; $objParam->int32 = 1; - $objParam->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $objParam->intEnum = SimpleObjectIntEnum::Third; + $objParam->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $objParam->intEnum = SimpleObjectIntEnum::Second; $objParam->intOptNull = 999999; $objParam->num = 1.1; $objParam->numOptNull = 1.1; @@ -125,7 +125,7 @@ try { $objArrParam = new DeepObjectQueryParamsObjectObjArrParam(); $objArrParam->arr = [ - 'soluta', + 'adipisci', ]; $response = $sdk->parameters->deepObjectQueryParamsObject($objParam, $objArrParam); @@ -171,7 +171,7 @@ $sdk = SDK::builder() try { - $response = $sdk->parameters->duplicateParam('nobis'); + $response = $sdk->parameters->duplicateParam('quasi'); if ($response->duplicateParamResponse !== null) { // handle response @@ -214,9 +214,9 @@ try { $response = $sdk->parameters->formQueryParamsArray([ - 'et', + 'magni', ], [ - 903720, + 984934, ]); if ($response->res !== null) { @@ -261,9 +261,9 @@ try { $response = $sdk->parameters->formQueryParamsMap([ - 'ipsum' => 'veritatis', + 'nulla' => 'necessitatibus', ], [ - 'nobis' => 552193, + 'ipsa' => 271113, ]); if ($response->res !== null) { @@ -310,20 +310,20 @@ $sdk = SDK::builder() try { $objParamExploded = new SimpleObject(); - $objParamExploded->any = 'tempore'; - $objParamExploded->bigint = 584476; - $objParamExploded->bigintStr = 'aperiam'; + $objParamExploded->any = 'nihil'; + $objParamExploded->bigint = 473190; + $objParamExploded->bigintStr = 'dicta'; $objParamExploded->bool = true; $objParamExploded->boolOpt = true; $objParamExploded->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $objParamExploded->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $objParamExploded->decimal = 9619.37; + $objParamExploded->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $objParamExploded->decimal = 4797.54; $objParamExploded->enum = Enum::Two; $objParamExploded->float32 = 2.2222222; $objParamExploded->int = 999999; $objParamExploded->int32 = 1; - $objParamExploded->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $objParamExploded->intEnum = SimpleObjectIntEnum::First; + $objParamExploded->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $objParamExploded->intEnum = SimpleObjectIntEnum::Second; $objParamExploded->intOptNull = 999999; $objParamExploded->num = 1.1; $objParamExploded->numOptNull = 1.1; @@ -331,19 +331,19 @@ try { $objParamExploded->strOpt = 'optional example'; $objParam = new SimpleObject(); - $objParam->any = 'labore'; - $objParam->bigint = 240829; - $objParam->bigintStr = 'dolorum'; + $objParam->any = 'maiores'; + $objParam->bigint = 967260; + $objParam->bigintStr = 'vel'; $objParam->bool = true; $objParam->boolOpt = true; $objParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $objParam->decimal = 1002.94; + $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $objParam->decimal = 999.58; $objParam->enum = Enum::Two; $objParam->float32 = 2.2222222; $objParam->int = 999999; $objParam->int32 = 1; - $objParam->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $objParam->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; $objParam->intEnum = SimpleObjectIntEnum::First; $objParam->intOptNull = 999999; $objParam->num = 1.1; @@ -394,7 +394,7 @@ $sdk = SDK::builder() try { - $response = $sdk->parameters->formQueryParamsPrimitive(false, 555649, 9295.3, 'consequatur'); + $response = $sdk->parameters->formQueryParamsPrimitive(false, 117315, 4837.06, 'tempora'); if ($response->res !== null) { // handle response @@ -441,15 +441,15 @@ $sdk = SDK::builder() try { $refObjParam = new RefQueryParamObj(); $refObjParam->bool = false; - $refObjParam->int = 669917; - $refObjParam->num = 8330.38; - $refObjParam->str = 'porro'; + $refObjParam->int = 458259; + $refObjParam->num = 4037.93; + $refObjParam->str = 'consectetur'; $refObjParamExploded = new RefQueryParamObjExploded(); $refObjParamExploded->bool = false; - $refObjParamExploded->int = 984330; - $refObjParamExploded->num = 2817.3; - $refObjParamExploded->str = 'facilis'; + $refObjParamExploded->int = 399812; + $refObjParamExploded->num = 588.7; + $refObjParamExploded->str = 'laborum'; $response = $sdk->parameters->formQueryParamsRefParamObject($refObjParam, $refObjParamExploded); @@ -495,7 +495,7 @@ try { $response = $sdk->parameters->headerParamsArray([ - 'cupiditate', + 'sunt', ]); if ($response->res !== null) { @@ -539,9 +539,9 @@ try { $response = $sdk->parameters->headerParamsMap([ - 'qui' => 'quae', + 'nostrum' => 'fugiat', ], [ - 'laudantium' => 'odio', + 'expedita' => 'aliquid', ]); if ($response->res !== null) { @@ -588,14 +588,14 @@ $sdk = SDK::builder() try { $xHeaderObj = new SimpleObject(); - $xHeaderObj->any = 'occaecati'; - $xHeaderObj->bigint = 977496; - $xHeaderObj->bigintStr = 'quisquam'; + $xHeaderObj->any = 'officia'; + $xHeaderObj->bigint = 381397; + $xHeaderObj->bigintStr = 'aliquid'; $xHeaderObj->bool = true; $xHeaderObj->boolOpt = true; $xHeaderObj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $xHeaderObj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $xHeaderObj->decimal = 8765.06; + $xHeaderObj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $xHeaderObj->decimal = 219.73; $xHeaderObj->enum = Enum::Two; $xHeaderObj->float32 = 2.2222222; $xHeaderObj->int = 999999; @@ -609,14 +609,14 @@ try { $xHeaderObj->strOpt = 'optional example'; $xHeaderObjExplode = new SimpleObject(); - $xHeaderObjExplode->any = 'ipsum'; - $xHeaderObjExplode->bigint = 961571; - $xHeaderObjExplode->bigintStr = 'voluptate'; + $xHeaderObjExplode->any = 'iste'; + $xHeaderObjExplode->bigint = 661607; + $xHeaderObjExplode->bigintStr = 'ab'; $xHeaderObjExplode->bool = true; $xHeaderObjExplode->boolOpt = true; $xHeaderObjExplode->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $xHeaderObjExplode->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $xHeaderObjExplode->decimal = 2317.01; + $xHeaderObjExplode->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $xHeaderObjExplode->decimal = 6253.58; $xHeaderObjExplode->enum = Enum::Two; $xHeaderObjExplode->float32 = 2.2222222; $xHeaderObjExplode->int = 999999; @@ -672,7 +672,7 @@ $sdk = SDK::builder() try { - $response = $sdk->parameters->headerParamsPrimitive(false, 492268, 9413.78, 'distinctio'); + $response = $sdk->parameters->headerParamsPrimitive(false, 653421, 6717.94, 'libero'); if ($response->res !== null) { // handle response @@ -721,53 +721,72 @@ $sdk = SDK::builder() try { $deepObjParam = new DeepObject(); - $deepObjParam->any = 'odio'; + $deepObjParam->any = new SimpleObject(); + $deepObjParam->any->any = 'deleniti'; + $deepObjParam->any->bigint = 316220; + $deepObjParam->any->bigintStr = 'vitae'; + $deepObjParam->any->bool = true; + $deepObjParam->any->boolOpt = true; + $deepObjParam->any->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); + $deepObjParam->any->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $deepObjParam->any->decimal = 8333.16; + $deepObjParam->any->enum = Enum::Two; + $deepObjParam->any->float32 = 2.2222222; + $deepObjParam->any->int = 999999; + $deepObjParam->any->int32 = 1; + $deepObjParam->any->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $deepObjParam->any->intEnum = SimpleObjectIntEnum::Third; + $deepObjParam->any->intOptNull = 999999; + $deepObjParam->any->num = 1.1; + $deepObjParam->any->numOptNull = 1.1; + $deepObjParam->any->str = 'example'; + $deepObjParam->any->strOpt = 'optional example'; $deepObjParam->arr = [ new SimpleObject(), ]; $deepObjParam->bool = false; - $deepObjParam->int = 630448; + $deepObjParam->int = 405373; $deepObjParam->map = [ - 'facilis' => new SimpleObject(), + 'ut' => new SimpleObject(), ]; - $deepObjParam->num = 8742.88; + $deepObjParam->num = 3210.43; $deepObjParam->obj = new SimpleObject(); - $deepObjParam->obj->any = 'ducimus'; - $deepObjParam->obj->bigint = 293020; - $deepObjParam->obj->bigintStr = 'quibusdam'; + $deepObjParam->obj->any = 'expedita'; + $deepObjParam->obj->bigint = 29950; + $deepObjParam->obj->bigintStr = 'molestias'; $deepObjParam->obj->bool = true; $deepObjParam->obj->boolOpt = true; $deepObjParam->obj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $deepObjParam->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $deepObjParam->obj->decimal = 8489.44; + $deepObjParam->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $deepObjParam->obj->decimal = 7372.54; $deepObjParam->obj->enum = Enum::Two; $deepObjParam->obj->float32 = 2.2222222; $deepObjParam->obj->int = 999999; $deepObjParam->obj->int32 = 1; - $deepObjParam->obj->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $deepObjParam->obj->intEnum = SimpleObjectIntEnum::Second; + $deepObjParam->obj->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $deepObjParam->obj->intEnum = SimpleObjectIntEnum::First; $deepObjParam->obj->intOptNull = 999999; $deepObjParam->obj->num = 1.1; $deepObjParam->obj->numOptNull = 1.1; $deepObjParam->obj->str = 'example'; $deepObjParam->obj->strOpt = 'optional example'; - $deepObjParam->str = 'impedit'; - $deepObjParam->type = 'aut'; + $deepObjParam->str = 'voluptatum'; + $deepObjParam->type = 'omnis'; $simpleObjParam = new SimpleObject(); - $simpleObjParam->any = 'voluptatibus'; - $simpleObjParam->bigint = 347233; - $simpleObjParam->bigintStr = 'nulla'; + $simpleObjParam->any = 'veritatis'; + $simpleObjParam->bigint = 703218; + $simpleObjParam->bigintStr = 'est'; $simpleObjParam->bool = true; $simpleObjParam->boolOpt = true; $simpleObjParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $simpleObjParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $simpleObjParam->decimal = 1481.41; + $simpleObjParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $simpleObjParam->decimal = 6347.86; $simpleObjParam->enum = Enum::Two; $simpleObjParam->float32 = 2.2222222; $simpleObjParam->int = 999999; $simpleObjParam->int32 = 1; - $simpleObjParam->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; + $simpleObjParam->int32Enum = SimpleObjectInt32Enum::FiftyFive; $simpleObjParam->intEnum = SimpleObjectIntEnum::Third; $simpleObjParam->intOptNull = 999999; $simpleObjParam->num = 1.1; @@ -818,7 +837,7 @@ $sdk = SDK::builder() try { - $response = $sdk->parameters->mixedParametersCamelCase('doloribus', 'iusto', 'eligendi'); + $response = $sdk->parameters->mixedParametersCamelCase('officiis', 'architecto', 'fuga'); if ($response->res !== null) { // handle response @@ -862,7 +881,7 @@ $sdk = SDK::builder() try { - $response = $sdk->parameters->mixedParametersPrimitives('ducimus', 'alias', 'officia'); + $response = $sdk->parameters->mixedParametersPrimitives('pariatur', 'debitis', 'voluptatem'); if ($response->res !== null) { // handle response @@ -909,20 +928,20 @@ $sdk = SDK::builder() try { $deepObjectParam = new SimpleObject(); - $deepObjectParam->any = 'tempora'; - $deepObjectParam->bigint = 368584; - $deepObjectParam->bigintStr = 'ea'; + $deepObjectParam->any = 'alias'; + $deepObjectParam->bigint = 534917; + $deepObjectParam->bigintStr = 'earum'; $deepObjectParam->bool = true; $deepObjectParam->boolOpt = true; $deepObjectParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $deepObjectParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $deepObjectParam->decimal = 1369; + $deepObjectParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $deepObjectParam->decimal = 4042.44; $deepObjectParam->enum = Enum::Two; $deepObjectParam->float32 = 2.2222222; $deepObjectParam->int = 999999; $deepObjectParam->int32 = 1; - $deepObjectParam->int32Enum = SimpleObjectInt32Enum::SixtyNine; - $deepObjectParam->intEnum = SimpleObjectIntEnum::Third; + $deepObjectParam->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; + $deepObjectParam->intEnum = SimpleObjectIntEnum::Second; $deepObjectParam->intOptNull = 999999; $deepObjectParam->num = 1.1; $deepObjectParam->numOptNull = 1.1; @@ -930,19 +949,19 @@ try { $deepObjectParam->strOpt = 'optional example'; $formParam = new SimpleObject(); - $formParam->any = 'magnam'; - $formParam->bigint = 189848; - $formParam->bigintStr = 'ex'; + $formParam->any = 'minus'; + $formParam->bigint = 365100; + $formParam->bigintStr = 'asperiores'; $formParam->bool = true; $formParam->boolOpt = true; $formParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $formParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $formParam->decimal = 5113.19; + $formParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $formParam->decimal = 1905.67; $formParam->enum = Enum::Two; $formParam->float32 = 2.2222222; $formParam->int = 999999; $formParam->int32 = 1; - $formParam->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $formParam->int32Enum = SimpleObjectInt32Enum::SixtyNine; $formParam->intEnum = SimpleObjectIntEnum::First; $formParam->intOptNull = 999999; $formParam->num = 1.1; @@ -951,20 +970,20 @@ try { $formParam->strOpt = 'optional example'; $jsonParam = new SimpleObject(); - $jsonParam->any = 'maiores'; - $jsonParam->bigint = 97844; - $jsonParam->bigintStr = 'ex'; + $jsonParam->any = 'illum'; + $jsonParam->bigint = 518150; + $jsonParam->bigintStr = 'impedit'; $jsonParam->bool = true; $jsonParam->boolOpt = true; $jsonParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $jsonParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $jsonParam->decimal = 8621.92; + $jsonParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $jsonParam->decimal = 8427.77; $jsonParam->enum = Enum::Two; $jsonParam->float32 = 2.2222222; $jsonParam->int = 999999; $jsonParam->int32 = 1; - $jsonParam->int32Enum = SimpleObjectInt32Enum::SixtyNine; - $jsonParam->intEnum = SimpleObjectIntEnum::Third; + $jsonParam->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; + $jsonParam->intEnum = SimpleObjectIntEnum::Second; $jsonParam->intOptNull = 999999; $jsonParam->num = 1.1; $jsonParam->numOptNull = 1.1; @@ -1018,20 +1037,20 @@ $sdk = SDK::builder() try { $jsonObj = new SimpleObject(); - $jsonObj->any = 'nostrum'; - $jsonObj->bigint = 960835; - $jsonObj->bigintStr = 'quisquam'; + $jsonObj->any = 'culpa'; + $jsonObj->bigint = 222864; + $jsonObj->bigintStr = 'aliquam'; $jsonObj->bool = true; $jsonObj->boolOpt = true; $jsonObj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $jsonObj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $jsonObj->decimal = 9065.56; + $jsonObj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $jsonObj->decimal = 805.32; $jsonObj->enum = Enum::Two; $jsonObj->float32 = 2.2222222; $jsonObj->int = 999999; $jsonObj->int32 = 1; $jsonObj->int32Enum = SimpleObjectInt32Enum::SixtyNine; - $jsonObj->intEnum = SimpleObjectIntEnum::Third; + $jsonObj->intEnum = SimpleObjectIntEnum::First; $jsonObj->intOptNull = 999999; $jsonObj->num = 1.1; $jsonObj->numOptNull = 1.1; @@ -1083,20 +1102,20 @@ $sdk = SDK::builder() try { $objParam = new SimpleObject(); - $objParam->any = 'corporis'; - $objParam->bigint = 333145; - $objParam->bigintStr = 'aliquid'; + $objParam->any = 'tempora'; + $objParam->bigint = 221396; + $objParam->bigintStr = 'consequatur'; $objParam->bool = true; $objParam->boolOpt = true; $objParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $objParam->decimal = 811.01; + $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $objParam->decimal = 1000.14; $objParam->enum = Enum::Two; $objParam->float32 = 2.2222222; $objParam->int = 999999; $objParam->int32 = 1; $objParam->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $objParam->intEnum = SimpleObjectIntEnum::Second; + $objParam->intEnum = SimpleObjectIntEnum::First; $objParam->intOptNull = 999999; $objParam->num = 1.1; $objParam->numOptNull = 1.1; @@ -1104,11 +1123,11 @@ try { $objParam->strOpt = 'optional example'; $response = $sdk->parameters->pipeDelimitedQueryParamsArray([ - 'quo', + 'fugit', ], [ - 232234, + 66149, ], [ - 'recusandae' => 'aspernatur', + 'laudantium' => 'quae', ], $objParam); if ($response->res !== null) { @@ -1155,7 +1174,7 @@ try { $response = $sdk->parameters->simplePathParameterArrays([ - 'minima', + 'dolor', ]); if ($response->res !== null) { @@ -1199,9 +1218,9 @@ try { $response = $sdk->parameters->simplePathParameterMaps([ - 'eaque' => 'a', + 'fugiat' => 'ipsam', ], [ - 'libero' => 13948, + 'consequuntur' => 55107, ]); if ($response->res !== null) { @@ -1248,19 +1267,19 @@ $sdk = SDK::builder() try { $objParam = new SimpleObject(); - $objParam->any = 'aut'; - $objParam->bigint = 533466; + $objParam->any = 'quas'; + $objParam->bigint = 911198; $objParam->bigintStr = 'impedit'; $objParam->bool = true; $objParam->boolOpt = true; $objParam->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $objParam->decimal = 3045.82; + $objParam->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $objParam->decimal = 8849.52; $objParam->enum = Enum::Two; $objParam->float32 = 2.2222222; $objParam->int = 999999; $objParam->int32 = 1; - $objParam->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $objParam->int32Enum = SimpleObjectInt32Enum::SixtyNine; $objParam->intEnum = SimpleObjectIntEnum::Third; $objParam->intOptNull = 999999; $objParam->num = 1.1; @@ -1269,20 +1288,20 @@ try { $objParam->strOpt = 'optional example'; $objParamExploded = new SimpleObject(); - $objParamExploded->any = 'inventore'; - $objParamExploded->bigint = 250622; - $objParamExploded->bigintStr = 'et'; + $objParamExploded->any = 'sed'; + $objParamExploded->bigint = 332191; + $objParamExploded->bigintStr = 'nesciunt'; $objParamExploded->bool = true; $objParamExploded->boolOpt = true; $objParamExploded->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $objParamExploded->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $objParamExploded->decimal = 6774.12; + $objParamExploded->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $objParamExploded->decimal = 7129.27; $objParamExploded->enum = Enum::Two; $objParamExploded->float32 = 2.2222222; $objParamExploded->int = 999999; $objParamExploded->int32 = 1; - $objParamExploded->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; - $objParamExploded->intEnum = SimpleObjectIntEnum::Third; + $objParamExploded->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $objParamExploded->intEnum = SimpleObjectIntEnum::Second; $objParamExploded->intOptNull = 999999; $objParamExploded->num = 1.1; $objParamExploded->numOptNull = 1.1; @@ -1332,7 +1351,7 @@ $sdk = SDK::builder() try { - $response = $sdk->parameters->simplePathParameterPrimitives(false, 1, 2453.67, 'eum'); + $response = $sdk->parameters->simplePathParameterPrimitives(false, 1, 5282.34, 'magnam'); if ($response->res !== null) { // handle response diff --git a/php-client-sdk/docs/sdks/requestbodies/README.md b/php-client-sdk/docs/sdks/requestbodies/README.md index 0b67cca44..548f2f891 100755 --- a/php-client-sdk/docs/sdks/requestbodies/README.md +++ b/php-client-sdk/docs/sdks/requestbodies/README.md @@ -107,8 +107,8 @@ $sdk = SDK::builder() try { $request = new NullableObject(); - $request->optional = 'autem'; - $request->required = 752135; + $request->optional = 'exercitationem'; + $request->required = 70410; $response = $sdk->requestBodies->nullableObjectPost($request); @@ -200,12 +200,12 @@ $sdk = SDK::builder() try { $request = new NullableRequiredPropertyPostRequestBody(); - $request->nullableOptionalInt = 557369; + $request->nullableOptionalInt = 781480; $request->nullableRequiredArray = [ - 8296.03, + 4218.44, ]; $request->nullableRequiredEnum = NullableRequiredPropertyPostRequestBodyNullableRequiredEnum::Second; - $request->nullableRequiredInt = 379034; + $request->nullableRequiredInt = 388319; $response = $sdk->requestBodies->nullableRequiredPropertyPost($request); @@ -250,11 +250,11 @@ $sdk = SDK::builder() try { $request = new NullableRequiredSharedObjectPostRequestBody(); $request->nullableOptionalObj = new NullableObject(); - $request->nullableOptionalObj->optional = 'libero'; - $request->nullableOptionalObj->required = 96549; + $request->nullableOptionalObj->optional = 'recusandae'; + $request->nullableOptionalObj->required = 160393; $request->nullableRequiredObj = new NullableObject(); - $request->nullableRequiredObj->optional = 'tempora'; - $request->nullableRequiredObj->required = 256139; + $request->nullableRequiredObj->optional = 'voluptatem'; + $request->nullableRequiredObj->required = 350207; $response = $sdk->requestBodies->nullableRequiredSharedObjectPost($request); @@ -587,7 +587,7 @@ $sdk = SDK::builder() try { $request = [ [ - 'explicabo', + 'necessitatibus', ], ] @@ -637,7 +637,7 @@ $sdk = SDK::builder() try { $request = [ [ - 'provident' => new SimpleObject(), + 'quasi' => new SimpleObject(), ], ] @@ -687,7 +687,7 @@ $sdk = SDK::builder() try { $request = [ [ - 'ipsa' => new SimpleObjectCamelCase(), + 'nisi' => new SimpleObjectCamelCase(), ], ] @@ -732,7 +732,7 @@ $sdk = SDK::builder() try { $request = [ - 'molestiae', + 'at', ] $response = $sdk->requestBodies->requestBodyPostApplicationJsonArrayOfPrimitive($request); @@ -781,57 +781,38 @@ $sdk = SDK::builder() try { $request = new DeepObject(); - $request->any = new SimpleObject(); - $request->any->any = 'odio'; - $request->any->bigint = 262118; - $request->any->bigintStr = 'esse'; - $request->any->bool = true; - $request->any->boolOpt = true; - $request->any->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->any->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->any->decimal = 4561.41; - $request->any->enum = Enum::Two; - $request->any->float32 = 2.2222222; - $request->any->int = 999999; - $request->any->int32 = 1; - $request->any->int32Enum = SimpleObjectInt32Enum::SixtyNine; - $request->any->intEnum = SimpleObjectIntEnum::Third; - $request->any->intOptNull = 999999; - $request->any->num = 1.1; - $request->any->numOptNull = 1.1; - $request->any->str = 'example'; - $request->any->strOpt = 'optional example'; + $request->any = 'est'; $request->arr = [ new SimpleObject(), ]; $request->bool = false; - $request->int = 442015; + $request->int = 690785; $request->map = [ - 'quidem' => new SimpleObject(), + 'sequi' => new SimpleObject(), ]; - $request->num = 8526.35; + $request->num = 9873.49; $request->obj = new SimpleObject(); - $request->obj->any = 'ut'; - $request->obj->bigint = 433439; - $request->obj->bigintStr = 'suscipit'; + $request->obj->any = 'repudiandae'; + $request->obj->bigint = 759283; + $request->obj->bigintStr = 'occaecati'; $request->obj->bool = true; $request->obj->boolOpt = true; $request->obj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->obj->decimal = 8268.71; + $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->obj->decimal = 3645.44; $request->obj->enum = Enum::Two; $request->obj->float32 = 2.2222222; $request->obj->int = 999999; $request->obj->int32 = 1; - $request->obj->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $request->obj->int32Enum = SimpleObjectInt32Enum::SixtyNine; $request->obj->intEnum = SimpleObjectIntEnum::Second; $request->obj->intOptNull = 999999; $request->obj->num = 1.1; $request->obj->numOptNull = 1.1; $request->obj->str = 'example'; $request->obj->strOpt = 'optional example'; - $request->str = 'quisquam'; - $request->type = 'veritatis'; + $request->str = 'officia'; + $request->type = 'voluptas'; $response = $sdk->requestBodies->requestBodyPostApplicationJsonDeep($request); @@ -879,19 +860,19 @@ $sdk = SDK::builder() try { $request = new DeepObjectCamelCase(); $request->anyVal = new SimpleObjectCamelCase(); - $request->anyVal->anyVal = 'id'; - $request->anyVal->bigintStrVal = 'quidem'; - $request->anyVal->bigintVal = 206594; + $request->anyVal->anyVal = 'nemo'; + $request->anyVal->bigintStrVal = 'quos'; + $request->anyVal->bigintVal = 260904; $request->anyVal->boolOptVal = true; $request->anyVal->boolVal = true; $request->anyVal->dateTimeVal = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); $request->anyVal->dateVal = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->anyVal->decimalVal = 7786.96; + $request->anyVal->decimalVal = 1319.03; $request->anyVal->enumVal = Enum::Two; $request->anyVal->float32Val = 2.2222222; - $request->anyVal->int32EnumVal = SimpleObjectCamelCaseInt32EnumVal::OneHundredAndEightyOne; + $request->anyVal->int32EnumVal = SimpleObjectCamelCaseInt32EnumVal::SixtyNine; $request->anyVal->int32Val = 1; - $request->anyVal->intEnumVal = SimpleObjectCamelCaseIntEnumVal::Third; + $request->anyVal->intEnumVal = SimpleObjectCamelCaseIntEnumVal::First; $request->anyVal->intOptNullVal = 999999; $request->anyVal->intVal = 999999; $request->anyVal->numOptNullVal = 1.1; @@ -902,33 +883,33 @@ try { new SimpleObjectCamelCase(), ]; $request->boolVal = false; - $request->intVal = 681359; + $request->intVal = 681740; $request->mapVal = [ - 'eius' => new SimpleObjectCamelCase(), + 'laudantium' => new SimpleObjectCamelCase(), ]; - $request->numVal = 1783.67; + $request->numVal = 2773.4; $request->objVal = new SimpleObjectCamelCase(); - $request->objVal->anyVal = 'voluptas'; - $request->objVal->bigintStrVal = 'ab'; - $request->objVal->bigintVal = 587600; + $request->objVal->anyVal = 'quasi'; + $request->objVal->bigintStrVal = 'rem'; + $request->objVal->bigintVal = 851854; $request->objVal->boolOptVal = true; $request->objVal->boolVal = true; $request->objVal->dateTimeVal = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); $request->objVal->dateVal = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->objVal->decimalVal = 96.88; + $request->objVal->decimalVal = 1173.8; $request->objVal->enumVal = Enum::Two; $request->objVal->float32Val = 2.2222222; - $request->objVal->int32EnumVal = SimpleObjectCamelCaseInt32EnumVal::FiftyFive; + $request->objVal->int32EnumVal = SimpleObjectCamelCaseInt32EnumVal::SixtyNine; $request->objVal->int32Val = 1; - $request->objVal->intEnumVal = SimpleObjectCamelCaseIntEnumVal::Third; + $request->objVal->intEnumVal = SimpleObjectCamelCaseIntEnumVal::First; $request->objVal->intOptNullVal = 999999; $request->objVal->intVal = 999999; $request->objVal->numOptNullVal = 1.1; $request->objVal->numVal = 1.1; $request->objVal->strOptVal = 'optional example'; $request->objVal->strVal = 'example'; - $request->strVal = 'ipsam'; - $request->type = 'aspernatur'; + $request->strVal = 'consectetur'; + $request->type = 'aperiam'; $response = $sdk->requestBodies->requestBodyPostApplicationJsonDeepCamelCase($request); @@ -974,7 +955,7 @@ $sdk = SDK::builder() try { $request = [ - 'sequi' => new SimpleObject(), + 'cupiditate' => new SimpleObject(), ] $response = $sdk->requestBodies->requestBodyPostApplicationJsonMap($request); @@ -1022,7 +1003,7 @@ $sdk = SDK::builder() try { $request = [ - 'quo' => new SimpleObjectCamelCase(), + 'reiciendis' => new SimpleObjectCamelCase(), ] $response = $sdk->requestBodies->requestBodyPostApplicationJsonMapCamelCase($request); @@ -1070,7 +1051,7 @@ $sdk = SDK::builder() try { $request = [ - 'esse' => new SimpleObject(), + 'soluta' => new SimpleObject(), ] $response = $sdk->requestBodies->requestBodyPostApplicationJsonMapObj($request); @@ -1117,7 +1098,7 @@ $sdk = SDK::builder() try { $request = [ - 'recusandae' => new SimpleObjectCamelCase(), + 'alias' => new SimpleObjectCamelCase(), ] $response = $sdk->requestBodies->requestBodyPostApplicationJsonMapObjCamelCase($request); @@ -1164,7 +1145,7 @@ $sdk = SDK::builder() try { $request = [ - 'aperiam' => [ + 'omnis' => [ new SimpleObject(), ], ] @@ -1214,7 +1195,7 @@ $sdk = SDK::builder() try { $request = [ - 'distinctio' => [ + 'eos' => [ new SimpleObjectCamelCase(), ], ] @@ -1264,8 +1245,8 @@ $sdk = SDK::builder() try { $request = [ - 'quod' => [ - 'dignissimos' => new SimpleObject(), + 'occaecati' => [ + 'iste' => new SimpleObject(), ], ] @@ -1314,8 +1295,8 @@ $sdk = SDK::builder() try { $request = [ - 'inventore' => [ - 'nihil' => new SimpleObjectCamelCase(), + 'magni' => [ + 'inventore' => new SimpleObjectCamelCase(), ], ] @@ -1360,8 +1341,8 @@ $sdk = SDK::builder() try { $request = [ - 'totam' => [ - 'accusamus' => 'aliquam', + 'fuga' => [ + 'accusamus' => 'voluptatibus', ], ] @@ -1406,7 +1387,7 @@ $sdk = SDK::builder() try { $request = [ - 'odio' => 'occaecati', + 'distinctio' => 'omnis', ] $response = $sdk->requestBodies->requestBodyPostApplicationJsonMapOfPrimitive($request); @@ -1454,20 +1435,20 @@ $sdk = SDK::builder() try { $request = new SimpleObject(); - $request->any = 'commodi'; - $request->bigint = 959434; - $request->bigintStr = 'dolores'; + $request->any = 'delectus'; + $request->bigint = 328379; + $request->bigintStr = 'praesentium'; $request->bool = true; $request->boolOpt = true; $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimal = 6455.7; + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 8026.92; $request->enum = Enum::Two; $request->float32 = 2.2222222; $request->int = 999999; $request->int32 = 1; - $request->int32Enum = SimpleObjectInt32Enum::SixtyNine; - $request->intEnum = SimpleObjectIntEnum::First; + $request->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $request->intEnum = SimpleObjectIntEnum::Third; $request->intOptNull = 999999; $request->num = 1.1; $request->numOptNull = 1.1; @@ -1518,20 +1499,20 @@ $sdk = SDK::builder() try { $request = new SimpleObject(); - $request->any = 'porro'; - $request->bigint = 430402; - $request->bigintStr = 'quas'; + $request->any = 'quos'; + $request->bigint = 415280; + $request->bigintStr = 'itaque'; $request->bool = true; $request->boolOpt = true; $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimal = 5100.17; + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 4156.08; $request->enum = Enum::Two; $request->float32 = 2.2222222; $request->int = 999999; $request->int32 = 1; - $request->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $request->intEnum = SimpleObjectIntEnum::Second; + $request->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $request->intEnum = SimpleObjectIntEnum::Third; $request->intOptNull = 999999; $request->num = 1.1; $request->numOptNull = 1.1; @@ -1582,19 +1563,19 @@ $sdk = SDK::builder() try { $request = new SimpleObjectCamelCase(); - $request->anyVal = 'fugit'; - $request->bigintStrVal = 'fuga'; - $request->bigintVal = 649463; + $request->anyVal = 'modi'; + $request->bigintStrVal = 'nam'; + $request->bigintVal = 877399; $request->boolOptVal = true; $request->boolVal = true; $request->dateTimeVal = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); $request->dateVal = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->decimalVal = 2775.96; + $request->decimalVal = 329.01; $request->enumVal = Enum::Two; $request->float32Val = 2.2222222; $request->int32EnumVal = SimpleObjectCamelCaseInt32EnumVal::SixtyNine; $request->int32Val = 1; - $request->intEnumVal = SimpleObjectCamelCaseIntEnumVal::First; + $request->intEnumVal = SimpleObjectCamelCaseIntEnumVal::Second; $request->intOptNullVal = 999999; $request->intVal = 999999; $request->numOptNullVal = 1.1; @@ -1645,18 +1626,18 @@ $sdk = SDK::builder() try { $request = new RequestBodyPostComplexNumberTypesRequest(); $request->complexNumberTypes = new ComplexNumberTypes(); - $request->complexNumberTypes->bigint = 325685; - $request->complexNumberTypes->bigintStr = 'nisi'; - $request->complexNumberTypes->decimal = 1470.14; - $request->complexNumberTypes->decimalStr = 'sapiente'; - $request->pathBigInt = 159870; - $request->pathBigIntStr = 'ratione'; - $request->pathDecimal = 1294.12; - $request->pathDecimalStr = 'saepe'; - $request->queryBigInt = 578922; - $request->queryBigIntStr = 'atque'; - $request->queryDecimal = 922.6; - $request->queryDecimalStr = 'esse'; + $request->complexNumberTypes->bigint = 1383; + $request->complexNumberTypes->bigintStr = 'quasi'; + $request->complexNumberTypes->decimal = 2476.85; + $request->complexNumberTypes->decimalStr = 'maiores'; + $request->pathBigInt = 318233; + $request->pathBigIntStr = 'sint'; + $request->pathDecimal = 8587.78; + $request->pathDecimalStr = 'deserunt'; + $request->queryBigInt = 458503; + $request->queryBigIntStr = 'nemo'; + $request->queryDecimal = 4445.87; + $request->queryDecimalStr = 'est'; $response = $sdk->requestBodies->requestBodyPostComplexNumberTypes($request); @@ -1704,34 +1685,34 @@ $sdk = SDK::builder() try { $request = new DefaultsAndConsts(); - $request->constBigInt = 910545; - $request->constBigIntStr = 'accusamus'; + $request->constBigInt = 336102; + $request->constBigIntStr = 'sint'; $request->constBool = false; - $request->constDate = DateTime::createFromFormat('Y-m-d', '2022-07-17'); - $request->constDateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-10-30T00:52:28.005Z'); - $request->constDecimal = 8771.31; - $request->constDecimalStr = 'aliquid'; - $request->constEnumInt = DefaultsAndConstsConstEnumInt::One; + $request->constDate = DateTime::createFromFormat('Y-m-d', '2020-09-04'); + $request->constDateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-04-20T09:18:57.946Z'); + $request->constDecimal = 9918.91; + $request->constDecimalStr = 'ex'; + $request->constEnumInt = DefaultsAndConstsConstEnumInt::Two; $request->constEnumStr = DefaultsAndConstsConstEnumStr::Three; - $request->constInt = 426306; - $request->constNum = 6900.25; - $request->constStr = 'molestiae'; - $request->constStrNull = 'rerum'; - $request->defaultBigInt = 580197; - $request->defaultBigIntStr = 'minima'; + $request->constInt = 966148; + $request->constNum = 650.82; + $request->constStr = 'minus'; + $request->constStrNull = 'fuga'; + $request->defaultBigInt = 675689; + $request->defaultBigIntStr = 'consectetur'; $request->defaultBool = false; - $request->defaultDate = DateTime::createFromFormat('Y-m-d', '2021-06-27'); - $request->defaultDateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-05-13T20:06:18.158Z'); - $request->defaultDecimal = 7313.98; - $request->defaultDecimalStr = 'adipisci'; + $request->defaultDate = DateTime::createFromFormat('Y-m-d', '2022-06-18'); + $request->defaultDateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-03-24T20:12:48.686Z'); + $request->defaultDecimal = 1660.47; + $request->defaultDecimalStr = 'soluta'; $request->defaultEnumInt = DefaultsAndConstsDefaultEnumInt::Three; - $request->defaultEnumStr = DefaultsAndConstsDefaultEnumStr::One; - $request->defaultInt = 9766; - $request->defaultNum = 7963.92; - $request->defaultStr = 'quaerat'; - $request->defaultStrNullable = 'sapiente'; - $request->defaultStrOptional = 'consectetur'; - $request->normalField = 'esse'; + $request->defaultEnumStr = DefaultsAndConstsDefaultEnumStr::Three; + $request->defaultInt = 294076; + $request->defaultNum = 4828.92; + $request->defaultStr = 'voluptate'; + $request->defaultStrNullable = 'sequi'; + $request->defaultStrOptional = 'dignissimos'; + $request->normalField = 'neque'; $request->singleEnumConstBool = false; $request->singleEnumConstStr = DefaultsAndConstsSingleEnumConstStr::One; @@ -1826,38 +1807,38 @@ $sdk = SDK::builder() try { $request = new DeepObject(); - $request->any = 'provident'; + $request->any = 'deleniti'; $request->arr = [ new SimpleObject(), ]; $request->bool = false; - $request->int = 953722; + $request->int = 844235; $request->map = [ - 'nulla' => new SimpleObject(), + 'iure' => new SimpleObject(), ]; - $request->num = 5578.11; + $request->num = 1390.72; $request->obj = new SimpleObject(); - $request->obj->any = 'esse'; - $request->obj->bigint = 97468; - $request->obj->bigintStr = 'a'; + $request->obj->any = 'voluptatibus'; + $request->obj->bigint = 426904; + $request->obj->bigintStr = 'magnam'; $request->obj->bool = true; $request->obj->boolOpt = true; $request->obj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->obj->decimal = 6216.79; + $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->obj->decimal = 8428.55; $request->obj->enum = Enum::Two; $request->obj->float32 = 2.2222222; $request->obj->int = 999999; $request->obj->int32 = 1; - $request->obj->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $request->obj->int32Enum = SimpleObjectInt32Enum::FiftyFive; $request->obj->intEnum = SimpleObjectIntEnum::Third; $request->obj->intOptNull = 999999; $request->obj->num = 1.1; $request->obj->numOptNull = 1.1; $request->obj->str = 'example'; $request->obj->strOpt = 'optional example'; - $request->str = 'possimus'; - $request->type = 'quia'; + $request->str = 'libero'; + $request->type = 'architecto'; $response = $sdk->requestBodies->requestBodyPostFormDeep($request); @@ -1899,7 +1880,7 @@ $sdk = SDK::builder() try { $request = [ - 'eveniet' => 'asperiores', + 'voluptatibus' => 'quia', ] $response = $sdk->requestBodies->requestBodyPostFormMapPrimitive($request); @@ -1946,19 +1927,19 @@ $sdk = SDK::builder() try { $request = new SimpleObject(); - $request->any = 'facere'; - $request->bigint = 85001; - $request->bigintStr = 'consequuntur'; + $request->any = 'porro'; + $request->bigint = 304198; + $request->bigintStr = 'velit'; $request->bool = true; $request->boolOpt = true; $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimal = 944.58; + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 753.59; $request->enum = Enum::Two; $request->float32 = 2.2222222; $request->int = 999999; $request->int32 = 1; - $request->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $request->int32Enum = SimpleObjectInt32Enum::FiftyFive; $request->intEnum = SimpleObjectIntEnum::Second; $request->intOptNull = 999999; $request->num = 1.1; @@ -2006,7 +1987,7 @@ $sdk = SDK::builder() try { $request = [ - 398434, + 406922, ] $response = $sdk->requestBodies->requestBodyPostJsonDataTypesArrayBigInt($request); @@ -2049,7 +2030,7 @@ $sdk = SDK::builder() try { $request = [ - DateTime::createFromFormat('Y-m-d', '2022-10-24'), + DateTime::createFromFormat('Y-m-d', '2022-02-14'), ] $response = $sdk->requestBodies->requestBodyPostJsonDataTypesArrayDate($request); @@ -2092,7 +2073,7 @@ $sdk = SDK::builder() try { $request = [ - 'earum', + 'excepturi', ] $response = $sdk->requestBodies->requestBodyPostJsonDataTypesArrayDecimalStr($request); @@ -2134,7 +2115,7 @@ $sdk = SDK::builder() ->build(); try { -424032 +431994 $response = $sdk->requestBodies->requestBodyPostJsonDataTypesBigInt($request); @@ -2175,7 +2156,7 @@ $sdk = SDK::builder() ->build(); try { -'in' +'velit' $response = $sdk->requestBodies->requestBodyPostJsonDataTypesBigIntStr($request); @@ -2257,7 +2238,7 @@ $sdk = SDK::builder() ->build(); try { -DateTime::createFromFormat('Y-m-d', '2022-04-10') +DateTime::createFromFormat('Y-m-d', '2022-05-28') $response = $sdk->requestBodies->requestBodyPostJsonDataTypesDate($request); @@ -2298,7 +2279,7 @@ $sdk = SDK::builder() ->build(); try { -DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-10-10T05:59:09.149Z') +DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-08-25T07:25:33.000Z') $response = $sdk->requestBodies->requestBodyPostJsonDataTypesDateTime($request); @@ -2339,7 +2320,7 @@ $sdk = SDK::builder() ->build(); try { -333.04 +7722.66 $response = $sdk->requestBodies->requestBodyPostJsonDataTypesDecimal($request); @@ -2380,7 +2361,7 @@ $sdk = SDK::builder() ->build(); try { -'aliquam' +'voluptatibus' $response = $sdk->requestBodies->requestBodyPostJsonDataTypesDecimalStr($request); @@ -2421,7 +2402,7 @@ $sdk = SDK::builder() ->build(); try { -9589.83 +6109.87 $response = $sdk->requestBodies->requestBodyPostJsonDataTypesFloat32($request); @@ -2462,7 +2443,7 @@ $sdk = SDK::builder() ->build(); try { -119771 +932562 $response = $sdk->requestBodies->requestBodyPostJsonDataTypesInt32($request); @@ -2503,7 +2484,7 @@ $sdk = SDK::builder() ->build(); try { -355369 +2677 $response = $sdk->requestBodies->requestBodyPostJsonDataTypesInteger($request); @@ -2545,7 +2526,7 @@ $sdk = SDK::builder() try { $request = [ - 'reprehenderit' => 'ullam', + 'nisi' => 'itaque', ] $response = $sdk->requestBodies->requestBodyPostJsonDataTypesMapBigIntStr($request); @@ -2588,7 +2569,7 @@ $sdk = SDK::builder() try { $request = [ - 'nisi' => DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-06-20T21:00:03.729Z'), + 'velit' => DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-07-02T05:01:22.981Z'), ] $response = $sdk->requestBodies->requestBodyPostJsonDataTypesMapDateTime($request); @@ -2631,7 +2612,7 @@ $sdk = SDK::builder() try { $request = [ - 'qui' => 8453.58, + 'dolor' => 4833.94, ] $response = $sdk->requestBodies->requestBodyPostJsonDataTypesMapDecimal($request); @@ -2673,7 +2654,7 @@ $sdk = SDK::builder() ->build(); try { -4012.59 +247.53 $response = $sdk->requestBodies->requestBodyPostJsonDataTypesNumber($request); @@ -2714,7 +2695,7 @@ $sdk = SDK::builder() ->build(); try { -'deleniti' +'doloremque' $response = $sdk->requestBodies->requestBodyPostJsonDataTypesString($request); @@ -2760,20 +2741,20 @@ $sdk = SDK::builder() try { $request = new SimpleObject(); - $request->any = 'itaque'; - $request->bigint = 680270; - $request->bigintStr = 'architecto'; + $request->any = 'consequatur'; + $request->bigint = 639705; + $request->bigintStr = 'recusandae'; $request->bool = true; $request->boolOpt = true; $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimal = 6091.78; + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 4083.03; $request->enum = Enum::Two; $request->float32 = 2.2222222; $request->int = 999999; $request->int32 = 1; $request->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; - $request->intEnum = SimpleObjectIntEnum::First; + $request->intEnum = SimpleObjectIntEnum::Second; $request->intOptNull = 999999; $request->num = 1.1; $request->numOptNull = 1.1; @@ -2822,8 +2803,8 @@ $sdk = SDK::builder() try { $request = new RequestBodyPostMultipleContentTypesInlineFilteredApplicationJSON(); $request->bool = false; - $request->num = 8694.89; - $request->str = 'et'; + $request->num = 7051.48; + $request->str = 'placeat'; $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesInlineFiltered($request); @@ -2868,10 +2849,10 @@ $sdk = SDK::builder() try { $requestBody = new RequestBodyPostMultipleContentTypesSplitParamApplicationXWwwFormUrlencoded(); $requestBody->bool3 = false; - $requestBody->num3 = 4541.62; - $requestBody->str3 = 'ipsa'; + $requestBody->num3 = 5960.65; + $requestBody->str3 = 'expedita'; - $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitParamForm($requestBody, 'minima'); + $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitParamForm($requestBody, 'deleniti'); if ($response->res !== null) { // handle response @@ -2915,10 +2896,10 @@ $sdk = SDK::builder() try { $requestBody = new RequestBodyPostMultipleContentTypesSplitParamApplicationJSON(); $requestBody->bool = false; - $requestBody->num = 865.32; - $requestBody->str = 'consectetur'; + $requestBody->num = 9543.34; + $requestBody->str = 'voluptate'; - $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitParamJson($requestBody, 'adipisci'); + $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitParamJson($requestBody, 'ullam'); if ($response->res !== null) { // handle response @@ -2962,10 +2943,10 @@ $sdk = SDK::builder() try { $requestBody = new RequestBodyPostMultipleContentTypesSplitParamMultipartFormData(); $requestBody->bool2 = false; - $requestBody->num2 = 6144.65; - $requestBody->str2 = 'temporibus'; + $requestBody->num2 = 6001.93; + $requestBody->str2 = 'necessitatibus'; - $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitParamMultipart($requestBody, 'accusantium'); + $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitParamMultipart($requestBody, 'animi'); if ($response->res !== null) { // handle response @@ -3008,8 +2989,8 @@ $sdk = SDK::builder() try { $request = new RequestBodyPostMultipleContentTypesSplitApplicationXWwwFormUrlencoded(); $request->bool3 = false; - $request->num3 = 5223.71; - $request->str3 = 'aut'; + $request->num3 = 7699.67; + $request->str3 = 'ipsam'; $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitForm($request); @@ -3053,8 +3034,8 @@ $sdk = SDK::builder() try { $request = new RequestBodyPostMultipleContentTypesSplitApplicationJSON(); $request->bool = false; - $request->num = 5130.75; - $request->str = 'eum'; + $request->num = 3574.25; + $request->str = 'est'; $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitJson($request); @@ -3098,8 +3079,8 @@ $sdk = SDK::builder() try { $request = new RequestBodyPostMultipleContentTypesSplitMultipartFormData(); $request->bool2 = false; - $request->num2 = 6498.32; - $request->str2 = 'ab'; + $request->num2 = 6216.66; + $request->str2 = 'esse'; $response = $sdk->requestBodies->requestBodyPostMultipleContentTypesSplitMultipart($request); @@ -3140,7 +3121,7 @@ $sdk = SDK::builder() ->build(); try { -'corrupti' +'labore' $response = $sdk->requestBodies->requestBodyPostNotNullableNotRequiredStringBody($request); @@ -3182,7 +3163,7 @@ $sdk = SDK::builder() try { $request = [ - 'non', + 'veritatis', ] $response = $sdk->requestBodies->requestBodyPostNullArray($request); @@ -3225,7 +3206,7 @@ $sdk = SDK::builder() try { $request = [ - 'voluptatem' => 'dolor', + 'vero' => 'consectetur', ] $response = $sdk->requestBodies->requestBodyPostNullDictionary($request); @@ -3267,7 +3248,7 @@ $sdk = SDK::builder() ->build(); try { -'occaecati' +'vitae' $response = $sdk->requestBodies->requestBodyPostNullableNotRequiredStringBody($request); @@ -3308,7 +3289,7 @@ $sdk = SDK::builder() ->build(); try { -'numquam' +'inventore' $response = $sdk->requestBodies->requestBodyPostNullableRequiredStringBody($request); @@ -3349,7 +3330,7 @@ $sdk = SDK::builder() ->build(); try { -'impedit' +'dolorem' $response = $sdk->requestBodies->requestBodyPutBytes($request); @@ -3393,7 +3374,7 @@ $sdk = SDK::builder() try { - $response = $sdk->requestBodies->requestBodyPutBytesWithParams('explicabo', 'voluptas'); + $response = $sdk->requestBodies->requestBodyPutBytesWithParams('ad', 'qui'); if ($response->res !== null) { // handle response @@ -3439,57 +3420,38 @@ $sdk = SDK::builder() try { $request = new DeepObject(); - $request->any = new SimpleObject(); - $request->any->any = 'dignissimos'; - $request->any->bigint = 115484; - $request->any->bigintStr = 'maiores'; - $request->any->bool = true; - $request->any->boolOpt = true; - $request->any->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->any->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->any->decimal = 6184.8; - $request->any->enum = Enum::Two; - $request->any->float32 = 2.2222222; - $request->any->int = 999999; - $request->any->int32 = 1; - $request->any->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $request->any->intEnum = SimpleObjectIntEnum::Third; - $request->any->intOptNull = 999999; - $request->any->num = 1.1; - $request->any->numOptNull = 1.1; - $request->any->str = 'example'; - $request->any->strOpt = 'optional example'; + $request->any = 'ex'; $request->arr = [ new SimpleObject(), ]; $request->bool = false; - $request->int = 374323; + $request->int = 367626; $request->map = [ - 'asperiores' => new SimpleObject(), + 'soluta' => new SimpleObject(), ]; - $request->num = 456.59; + $request->num = 7262.27; $request->obj = new SimpleObject(); - $request->obj->any = 'ea'; - $request->obj->bigint = 310067; - $request->obj->bigintStr = 'consequuntur'; + $request->obj->any = 'rem'; + $request->obj->bigint = 678060; + $request->obj->bigintStr = 'odio'; $request->obj->bool = true; $request->obj->boolOpt = true; $request->obj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->obj->decimal = 8315.2; + $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->obj->decimal = 1446.91; $request->obj->enum = Enum::Two; $request->obj->float32 = 2.2222222; $request->obj->int = 999999; $request->obj->int32 = 1; - $request->obj->int32Enum = SimpleObjectInt32Enum::SixtyNine; - $request->obj->intEnum = SimpleObjectIntEnum::Third; + $request->obj->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $request->obj->intEnum = SimpleObjectIntEnum::First; $request->obj->intOptNull = 999999; $request->obj->num = 1.1; $request->obj->numOptNull = 1.1; $request->obj->str = 'example'; $request->obj->strOpt = 'optional example'; - $request->str = 'dignissimos'; - $request->type = 'officia'; + $request->str = 'vel'; + $request->type = 'quae'; $response = $sdk->requestBodies->requestBodyPutMultipartDeep($request); @@ -3534,8 +3496,8 @@ $sdk = SDK::builder() try { $request = new RequestBodyPutMultipartFileRequestBody(); $request->file = new RequestBodyPutMultipartFileRequestBodyFile(); - $request->file->content = 'asperiores'; - $request->file->file = 'nemo'; + $request->file->content = 'quae'; + $request->file->file = 'modi'; $response = $sdk->requestBodies->requestBodyPutMultipartFile($request); @@ -3581,20 +3543,20 @@ $sdk = SDK::builder() try { $request = new SimpleObject(); - $request->any = 'quae'; - $request->bigint = 312753; - $request->bigintStr = 'porro'; + $request->any = 'neque'; + $request->bigint = 348357; + $request->bigintStr = 'itaque'; $request->bool = true; $request->boolOpt = true; $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimal = 8018.36; + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 882.48; $request->enum = Enum::Two; $request->float32 = 2.2222222; $request->int = 999999; $request->int32 = 1; $request->int32Enum = SimpleObjectInt32Enum::FiftyFive; - $request->intEnum = SimpleObjectIntEnum::First; + $request->intEnum = SimpleObjectIntEnum::Second; $request->intOptNull = 999999; $request->num = 1.1; $request->numOptNull = 1.1; @@ -3640,7 +3602,7 @@ $sdk = SDK::builder() ->build(); try { -'adipisci' +'nulla' $response = $sdk->requestBodies->requestBodyPutString($request); @@ -3684,7 +3646,7 @@ $sdk = SDK::builder() try { - $response = $sdk->requestBodies->requestBodyPutStringWithParams('fuga', 'id'); + $response = $sdk->requestBodies->requestBodyPutStringWithParams('distinctio', 'maxime'); if ($response->res !== null) { // handle response @@ -3726,9 +3688,9 @@ $sdk = SDK::builder() try { $request = new ReadWriteObjectInput(); - $request->num1 = 380729; - $request->num2 = 246063; - $request->num3 = 633931; + $request->num1 = 157222; + $request->num2 = 159146; + $request->num3 = 342137; $response = $sdk->requestBodies->requestBodyReadAndWrite($request); @@ -3856,9 +3818,9 @@ $sdk = SDK::builder() try { $request = new ReadWriteObjectInput(); - $request->num1 = 517309; - $request->num2 = 853940; - $request->num3 = 424089; + $request->num1 = 115661; + $request->num2 = 663318; + $request->num3 = 727888; $response = $sdk->requestBodies->requestBodyReadWriteOnlyUnion($request); @@ -3903,8 +3865,8 @@ $sdk = SDK::builder() try { $request = new WriteOnlyObject(); $request->bool = false; - $request->num = 4976.78; - $request->string = 'quos'; + $request->num = 8544.6; + $request->string = 'officia'; $response = $sdk->requestBodies->requestBodyWriteOnly($request); @@ -3949,8 +3911,8 @@ $sdk = SDK::builder() try { $request = new WriteOnlyObject(); $request->bool = false; - $request->num = 4278.34; - $request->string = 'labore'; + $request->num = 5546.03; + $request->string = 'placeat'; $response = $sdk->requestBodies->requestBodyWriteOnlyOutput($request); @@ -3992,10 +3954,26 @@ $sdk = SDK::builder() ->build(); try { - $request = new WriteOnlyObject(); - $request->bool = false; - $request->num = 7065.75; - $request->string = 'cum'; + $request = new SimpleObject(); + $request->any = 'iusto'; + $request->bigint = 57320; + $request->bigintStr = 'voluptates'; + $request->bool = true; + $request->boolOpt = true; + $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 800.61; + $request->enum = Enum::Two; + $request->float32 = 2.2222222; + $request->int = 999999; + $request->int32 = 1; + $request->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $request->intEnum = SimpleObjectIntEnum::Second; + $request->intOptNull = 999999; + $request->num = 1.1; + $request->numOptNull = 1.1; + $request->str = 'example'; + $request->strOpt = 'optional example'; $response = $sdk->requestBodies->requestBodyWriteOnlyUnion($request); diff --git a/php-client-sdk/docs/sdks/resource/README.md b/php-client-sdk/docs/sdks/resource/README.md index 9c4665094..4f73646ec 100755 --- a/php-client-sdk/docs/sdks/resource/README.md +++ b/php-client-sdk/docs/sdks/resource/README.md @@ -30,8 +30,8 @@ $sdk = SDK::builder() try { $request = new CreateFileRequestBody(); $request->file = new CreateFileRequestBodyFile(); - $request->file->content = 'commodi'; - $request->file->file = 'in'; + $request->file->content = 'dolore'; + $request->file->file = 'eligendi'; $response = $sdk->resource->createFile($request); @@ -78,32 +78,32 @@ $sdk = SDK::builder() try { $request = new ExampleResource(); $request->arrayOfNumber = [ - 3605.45, + 7150.53, ]; $request->arrayOfString = [ - 'reiciendis', + 'voluptatem', ]; $request->chocolates = [ new ExampleResourceChocolates(), ]; - $request->createdAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2021-11-29T08:07:19.623Z'); - $request->enumNumber = ExampleResourceEnumNumber::Three; - $request->enumStr = ExampleResourceEnumStr::Two; - $request->id = '0b375ed4-f6fb-4ee4-9f33-317fe35b60eb'; + $request->createdAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-07-18T07:24:59.490Z'); + $request->enumNumber = ExampleResourceEnumNumber::One; + $request->enumStr = ExampleResourceEnumStr::Three; + $request->id = '1ad879ee-b966-45b8-9efb-d02bae0be2d7'; $request->mapOfInteger = [ - 'vitae' => 881721, + 'praesentium' => 140316, ]; $request->mapOfString = [ - 'similique' => 'tempora', + 'explicabo' => 'corporis', ]; - $request->name = 'Yolanda Hirthe'; - $request->updatedAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2021-08-22T12:22:32.426Z'); + $request->name = 'Darin Fisher'; + $request->updatedAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-04-22T18:47:14.845Z'); $request->vehicle = new ExampleBoat(); - $request->vehicle->createdAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-06-26T19:42:01.136Z'); - $request->vehicle->length = 5039.34; - $request->vehicle->name = 'Valerie Haag'; + $request->vehicle->createdAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-05-26T22:08:06.673Z'); + $request->vehicle->length = 4769.46; + $request->vehicle->name = 'Kent Corkery'; $request->vehicle->type = ExampleBoatType::Boat; - $request->vehicle->updatedAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-10-06T05:22:53.091Z'); + $request->vehicle->updatedAt = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2022-02-16T03:38:31.705Z'); $response = $sdk->resource->createResource($request); @@ -147,7 +147,7 @@ $sdk = SDK::builder() try { - $response = $sdk->resource->deleteResource('cum'); + $response = $sdk->resource->deleteResource('officia'); if ($response->statusCode === 200) { // handle response @@ -189,7 +189,7 @@ $sdk = SDK::builder() try { - $response = $sdk->resource->getResource('blanditiis'); + $response = $sdk->resource->getResource('dignissimos'); if ($response->exampleResource !== null) { // handle response @@ -231,7 +231,7 @@ $sdk = SDK::builder() try { - $response = $sdk->resource->updateResource('quas'); + $response = $sdk->resource->updateResource('optio'); if ($response->statusCode === 200) { // handle response diff --git a/php-client-sdk/docs/sdks/responsebodies/README.md b/php-client-sdk/docs/sdks/responsebodies/README.md index 74aa8f6cb..b297e0e3f 100755 --- a/php-client-sdk/docs/sdks/responsebodies/README.md +++ b/php-client-sdk/docs/sdks/responsebodies/README.md @@ -36,7 +36,7 @@ $sdk = SDK::builder() try { $request = [ - 'hic' => 'nesciunt', + 'necessitatibus' => 'corporis', ] $response = $sdk->responseBodies->responseBodyAdditionalPropertiesComplexNumbersPost($request); @@ -79,7 +79,7 @@ $sdk = SDK::builder() try { $request = [ - 'culpa' => DateTime::createFromFormat('Y-m-d', '2021-04-07'), + 'qui' => DateTime::createFromFormat('Y-m-d', '2021-12-08'), ] $response = $sdk->responseBodies->responseBodyAdditionalPropertiesDatePost($request); @@ -122,7 +122,7 @@ $sdk = SDK::builder() try { $request = [ - 'totam' => 'hic', + 'cupiditate' => 'minima', ] $response = $sdk->responseBodies->responseBodyAdditionalPropertiesPost($request); @@ -200,7 +200,7 @@ $sdk = SDK::builder() try { - $response = $sdk->responseBodies->responseBodyEmptyWithHeaders(3487.83, 'nobis'); + $response = $sdk->responseBodies->responseBodyEmptyWithHeaders(8095.94, 'enim'); if ($response->statusCode === 200) { // handle response @@ -386,11 +386,11 @@ $sdk = SDK::builder() try { $request = new ObjWithZeroValueComplexTypePtrs(); - $request->bigint = 24619; - $request->bigintStr = 'rerum'; + $request->bigint = 204072; + $request->bigintStr = 'in'; $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->decimal = 1488.29; + $request->decimal = 7963.97; $response = $sdk->responseBodies->responseBodyZeroValueComplexTypePtrsPost($request); diff --git a/php-client-sdk/docs/sdks/retries/README.md b/php-client-sdk/docs/sdks/retries/README.md index 385c4830d..d37f78af5 100755 --- a/php-client-sdk/docs/sdks/retries/README.md +++ b/php-client-sdk/docs/sdks/retries/README.md @@ -29,7 +29,7 @@ $sdk = SDK::builder() try { - $response = $sdk->retries->retriesGet('reiciendis', 131852); + $response = $sdk->retries->retriesGet('eum', 266408); if ($response->retries !== null) { // handle response diff --git a/php-client-sdk/docs/sdks/sdk/README.md b/php-client-sdk/docs/sdks/sdk/README.md index 0f56c149c..f72d3baa8 100755 --- a/php-client-sdk/docs/sdks/sdk/README.md +++ b/php-client-sdk/docs/sdks/sdk/README.md @@ -30,7 +30,7 @@ $sdk = SDK::builder() ->build(); try { -'id' +'tenetur' $response = $sdk->sdk->putAnythingIgnoredGeneration($request); diff --git a/php-client-sdk/docs/sdks/telemetry/README.md b/php-client-sdk/docs/sdks/telemetry/README.md index 2ab2c6a02..6d01be924 100755 --- a/php-client-sdk/docs/sdks/telemetry/README.md +++ b/php-client-sdk/docs/sdks/telemetry/README.md @@ -30,7 +30,7 @@ $sdk = SDK::builder() try { - $response = $sdk->telemetry->telemetrySpeakeasyUserAgentGet('asperiores'); + $response = $sdk->telemetry->telemetrySpeakeasyUserAgentGet('corporis'); if ($response->res !== null) { // handle response diff --git a/php-client-sdk/docs/sdks/unions/README.md b/php-client-sdk/docs/sdks/unions/README.md index 05fd5fbc7..8b8f901dd 100755 --- a/php-client-sdk/docs/sdks/unions/README.md +++ b/php-client-sdk/docs/sdks/unions/README.md @@ -40,7 +40,7 @@ $sdk = SDK::builder() try { $request = new TypedObject1(); $request->type = TypedObject1Type::Obj1; - $request->value = 'facilis'; + $request->value = 'magnam'; $response = $sdk->unions->flattenedTypedObjectPost($request); @@ -81,7 +81,26 @@ $sdk = SDK::builder() ->build(); try { -709072 + $request = new SimpleObject(); + $request->any = 'maiores'; + $request->bigint = 731744; + $request->bigintStr = 'aperiam'; + $request->bool = true; + $request->boolOpt = true; + $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 7275.47; + $request->enum = Enum::Two; + $request->float32 = 2.2222222; + $request->int = 999999; + $request->int32 = 1; + $request->int32Enum = SimpleObjectInt32Enum::FiftyFive; + $request->intEnum = SimpleObjectIntEnum::First; + $request->intOptNull = 999999; + $request->num = 1.1; + $request->numOptNull = 1.1; + $request->str = 'example'; + $request->strOpt = 'optional example'; $response = $sdk->unions->mixedTypeOneOfPost($request); @@ -128,13 +147,13 @@ try { $request = new NullableOneOfRefInObject(); $request->nullableOneOfOne = new TypedObject1(); $request->nullableOneOfOne->type = TypedObject1Type::Obj1; - $request->nullableOneOfOne->value = 'ab'; + $request->nullableOneOfOne->value = 'totam'; $request->nullableOneOfTwo = new TypedObject2(); $request->nullableOneOfTwo->type = TypedObject2Type::Obj2; - $request->nullableOneOfTwo->value = 'dolore'; + $request->nullableOneOfTwo->value = 'voluptas'; $request->oneOfOne = new TypedObject1(); $request->oneOfOne->type = TypedObject1Type::Obj1; - $request->oneOfOne->value = 'laborum'; + $request->oneOfOne->value = 'quo'; $response = $sdk->unions->nullableOneOfRefInObjectPost($request); @@ -177,7 +196,7 @@ $sdk = SDK::builder() try { $request = new TypedObject1(); $request->type = TypedObject1Type::Obj1; - $request->value = 'in'; + $request->value = 'minus'; $response = $sdk->unions->nullableOneOfSchemaPost($request); @@ -221,7 +240,7 @@ $sdk = SDK::builder() try { $request = new NullableOneOfTypeInObject(); $request->nullableOneOfOne = false; - $request->nullableOneOfTwo = false; + $request->nullableOneOfTwo = 344530; $request->oneOfOne = false; $response = $sdk->unions->nullableOneOfTypeInObjectPost($request); @@ -267,7 +286,7 @@ $sdk = SDK::builder() try { $request = new TypedObject1(); $request->type = TypedObject1Type::Obj1; - $request->value = 'quidem'; + $request->value = 'est'; $response = $sdk->unions->nullableTypedObjectPost($request); @@ -308,7 +327,7 @@ $sdk = SDK::builder() ->build(); try { -'voluptas' +false $response = $sdk->unions->primitiveTypeOneOfPost($request); @@ -350,44 +369,25 @@ $sdk = SDK::builder() try { $request = new DeepObjectWithType(); - $request->any = new SimpleObject(); - $request->any->any = 'suscipit'; - $request->any->bigint = 960257; - $request->any->bigintStr = 'debitis'; - $request->any->bool = true; - $request->any->boolOpt = true; - $request->any->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->any->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->any->decimal = 724.34; - $request->any->enum = Enum::Two; - $request->any->float32 = 2.2222222; - $request->any->int = 999999; - $request->any->int32 = 1; - $request->any->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; - $request->any->intEnum = SimpleObjectIntEnum::First; - $request->any->intOptNull = 999999; - $request->any->num = 1.1; - $request->any->numOptNull = 1.1; - $request->any->str = 'example'; - $request->any->strOpt = 'optional example'; + $request->any = 'vero'; $request->arr = [ new SimpleObject(), ]; $request->bool = false; - $request->int = 546885; + $request->int = 141506; $request->map = [ - 'maiores' => new SimpleObject(), + 'repellat' => new SimpleObject(), ]; - $request->num = 2748.23; + $request->num = 8659.46; $request->obj = new SimpleObject(); - $request->obj->any = 'sed'; - $request->obj->bigint = 592231; - $request->obj->bigintStr = 'eius'; + $request->obj->any = 'nemo'; + $request->obj->bigint = 441321; + $request->obj->bigintStr = 'aperiam'; $request->obj->bool = true; $request->obj->boolOpt = true; $request->obj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->obj->decimal = 8967.62; + $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->obj->decimal = 4864.1; $request->obj->enum = Enum::Two; $request->obj->float32 = 2.2222222; $request->obj->int = 999999; @@ -399,8 +399,8 @@ try { $request->obj->numOptNull = 1.1; $request->obj->str = 'example'; $request->obj->strOpt = 'optional example'; - $request->str = 'occaecati'; - $request->type = 'quos'; + $request->str = 'ducimus'; + $request->type = 'excepturi'; $response = $sdk->unions->stronglyTypedOneOfPost($request); @@ -441,9 +441,9 @@ $sdk = SDK::builder() ->build(); try { - $request = new TypedObject2(); - $request->type = TypedObject2Type::Obj2; - $request->value = 'tempora'; + $request = new TypedObject1(); + $request->type = TypedObject1Type::Obj1; + $request->value = 'error'; $response = $sdk->unions->typedObjectNullableOneOfPost($request); @@ -486,7 +486,7 @@ $sdk = SDK::builder() try { $request = new TypedObject1(); $request->type = TypedObject1Type::Obj1; - $request->value = 'voluptate'; + $request->value = 'ducimus'; $response = $sdk->unions->typedObjectOneOfPost($request); @@ -527,58 +527,26 @@ $sdk = SDK::builder() ->build(); try { - $request = new DeepObject(); - $request->any = new SimpleObject(); - $request->any->any = 'sit'; - $request->any->bigint = 248413; - $request->any->bigintStr = 'officiis'; - $request->any->bool = true; - $request->any->boolOpt = true; - $request->any->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->any->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->any->decimal = 5058.66; - $request->any->enum = Enum::Two; - $request->any->float32 = 2.2222222; - $request->any->int = 999999; - $request->any->int32 = 1; - $request->any->int32Enum = SimpleObjectInt32Enum::OneHundredAndEightyOne; - $request->any->intEnum = SimpleObjectIntEnum::First; - $request->any->intOptNull = 999999; - $request->any->num = 1.1; - $request->any->numOptNull = 1.1; - $request->any->str = 'example'; - $request->any->strOpt = 'optional example'; - $request->arr = [ - new SimpleObject(), - ]; - $request->bool = false; - $request->int = 277773; - $request->map = [ - 'ipsam' => new SimpleObject(), - ]; - $request->num = 8948.64; - $request->obj = new SimpleObject(); - $request->obj->any = 'rem'; - $request->obj->bigint = 26522; - $request->obj->bigintStr = 'nobis'; - $request->obj->bool = true; - $request->obj->boolOpt = true; - $request->obj->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); - $request->obj->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00Z'); - $request->obj->decimal = 6256.37; - $request->obj->enum = Enum::Two; - $request->obj->float32 = 2.2222222; - $request->obj->int = 999999; - $request->obj->int32 = 1; - $request->obj->int32Enum = SimpleObjectInt32Enum::SixtyNine; - $request->obj->intEnum = SimpleObjectIntEnum::First; - $request->obj->intOptNull = 999999; - $request->obj->num = 1.1; - $request->obj->numOptNull = 1.1; - $request->obj->str = 'example'; - $request->obj->strOpt = 'optional example'; - $request->str = 'recusandae'; - $request->type = 'reiciendis'; + $request = new SimpleObject(); + $request->any = 'pariatur'; + $request->bigint = 932666; + $request->bigintStr = 'similique'; + $request->bool = true; + $request->boolOpt = true; + $request->date = DateTime::createFromFormat('Y-m-d', '2020-01-01'); + $request->dateTime = DateTime::createFromFormat('Y-m-d\TH:i:sP', '2020-01-01T00:00:00.000Z'); + $request->decimal = 7631.65; + $request->enum = Enum::Two; + $request->float32 = 2.2222222; + $request->int = 999999; + $request->int32 = 1; + $request->int32Enum = SimpleObjectInt32Enum::SixtyNine; + $request->intEnum = SimpleObjectIntEnum::First; + $request->intOptNull = 999999; + $request->num = 1.1; + $request->numOptNull = 1.1; + $request->str = 'example'; + $request->strOpt = 'optional example'; $response = $sdk->unions->weaklyTypedOneOfPost($request); diff --git a/php-client-sdk/files.gen b/php-client-sdk/files.gen index 5f1356e48..4373fc106 100755 --- a/php-client-sdk/files.gen +++ b/php-client-sdk/files.gen @@ -521,6 +521,8 @@ src/Models/Shared/EmptyObjectParam.php src/Models/Shared/HttpBinSimpleJsonObjectSlideshowSlides.php src/Models/Shared/HttpBinSimpleJsonObjectSlideshow.php src/Models/Shared/HttpBinSimpleJsonObject.php +src/Models/Shared/FakerStrings.php +src/Models/Shared/FakerFormattedStrings.php src/Models/Shared/LimitOffsetConfig.php src/Models/Shared/RefQueryParamObjExploded.php src/Models/Shared/RefQueryParamObj.php @@ -1048,6 +1050,8 @@ docs/models/shared/EmptyObjectParam.md docs/models/shared/HttpBinSimpleJsonObjectSlideshowSlides.md docs/models/shared/HttpBinSimpleJsonObjectSlideshow.md docs/models/shared/HttpBinSimpleJsonObject.md +docs/models/shared/FakerStrings.md +docs/models/shared/FakerFormattedStrings.md docs/models/shared/LimitOffsetConfig.md docs/models/shared/RefQueryParamObjExploded.md docs/models/shared/RefQueryParamObj.md diff --git a/php-client-sdk/gen.yaml b/php-client-sdk/gen.yaml index eb41f0d9d..16a1b367d 100755 --- a/php-client-sdk/gen.yaml +++ b/php-client-sdk/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 + docChecksum: 48364fae08d653e4f11c8205d92918af docVersion: 0.1.0 speakeasyVersion: 1.91.2 generationVersion: 2.131.1 @@ -26,7 +26,7 @@ features: nameOverrides: 2.81.1 serverIDs: 2.81.1 php: - version: 1.33.2 + version: 1.33.3 maxMethodParams: 5 namespace: OpenAPI\OpenAPI packageName: openapi/openapi diff --git a/php-client-sdk/src/Models/Operations/UsageExamplePost200ApplicationJSONJSON.php b/php-client-sdk/src/Models/Operations/UsageExamplePost200ApplicationJSONJSON.php index bf285809d..f3cefb9c0 100755 --- a/php-client-sdk/src/Models/Operations/UsageExamplePost200ApplicationJSONJSON.php +++ b/php-client-sdk/src/Models/Operations/UsageExamplePost200ApplicationJSONJSON.php @@ -12,74 +12,24 @@ class UsageExamplePost200ApplicationJSONJSON { /** - * A field called email that will have emails generated as examples + * A set of strings with format values that lead to relevant examples being generated for them * - * @var ?string $email + * @var ?\OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings $fakerFormattedStrings */ - #[\JMS\Serializer\Annotation\SerializedName('email')] - #[\JMS\Serializer\Annotation\Type('string')] + #[\JMS\Serializer\Annotation\SerializedName('fakerFormattedStrings')] + #[\JMS\Serializer\Annotation\Type('OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings')] #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $email = null; + public ?\OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings $fakerFormattedStrings = null; /** - * A field formatted as an email that will have emails generated as examples + * A set of strings with fieldnames that lead to relevant examples being generated for them * - * @var ?string $formatEmail + * @var ?\OpenAPI\OpenAPI\Models\Shared\FakerStrings $fakerStrings */ - #[\JMS\Serializer\Annotation\SerializedName('formatEmail')] - #[\JMS\Serializer\Annotation\Type('string')] + #[\JMS\Serializer\Annotation\SerializedName('fakerStrings')] + #[\JMS\Serializer\Annotation\Type('OpenAPI\OpenAPI\Models\Shared\FakerStrings')] #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $formatEmail = null; - - /** - * A field formatted as a uri that will have uris generated as examples - * - * @var ?string $formatUri - */ - #[\JMS\Serializer\Annotation\SerializedName('formatUri')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $formatUri = null; - - /** - * A field formatted as a uuid that will have uuids generated as examples - * - * @var ?string $formatUuid - */ - #[\JMS\Serializer\Annotation\SerializedName('formatUuid')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $formatUuid = null; - - /** - * A field formatted as a hostname that will have hostnames generated as examples - * - * @var ?string $hostname - */ - #[\JMS\Serializer\Annotation\SerializedName('hostname')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $hostname = null; - - /** - * A field formatted as an ipv4 that will have ipv4s generated as examples - * - * @var ?string $ipv4 - */ - #[\JMS\Serializer\Annotation\SerializedName('ipv4')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $ipv4 = null; - - /** - * A field formatted as an ipv6 that will have ipv6s generated as examples - * - * @var ?string $ipv6 - */ - #[\JMS\Serializer\Annotation\SerializedName('ipv6')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $ipv6 = null; + public ?\OpenAPI\OpenAPI\Models\Shared\FakerStrings $fakerStrings = null; /** * A simple object that uses all our supported primitive types and enums and has optional properties. @@ -91,48 +41,10 @@ class UsageExamplePost200ApplicationJSONJSON #[\JMS\Serializer\Annotation\SkipWhenEmpty] public ?\OpenAPI\OpenAPI\Models\Shared\SimpleObject $simpleObject = null; - /** - * A field formatted as an unknown that will have random strings generated as examples - * - * @var ?string $unknown - */ - #[\JMS\Serializer\Annotation\SerializedName('unknown')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $unknown = null; - - /** - * A field called uri that will have uris generated as examples - * - * @var ?string $uri - */ - #[\JMS\Serializer\Annotation\SerializedName('uri')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $uri = null; - - /** - * A field called uuid that will have uuids generated as examples - * - * @var ?string $uuid - */ - #[\JMS\Serializer\Annotation\SerializedName('uuid')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $uuid = null; - public function __construct() { - $this->email = null; - $this->formatEmail = null; - $this->formatUri = null; - $this->formatUuid = null; - $this->hostname = null; - $this->ipv4 = null; - $this->ipv6 = null; + $this->fakerFormattedStrings = null; + $this->fakerStrings = null; $this->simpleObject = null; - $this->unknown = null; - $this->uri = null; - $this->uuid = null; } } diff --git a/php-client-sdk/src/Models/Operations/UsageExamplePostRequestBody.php b/php-client-sdk/src/Models/Operations/UsageExamplePostRequestBody.php index f85cdb063..59e2f0206 100755 --- a/php-client-sdk/src/Models/Operations/UsageExamplePostRequestBody.php +++ b/php-client-sdk/src/Models/Operations/UsageExamplePostRequestBody.php @@ -18,74 +18,24 @@ class UsageExamplePostRequestBody { /** - * A field called email that will have emails generated as examples + * A set of strings with format values that lead to relevant examples being generated for them * - * @var ?string $email + * @var ?\OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings $fakerFormattedStrings */ - #[\JMS\Serializer\Annotation\SerializedName('email')] - #[\JMS\Serializer\Annotation\Type('string')] + #[\JMS\Serializer\Annotation\SerializedName('fakerFormattedStrings')] + #[\JMS\Serializer\Annotation\Type('OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings')] #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $email = null; + public ?\OpenAPI\OpenAPI\Models\Shared\FakerFormattedStrings $fakerFormattedStrings = null; /** - * A field formatted as an email that will have emails generated as examples + * A set of strings with fieldnames that lead to relevant examples being generated for them * - * @var ?string $formatEmail + * @var ?\OpenAPI\OpenAPI\Models\Shared\FakerStrings $fakerStrings */ - #[\JMS\Serializer\Annotation\SerializedName('formatEmail')] - #[\JMS\Serializer\Annotation\Type('string')] + #[\JMS\Serializer\Annotation\SerializedName('fakerStrings')] + #[\JMS\Serializer\Annotation\Type('OpenAPI\OpenAPI\Models\Shared\FakerStrings')] #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $formatEmail = null; - - /** - * A field formatted as a uri that will have uris generated as examples - * - * @var ?string $formatUri - */ - #[\JMS\Serializer\Annotation\SerializedName('formatUri')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $formatUri = null; - - /** - * A field formatted as a uuid that will have uuids generated as examples - * - * @var ?string $formatUuid - */ - #[\JMS\Serializer\Annotation\SerializedName('formatUuid')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $formatUuid = null; - - /** - * A field formatted as a hostname that will have hostnames generated as examples - * - * @var ?string $hostname - */ - #[\JMS\Serializer\Annotation\SerializedName('hostname')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $hostname = null; - - /** - * A field formatted as an ipv4 that will have ipv4s generated as examples - * - * @var ?string $ipv4 - */ - #[\JMS\Serializer\Annotation\SerializedName('ipv4')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $ipv4 = null; - - /** - * A field formatted as an ipv6 that will have ipv6s generated as examples - * - * @var ?string $ipv6 - */ - #[\JMS\Serializer\Annotation\SerializedName('ipv6')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $ipv6 = null; + public ?\OpenAPI\OpenAPI\Models\Shared\FakerStrings $fakerStrings = null; /** * A simple object that uses all our supported primitive types and enums and has optional properties. @@ -97,48 +47,10 @@ class UsageExamplePostRequestBody #[\JMS\Serializer\Annotation\SkipWhenEmpty] public ?\OpenAPI\OpenAPI\Models\Shared\SimpleObject $simpleObject = null; - /** - * A field formatted as an unknown that will have random strings generated as examples - * - * @var ?string $unknown - */ - #[\JMS\Serializer\Annotation\SerializedName('unknown')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $unknown = null; - - /** - * A field called uri that will have uris generated as examples - * - * @var ?string $uri - */ - #[\JMS\Serializer\Annotation\SerializedName('uri')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $uri = null; - - /** - * A field called uuid that will have uuids generated as examples - * - * @var ?string $uuid - */ - #[\JMS\Serializer\Annotation\SerializedName('uuid')] - #[\JMS\Serializer\Annotation\Type('string')] - #[\JMS\Serializer\Annotation\SkipWhenEmpty] - public ?string $uuid = null; - public function __construct() { - $this->email = null; - $this->formatEmail = null; - $this->formatUri = null; - $this->formatUuid = null; - $this->hostname = null; - $this->ipv4 = null; - $this->ipv6 = null; + $this->fakerFormattedStrings = null; + $this->fakerStrings = null; $this->simpleObject = null; - $this->unknown = null; - $this->uri = null; - $this->uuid = null; } } diff --git a/php-client-sdk/src/Models/Shared/FakerFormattedStrings.php b/php-client-sdk/src/Models/Shared/FakerFormattedStrings.php new file mode 100755 index 000000000..0280a3b26 --- /dev/null +++ b/php-client-sdk/src/Models/Shared/FakerFormattedStrings.php @@ -0,0 +1,221 @@ +addressFormat = null; + $this->directoryFormat = null; + $this->domainFormat = null; + $this->emailFormat = null; + $this->filenameFormat = null; + $this->filepathFormat = null; + $this->imageFormat = null; + $this->ipv4Format = null; + $this->ipv6Format = null; + $this->jsonFormat = null; + $this->macFormat = null; + $this->passwordFormat = null; + $this->phoneFormat = null; + $this->timezoneFormat = null; + $this->unknownFormat = null; + $this->urlFormat = null; + $this->uuidFormat = null; + $this->zipcodeFormat = null; + } +} diff --git a/php-client-sdk/src/Models/Shared/FakerStrings.php b/php-client-sdk/src/Models/Shared/FakerStrings.php new file mode 100755 index 000000000..3977c22f4 --- /dev/null +++ b/php-client-sdk/src/Models/Shared/FakerStrings.php @@ -0,0 +1,341 @@ +city = null; + $this->iban = null; + $this->id = null; + $this->iPv4 = null; + $this->iPv6 = null; + $this->account = null; + $this->address = null; + $this->amount = null; + $this->avatar = null; + $this->color = null; + $this->comment = null; + $this->company = null; + $this->country = null; + $this->countryCode = null; + $this->currency = null; + $this->datatype = null; + $this->default = null; + $this->description = null; + $this->directory = null; + $this->domainName = null; + $this->emailAddr = null; + $this->extension = null; + $this->filename = null; + $this->filepath = null; + $this->filetype = null; + $this->firstName = null; + $this->fullName = null; + $this->gender = null; + $this->job = null; + $this->json = null; + $this->key = null; + $this->lastName = null; + $this->latitude = null; + $this->locale = null; + $this->longitude = null; + $this->mac = null; + $this->manufacturer = null; + $this->material = null; + $this->middleName = null; + $this->model = null; + $this->password = null; + $this->phone = null; + $this->pin = null; + $this->postalCode = null; + $this->price = null; + $this->product = null; + $this->sex = null; + $this->street = null; + $this->timezone = null; + $this->unit = null; + $this->url = null; + $this->username = null; + $this->uuid = null; + } +} diff --git a/php-client-sdk/src/SDKConfiguration.php b/php-client-sdk/src/SDKConfiguration.php index 72f57009b..372d95ed8 100755 --- a/php-client-sdk/src/SDKConfiguration.php +++ b/php-client-sdk/src/SDKConfiguration.php @@ -36,7 +36,7 @@ class SDKConfiguration ]; public string $language = 'php'; public string $openapiDocVersion = '0.1.0'; - public string $sdkVersion = '1.33.2'; + public string $sdkVersion = '1.33.3'; public string $genVersion = '2.131.1'; /** @var array>> */ public ?array $globals = [ diff --git a/php-client-sdk/tests/TelemetryTest.php b/php-client-sdk/tests/TelemetryTest.php index 1f5f00e11..0d5579ba9 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.2 2.131.1 0.1.0', + 'speakeasy-sdk/php 1.33.3 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.2 2.131.1 0.1.0', + 'speakeasy-sdk/php 1.33.3 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 ffc34370c..19b0b26e2 100755 --- a/python-client-sdk/README.md +++ b/python-client-sdk/README.md @@ -45,27 +45,95 @@ s = sdk.SDK( req = operations.UsageExamplePostRequest( request_body=operations.UsageExamplePostRequestBody( - email='Vada_Hills@gmail.com', - format_email='Avery_Mueller9@gmail.com', - format_uri='https://witty-swim.info', - format_uuid='8f097b00-74f1-4547-9b5e-6e13b99d488e', - hostname='bronze-trafficker.name', - ipv4='21.237.71.81', - ipv6='0ad2:abd4:4269:802d:502a:94bb:4f63:c969', + faker_formatted_strings=shared.FakerFormattedStrings( + address_format='95744 Farrell Port', + directory_format='numquam', + domain_format='veritatis', + email_format='Anabelle.Kerluke@gmail.com', + filename_format='accusamus', + filepath_format='quidem', + image_format='voluptatibus', + ipv4_format='96.158.45.138', + ipv6_format='0d1b:a77a:89eb:f737:ae42:03ce:5e6a:95d8', + json_format='{"foo":"!r>:Hks2`y","bar":68748,"bike":21550,"a":"y6dr8>4zQL","b":71158,"name":15369,"prop":73044}', + mac_format='voluptas', + password_format='deserunt', + phone_format='321.688.7165 x211', + timezone_format='distinctio', + unknown_format='facilis', + url_format='aliquid', + uuid_format='79d23227-15bf-40cb-b1e3-1b8b90f3443a', + zipcode_format='00590', + ), + faker_strings=shared.FakerStrings( + city='Skilesfield', + iban='doloribus', + id='4b921879-fce9-453f-b3ef-7fbc7abd74dd', + i_pv4='49.158.197.3', + i_pv6='f5d2:cff7:c70a:4562:6d43:6813:f16d:9f5f', + account='quisquam', + address='473 Greg Circle', + amount='magnam', + avatar='ea', + color='quo', + comment='consectetur', + company='Cole, Hane and Becker', + country='Uruguay', + country_code='PN', + currency='aut', + datatype='aut', + default='deleniti', + description='impedit', + directory='aliquam', + domain_name='fugit', + email_addr='accusamus', + extension='inventore', + filename='non', + filepath='et', + filetype='dolorum', + first_name='Margarett', + full_name='placeat', + gender='female', + job='eum', + json='{"foo":75213,"bar":"nqDd):8-X&","bike":30159,"a":26211,"b":45614,"name":"`Jap;IDm1P","prop":")&^a4ioi`9"}', + key='eos', + last_name='Hintz', + latitude='ab', + locale='cupiditate', + longitude='consequatur', + mac='tempora', + manufacturer='debitis', + material='ipsam', + middle_name='aspernatur', + model='sequi', + password='quo', + phone='907.840.4583 x454', + pin='sapiente', + postal_code='64074', + price='quas', + product='praesentium', + sex='female', + street='1662 Champlin Glen', + timezone='nisi', + unit='fugit', + url='sapiente', + username='Carol90', + uuid='9817ee17-cbe6-41e6-b7b9-5bc0ab3c20c4', + ), simple_object=shared.SimpleObject( - any='necessitatibus', - bigint=572252, - bigint_str=638921, + any='sapiente', + bigint=232865, + bigint_str=458139, 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('2230.81'), + date_time=dateutil.parser.isoparse('2020-01-01T00:00:00.000Z'), + decimal=Decimal('5034.27'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=shared.SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, + int32_enum=shared.SimpleObjectInt32Enum.SIXTY_NINE, int_enum=shared.SimpleObjectIntEnum.THIRD, int_opt_null=999999, num=1.1, @@ -73,30 +141,27 @@ req = operations.UsageExamplePostRequest( str_='example', str_opt='optional example', ), - unknown='dolorum', - uri='http://irritating-standardisation.org', - uuid='b14cd66a-e395-4efb-9ba8-8f3a66997074', ), - bigint_parameter=111111, - bigint_parameter_optional=111111, - bigint_str_parameter=111111, - bigint_str_parameter_optional=111111, + bigint_parameter=857723, + bigint_parameter_optional=557811, + bigint_str_parameter=457223, + bigint_str_parameter_optional=97468, bool_parameter=False, - date_parameter=dateutil.parser.parse('2020-01-01').date(), - date_time_parameter=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal_parameter=Decimal('1.1'), - decimal_parameter_optional=Decimal('1.1'), - decimal_str_parameter=Decimal('1.1'), - decimal_str_parameter_optional=Decimal('1.1'), - double_parameter=2.2222222, - enum_parameter=operations.UsageExamplePostEnumParameter.VALUE3, + date_parameter=dateutil.parser.parse('2021-02-19').date(), + date_time_parameter=dateutil.parser.isoparse('2021-04-10T23:50:37.359Z'), + decimal_parameter=Decimal('8207.67'), + decimal_parameter_optional=Decimal('1576.32'), + decimal_str_parameter=Decimal('9088.44'), + decimal_str_parameter_optional=Decimal('9924.3'), + double_parameter=8155.24, + enum_parameter=operations.UsageExamplePostEnumParameter.VALUE1, falsey_number_parameter=0, - float32_parameter=1.1, - float_parameter=1.1, - int64_parameter=111111, - int_parameter=1, + float32_parameter=1594.14, + float_parameter=944.58, + int64_parameter=628899, + int_parameter=633608, opt_enum_parameter=operations.UsageExamplePostOptEnumParameter.VALUE3, - str_parameter='example 3', + str_parameter='example 2', ) res = s.generation.usage_example_post(req, operations.UsageExamplePostSecurity( @@ -410,7 +475,7 @@ s = sdk.SDK( ) req = operations.PaginationCursorBodyRequestBody( - cursor=790840, + cursor=68852, ) res = s.pagination_cursor_body(req) diff --git a/python-client-sdk/USAGE.md b/python-client-sdk/USAGE.md index 817cafd49..445b4f049 100755 --- a/python-client-sdk/USAGE.md +++ b/python-client-sdk/USAGE.md @@ -36,22 +36,90 @@ s = sdk.SDK( req = operations.UsageExamplePostRequest( request_body=operations.UsageExamplePostRequestBody( - email='Larue_Rau85@yahoo.com', - format_email='Roselyn_Kassulke@yahoo.com', - format_uri='http://innocent-effect.org', - format_uuid='0f467cc8-796e-4d15-9a05-dfc2ddf7cc78', - hostname='soulful-poppy.com', - ipv4='184.163.148.36', - ipv6='8fc8:1674:2cb7:3920:5929:396f:ea75:96eb', + faker_formatted_strings=shared.FakerFormattedStrings( + address_format='5786 Little Streets', + directory_format='vel', + domain_format='error', + email_format='Gerda89@yahoo.com', + filename_format='ipsa', + filepath_format='delectus', + image_format='tempora', + ipv4_format='98.122.202.207', + ipv6_format='8796:ed15:1a05:dfc2:ddf7:cc78:ca1b:a928', + json_format='{"foo":"gQ*GM92ieK","bar":56843,"bike":1878,"a":61763,"b":61209,"name":61693,"prop":94374}', + mac_format='saepe', + password_format='fuga', + phone_format='464.960.0966 x612', + timezone_format='corporis', + unknown_format='explicabo', + url_format='nobis', + uuid_format='5955907a-ff1a-43a2-ba94-67739251aa52', + zipcode_format='19368-0068', + ), + faker_strings=shared.FakerStrings( + city='Boyerworth', + iban='voluptatibus', + id='e78f097b-0074-4f15-871b-5e6e13b99d48', + i_pv4='133.234.24.235', + i_pv6='91e4:50ad:2abd:4426:9802:d502:a94b:b4f6', + account='non', + address='535 Marquardt Pine', + amount='dolor', + avatar='debitis', + color='a', + comment='dolorum', + company='Kirlin - Stamm', + country='Virgin Islands, U.S.', + country_code='PF', + currency='dicta', + datatype='magnam', + default='cumque', + description='facere', + directory='ea', + domain_name='aliquid', + email_addr='laborum', + extension='accusamus', + filename='non', + filepath='occaecati', + filetype='enim', + first_name='Shannon', + full_name='delectus', + gender='male', + job='provident', + json='{"foo":"^ORy6\\EHZY","bar":1919,"bike":30157,"a":"^;;DZfHr-*","b":9237,"name":"AWTV$]{]>I","prop":89654}', + key='odit', + last_name='Hilll', + latitude='quasi', + locale='iure', + longitude='doloribus', + mac='debitis', + manufacturer='eius', + material='maxime', + middle_name='deleniti', + model='facilis', + password='in', + phone='(293) 749-8198', + pin='accusantium', + postal_code='56117', + price='illum', + product='pariatur', + sex='male', + street='5140 Willow Radial', + timezone='ipsam', + unit='voluptate', + url='autem', + username='Mireya.Beatty97', + uuid='0d30c5fb-b258-4705-b202-c73d5fe9b90c', + ), simple_object=shared.SimpleObject( - any='architecto', - bigint=60225, - bigint_str=969810, + any='consequuntur', + bigint=500026, + bigint_str=621479, 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('6667.67'), + date_time=dateutil.parser.isoparse('2020-01-01T00:00:00.000Z'), + decimal=Decimal('503.7'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -64,30 +132,27 @@ req = operations.UsageExamplePostRequest( str_='example', str_opt='optional example', ), - unknown='dolores', - uri='http://growing-cappelletti.net', - uuid='5955907a-ff1a-43a2-ba94-67739251aa52', ), - bigint_parameter=111111, - bigint_parameter_optional=111111, - bigint_str_parameter=111111, - bigint_str_parameter_optional=111111, + bigint_parameter=237893, + bigint_parameter_optional=992397, + bigint_str_parameter=934214, + bigint_str_parameter_optional=267262, bool_parameter=False, - date_parameter=dateutil.parser.parse('2020-01-01').date(), - date_time_parameter=dateutil.parser.isoparse('2020-01-01T00:00:00Z'), - decimal_parameter=Decimal('1.1'), - decimal_parameter_optional=Decimal('1.1'), - decimal_str_parameter=Decimal('1.1'), - decimal_str_parameter_optional=Decimal('1.1'), - double_parameter=2.2222222, - enum_parameter=operations.UsageExamplePostEnumParameter.VALUE3, + date_parameter=dateutil.parser.parse('2021-08-23').date(), + date_time_parameter=dateutil.parser.isoparse('2021-04-10T01:47:20.724Z'), + decimal_parameter=Decimal('5899.1'), + decimal_parameter_optional=Decimal('7508.44'), + decimal_str_parameter=Decimal('7301.22'), + decimal_str_parameter_optional=Decimal('9644.9'), + double_parameter=3119.45, + enum_parameter=operations.UsageExamplePostEnumParameter.VALUE2, falsey_number_parameter=0, - float32_parameter=1.1, - float_parameter=1.1, - int64_parameter=111111, - int_parameter=1, + float32_parameter=3982.21, + float_parameter=2123.9, + int64_parameter=209843, + int_parameter=222443, opt_enum_parameter=operations.UsageExamplePostOptEnumParameter.VALUE3, - str_parameter='example 3', + str_parameter='example 1', ) res = s.generation.usage_example_post(req, operations.UsageExamplePostSecurity( diff --git a/python-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md b/python-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md index a19d424c5..f38fe9660 100755 --- a/python-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md +++ b/python-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md @@ -5,14 +5,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *Optional[str]* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `format_email` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `format_uri` | *Optional[str]* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `format_uuid` | *Optional[str]* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *Optional[str]* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simple_object` | [Optional[shared.SimpleObject]](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *Optional[str]* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *Optional[str]* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `faker_formatted_strings` | [Optional[shared.FakerFormattedStrings]](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `faker_strings` | [Optional[shared.FakerStrings]](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simple_object` | [Optional[shared.SimpleObject]](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/usageexamplepostrequest.md b/python-client-sdk/docs/models/operations/usageexamplepostrequest.md index a3e68206f..0ea312220 100755 --- a/python-client-sdk/docs/models/operations/usageexamplepostrequest.md +++ b/python-client-sdk/docs/models/operations/usageexamplepostrequest.md @@ -6,23 +6,23 @@ | Field | Type | Required | Description | Example | | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | | `request_body` | [Optional[UsageExamplePostRequestBody]](../../models/operations/usageexamplepostrequestbody.md) | :heavy_minus_sign: | A request body that contains fields with different formats for testing example generation | | -| `bigint_parameter` | *int* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigint_parameter_optional` | *Optional[int]* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `bigint_str_parameter` | *int* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigint_str_parameter_optional` | *Optional[int]* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `bool_parameter` | *bool* | :heavy_check_mark: | A boolean parameter | false | -| `date_parameter` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | A date parameter | 2020-01-01 | -| `date_time_parameter` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | A date time parameter | 2020-01-01T00:00:00Z | -| `decimal_parameter` | *Decimal* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimal_parameter_optional` | *Optional[Decimal]* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `decimal_str_parameter` | *Decimal* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimal_str_parameter_optional` | *Optional[Decimal]* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `double_parameter` | *float* | :heavy_check_mark: | A double parameter | 2.2222222 | -| `enum_parameter` | [UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | value3 | +| `bigint_parameter` | *int* | :heavy_check_mark: | An bigint parameter | | +| `bigint_parameter_optional` | *Optional[int]* | :heavy_minus_sign: | An bigint parameter | | +| `bigint_str_parameter` | *int* | :heavy_check_mark: | An bigint parameter | | +| `bigint_str_parameter_optional` | *Optional[int]* | :heavy_minus_sign: | An bigint parameter | | +| `bool_parameter` | *bool* | :heavy_check_mark: | A boolean parameter | | +| `date_parameter` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | A date parameter | | +| `date_time_parameter` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | A date time parameter | | +| `decimal_parameter` | *Decimal* | :heavy_check_mark: | A decimal parameter | | +| `decimal_parameter_optional` | *Optional[Decimal]* | :heavy_minus_sign: | A decimal parameter | | +| `decimal_str_parameter` | *Decimal* | :heavy_check_mark: | A decimal parameter | | +| `decimal_str_parameter_optional` | *Optional[Decimal]* | :heavy_minus_sign: | A decimal parameter | | +| `double_parameter` | *float* | :heavy_check_mark: | A double parameter | | +| `enum_parameter` | [UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | | | `falsey_number_parameter` | *float* | :heavy_check_mark: | A number parameter that contains a falsey example value | 0 | -| `float32_parameter` | *float* | :heavy_check_mark: | A float32 parameter | 1.1 | -| `float_parameter` | *float* | :heavy_check_mark: | A float parameter | 1.1 | -| `int64_parameter` | *int* | :heavy_check_mark: | An int64 parameter | 111111 | -| `int_parameter` | *int* | :heavy_check_mark: | An integer parameter | 1 | +| `float32_parameter` | *float* | :heavy_check_mark: | A float32 parameter | | +| `float_parameter` | *float* | :heavy_check_mark: | A float parameter | | +| `int64_parameter` | *int* | :heavy_check_mark: | An int64 parameter | | +| `int_parameter` | *int* | :heavy_check_mark: | An integer parameter | | | `opt_enum_parameter` | [Optional[UsageExamplePostOptEnumParameter]](../../models/operations/usageexamplepostoptenumparameter.md) | :heavy_minus_sign: | An enum parameter | value3 | | `str_parameter` | *str* | :heavy_check_mark: | A string parameter | example 1 | \ No newline at end of file diff --git a/python-client-sdk/docs/models/operations/usageexamplepostrequestbody.md b/python-client-sdk/docs/models/operations/usageexamplepostrequestbody.md index d6a4b24bc..acc499c5f 100755 --- a/python-client-sdk/docs/models/operations/usageexamplepostrequestbody.md +++ b/python-client-sdk/docs/models/operations/usageexamplepostrequestbody.md @@ -7,14 +7,6 @@ A request body that contains fields with different formats for testing example g | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *Optional[str]* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `format_email` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `format_uri` | *Optional[str]* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `format_uuid` | *Optional[str]* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *Optional[str]* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simple_object` | [Optional[shared.SimpleObject]](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *Optional[str]* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *Optional[str]* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *Optional[str]* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `faker_formatted_strings` | [Optional[shared.FakerFormattedStrings]](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `faker_strings` | [Optional[shared.FakerStrings]](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simple_object` | [Optional[shared.SimpleObject]](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/python-client-sdk/docs/models/shared/fakerformattedstrings.md b/python-client-sdk/docs/models/shared/fakerformattedstrings.md new file mode 100755 index 000000000..76df67e89 --- /dev/null +++ b/python-client-sdk/docs/models/shared/fakerformattedstrings.md @@ -0,0 +1,27 @@ +# FakerFormattedStrings + +A set of strings with format values that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `address_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have an address generated as example | +| `directory_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a directory path generated as example | +| `domain_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a domain name generated as example | +| `email_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have an email address generated as example | +| `filename_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a filename generated as example | +| `filepath_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a file path generated as example | +| `image_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a image url generated as example | +| `ipv4_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have an IPv4 address generated as example | +| `ipv6_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have an IPv6 address generated as example | +| `json_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a JSON generated as example | +| `mac_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a MAC address generated as example | +| `password_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a fake password generated as example | +| `phone_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a phone number generated as example | +| `timezone_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a timezone generated as example | +| `unknown_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have random words generated as example | +| `url_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a URL generated as example | +| `uuid_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a UUID generated as example | +| `zipcode_format` | *Optional[str]* | :heavy_minus_sign: | A field that will have a postal code generated as example | \ No newline at end of file diff --git a/python-client-sdk/docs/models/shared/fakerstrings.md b/python-client-sdk/docs/models/shared/fakerstrings.md new file mode 100755 index 000000000..19ab36005 --- /dev/null +++ b/python-client-sdk/docs/models/shared/fakerstrings.md @@ -0,0 +1,62 @@ +# FakerStrings + +A set of strings with fieldnames that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `city` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `iban` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `i_pv4` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `i_pv6` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `account` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `address` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `amount` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `avatar` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `color` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `comment` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `company` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `country` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `country_code` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `currency` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `datatype` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `default` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `directory` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `domain_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `email_addr` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `extension` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `filename` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `filepath` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `filetype` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `first_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `full_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `gender` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `job` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `json` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `key` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `last_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `latitude` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `locale` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `longitude` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `mac` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `manufacturer` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `material` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `middle_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `model` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `password` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `phone` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `pin` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `postal_code` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `price` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `product` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `sex` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `street` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `timezone` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `unit` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `username` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `uuid` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/python-client-sdk/docs/models/shared/simpleobject.md b/python-client-sdk/docs/models/shared/simpleobject.md index fb52d7616..c50602d23 100755 --- a/python-client-sdk/docs/models/shared/simpleobject.md +++ b/python-client-sdk/docs/models/shared/simpleobject.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *bool* | :heavy_check_mark: | A boolean property. | true | | `bool_opt` | *Optional[bool]* | :heavy_minus_sign: | An optional boolean property. | true | | `date_` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `date_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `date_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *Optional[Decimal]* | :heavy_minus_sign: | N/A | | | `enum` | [EnumT](../../models/shared/enumt.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/python-client-sdk/docs/models/shared/simpleobjectwithtype.md b/python-client-sdk/docs/models/shared/simpleobjectwithtype.md index 16c2dc779..fc07ab1e0 100755 --- a/python-client-sdk/docs/models/shared/simpleobjectwithtype.md +++ b/python-client-sdk/docs/models/shared/simpleobjectwithtype.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *bool* | :heavy_check_mark: | A boolean property. | true | | `bool_opt` | *Optional[bool]* | :heavy_minus_sign: | An optional boolean property. | true | | `date_` | [datetime](https://docs.python.org/3/library/datetime.html#datetime-objects) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `date_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `date_time` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *Optional[Decimal]* | :heavy_minus_sign: | N/A | | | `enum` | [EnumT](../../models/shared/enumt.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/python-client-sdk/docs/sdks/auth/README.md b/python-client-sdk/docs/sdks/auth/README.md index 65082604c..0a55caa13 100755 --- a/python-client-sdk/docs/sdks/auth/README.md +++ b/python-client-sdk/docs/sdks/auth/README.md @@ -96,7 +96,7 @@ s = sdk.SDK( res = s.auth.basic_auth(operations.BasicAuthSecurity( password="YOUR_PASSWORD", username="YOUR_USERNAME", -), passwd='labore', user='labore') +), passwd='quae', user='earum') if res.user is not None: # handle response diff --git a/python-client-sdk/docs/sdks/authnew/README.md b/python-client-sdk/docs/sdks/authnew/README.md index c067e4184..39d9da4ca 100755 --- a/python-client-sdk/docs/sdks/authnew/README.md +++ b/python-client-sdk/docs/sdks/authnew/README.md @@ -37,13 +37,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='suscipit', - username='Liana_Rohan', + password='vel', + username='Isai_Gerlach74', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='aspernatur', - header_name='architecto', + expected_value='accusantium', + header_name='aliquam', ), ], ) @@ -85,13 +85,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='magnam', - username='Audrey_Marks', + password='sapiente', + username='Blake.Hermiston', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='quos', - header_name='sint', + expected_value='nisi', + header_name='aut', ), ], ) @@ -130,13 +130,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='accusantium', - username='Madaline.Wisozk', + password='voluptatum', + username='Christop_Sporer', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='eum', - header_name='dolor', + expected_value='itaque', + header_name='dolorum', ), ], ) @@ -179,13 +179,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='necessitatibus', - username='Brown43', + password='architecto', + username='Leonard86', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='doloribus', - header_name='debitis', + expected_value='et', + header_name='voluptate', ), ], ) @@ -227,13 +227,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='eius', - username='Rachel.Lind10', + password='ipsa', + username='Erick23', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='architecto', - header_name='repudiandae', + expected_value='iste', + header_name='temporibus', ), ], ) @@ -279,13 +279,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='ullam', - username='Michael_Koss14', + password='accusantium', + username='Joyce.Armstrong', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='saepe', - header_name='pariatur', + expected_value='mollitia', + header_name='ab', ), ], ) @@ -330,13 +330,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='accusantium', - username='Carroll.Lang', + password='corrupti', + username='Demond58', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='sunt', - header_name='quo', + expected_value='numquam', + header_name='impedit', ), ], ) @@ -381,13 +381,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='illum', - username='Samantha_Schoen', + password='explicabo', + username='Garrison.Anderson', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='odit', - header_name='ea', + expected_value='maiores', + header_name='natus', ), ], ) @@ -429,13 +429,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='accusantium', - username='Annie.Wunsch45', + password='velit', + username='Webster.Hirthe40', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='autem', - header_name='nam', + expected_value='quaerat', + header_name='consequuntur', ), ], ) @@ -478,13 +478,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='eaque', - username='Sammy.Hickle85', + password='repellendus', + username='Loyce_Schoen', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='amet', - header_name='aut', + expected_value='asperiores', + header_name='nemo', ), ], ) @@ -526,13 +526,13 @@ s = sdk.SDK( req = shared.AuthServiceRequestBody( basic_auth=shared.AuthServiceRequestBodyBasicAuth( - password='cumque', - username='Floyd_Welch17', + password='quae', + username='Elwyn.Sawayn7', ), header_auth=[ shared.AuthServiceRequestBodyHeaderAuth( - expected_value='quis', - header_name='totam', + expected_value='adipisci', + header_name='fuga', ), ], ) diff --git a/python-client-sdk/docs/sdks/documentation/README.md b/python-client-sdk/docs/sdks/documentation/README.md index d8a7f638d..2cd57aefb 100755 --- a/python-client-sdk/docs/sdks/documentation/README.md +++ b/python-client-sdk/docs/sdks/documentation/README.md @@ -28,7 +28,7 @@ s = sdk.SDK( ) -res = s.documentation.get_documentation_per_language(language='dignissimos') +res = s.documentation.get_documentation_per_language(language='id') if res.status_code == 200: # handle response diff --git a/python-client-sdk/docs/sdks/errors/README.md b/python-client-sdk/docs/sdks/errors/README.md index a147f592b..a8774ce38 100755 --- a/python-client-sdk/docs/sdks/errors/README.md +++ b/python-client-sdk/docs/sdks/errors/README.md @@ -63,7 +63,7 @@ s = sdk.SDK( ) -res = s.errors.status_get_error(status_code=54338) +res = s.errors.status_get_error(status_code=380729) if res.status_code == 200: # handle response @@ -98,7 +98,7 @@ s = sdk.SDK( ) -res = s.errors.status_get_x_speakeasy_errors(status_code=338985) +res = s.errors.status_get_x_speakeasy_errors(status_code=246063) if res.status_code == 200: # handle response diff --git a/python-client-sdk/docs/sdks/flattening/README.md b/python-client-sdk/docs/sdks/flattening/README.md index 625724d30..90837fae4 100755 --- a/python-client-sdk/docs/sdks/flattening/README.md +++ b/python-client-sdk/docs/sdks/flattening/README.md @@ -33,14 +33,14 @@ s = sdk.SDK( res = s.flattening.component_body_and_param_conflict(simple_object=shared.SimpleObject( - any='nesciunt', - bigint=179490, - bigint_str=18521, + any='culpa', + bigint=665859, + bigint_str=926880, 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('1709.86'), + date_time=dateutil.parser.isoparse('2020-01-01T00:00:00.000Z'), + decimal=Decimal('5173.09'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -52,7 +52,7 @@ res = s.flattening.component_body_and_param_conflict(simple_object=shared.Simple num_opt_null=1.1, str_='example', str_opt='optional example', -), str_='dolor') +), str_='ducimus') if res.res is not None: # handle response @@ -90,15 +90,15 @@ s = sdk.SDK( ) -res = s.flattening.component_body_and_param_no_conflict(param_str='vero', simple_object=shared.SimpleObject( - any='nostrum', - bigint=944120, - bigint_str=928082, +res = s.flattening.component_body_and_param_no_conflict(param_str='quos', simple_object=shared.SimpleObject( + any='vel', + bigint=287051, + bigint_str=822560, 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('6082.53'), + date_time=dateutil.parser.isoparse('2020-01-01T00:00:00.000Z'), + decimal=Decimal('7065.75'), enum=shared.EnumT.TWO, float32=2.2222222, int=999999, @@ -146,7 +146,7 @@ s = sdk.SDK( ) -res = s.flattening.conflicting_params(str_path_parameter='voluptatem', str_query_parameter='porro') +res = s.flattening.conflicting_params(str_path_parameter='in', str_query_parameter='corporis') if res.res is not None: # handle response @@ -183,8 +183,8 @@ s = sdk.SDK( res = s.flattening.inline_body_and_param_conflict(request_body=operations.InlineBodyAndParamConflictRequestBody( - str_='consequuntur', -), str_='blanditiis') + str_='reiciendis', +), str_='assumenda') if res.res is not None: # handle response @@ -221,8 +221,8 @@ s = sdk.SDK( res = s.flattening.inline_body_and_param_no_conflict(request_body=operations.InlineBodyAndParamNoConflictRequestBody( - body_str='error', -), param_str='eaque') + body_str='nemo', +), param_str='recusandae') if res.res is not None: # handle response diff --git a/python-client-sdk/docs/sdks/generation/README.md b/python-client-sdk/docs/sdks/generation/README.md index f2a141650..94dfa0efc 100755 --- a/python-client-sdk/docs/sdks/generation/README.md +++ b/python-client-sdk/docs/sdks/generation/README.md @@ -97,8 +97,8 @@ s = sdk.SDK( ) req = shared.DeprecatedFieldInObject( - deprecated_field='occaecati', - new_field='rerum', + deprecated_field='aliquid', + new_field='aperiam', ) res = s.generation.deprecated_field_in_schema_post(req) @@ -167,7 +167,7 @@ s = sdk.SDK( ) -res = s.generation.deprecated_operation_no_comments_get(deprecated_parameter='adipisci') +res = s.generation.deprecated_operation_no_comments_get(deprecated_parameter='cum') if res.status_code == 200: # handle response @@ -206,7 +206,7 @@ s = sdk.SDK( ) -res = s.generation.deprecated_operation_with_comments_get(deprecated_parameter='asperiores', new_parameter='earum') +res = s.generation.deprecated_operation_with_comments_get(deprecated_parameter='consectetur', new_parameter='in') if res.status_code == 200: # handle response @@ -365,9 +365,9 @@ s = sdk.SDK( res = s.generation.ignores_post(request_body=operations.IgnoresPostApplicationJSON( - callback_url='http://peaceful-popularity.name', - test_prop='pariatur', -), test_param='provident') + callback_url='http://vivacious-slider.biz', + test_prop='doloribus', +), test_param='suscipit') if res.http_bin_simple_json_object is not None: # handle response @@ -441,10 +441,10 @@ s = sdk.SDK( ) -res = s.generation.typed_parameter_generation_get(bigint=750844, date_=dateutil.parser.parse('2021-01-26').date(), decimal=Decimal('3119.45'), obj=operations.TypedParameterGenerationGetObj( +res = s.generation.typed_parameter_generation_get(bigint=968972, date_=dateutil.parser.parse('2021-03-11').date(), decimal=Decimal('8970.71'), obj=operations.TypedParameterGenerationGetObj( bool=False, - num=5542.42, - str_='aliquid', + num=2965.56, + str_='sunt', )) if res.status_code == 200: @@ -488,58 +488,123 @@ s = sdk.SDK( req = operations.UsageExamplePostRequest( request_body=operations.UsageExamplePostRequestBody( - email='Cornelius21@gmail.com', - format_email='Kevin.Ritchie@hotmail.com', - format_uri='https://electric-porter.biz', - format_uuid='100674eb-f692-480d-9ba7-7a89ebf737ae', - hostname='fake-cat.com', - ipv4='58.194.225.81', - ipv6='e6a9:5d8a:0d44:6ce2:af7a:73cf:3be4:53f8', + faker_formatted_strings=shared.FakerFormattedStrings( + address_format='222 Jena Villages', + directory_format='debitis', + domain_format='consectetur', + email_format='Mary91@yahoo.com', + filename_format='libero', + filepath_format='vitae', + image_format='accusamus', + ipv4_format='161.69.34.97', + ipv6_format='555b:a3c2:8744:ed53:b88f:3a8d:8f5c:0b2f', + json_format='{"foo":99440,"bar":"Kb'Y<_/JGa","bike":37832,"a":"*Dzt'{\"S|:","b":59223,"name":89676,"prop":40673}', + mac_format='occaecati', + password_format='quos', + phone_format='424.940.2857 x32385', + timezone_format='sit', + unknown_format='nobis', + url_format='error', + uuid_format='55efd20e-457e-4185-8b6a-89fbe3a5aa8e', + zipcode_format='51280', + ), + faker_strings=shared.FakerStrings( + city='Quitzonboro', + iban='consequatur', + id='75088e51-8620-465e-904f-3b1194b8abf6', + i_pv4='0.58.165.116', + i_pv6='9f9d:fe0a:b7da:8a50:ce18:7f86:bc17:3d68', + account='error', + address='886 Bret Island', + amount='maiores', + avatar='corrupti', + color='at', + comment='error', + company='Hoeger - Walker', + country='Mali', + country_code='LV', + currency='sunt', + datatype='recusandae', + default='dolorum', + description='repellendus', + directory='labore', + domain_name='reiciendis', + email_addr='doloremque', + extension='repudiandae', + filename='dicta', + filepath='accusantium', + filetype='beatae', + first_name='Chandler', + full_name='enim', + gender='female', + job='velit', + json='{"foo":"Uik;'7`","prop":"D7[^wQpHOT"}", + mac_format="vel", + password_format="labore", + phone_format="(774) 539-8393 x07243", + timezone_format="earum", + unknown_format="facere", + url_format="numquam", + uuid_format="f6fbee41-f333-417f-a35b-60eb1ea42655", + zipcode_format="76271", + ), + faker_strings=Shared::FakerStrings.new( + city="Isomboro", + iban="aliquam", + id="ed53b88f-3a8d-48f5-80b2-f2fb7b194a27", + i_pv4="106.178.33.96", + i_pv6="916f:e1f0:8f42:94e3:698f:447f:603e:8b44", + account="ipsam", + address="507 Hartmann Glens", + amount="recusandae", + avatar="reiciendis", + color="nulla", + comment="magni", + company="Turcotte and Sons", + country="Gibraltar", + country_code="JM", + currency="officiis", + datatype="beatae", + default="laudantium", + description="exercitationem", + directory="praesentium", + domain_name="cum", + email_addr="laboriosam", + extension="dolorum", + filename="voluptatum", + filepath="error", + filetype="hic", + first_name="Meredith", + full_name="debitis", + gender="female", + job="dolorum", + json="{"foo":63902,"bar":"Sr:S.;p#\\c","bike":788,"a":37267,"b":53053,"name":"vB)OF/#H@u","prop":"!:{4a+*V;a"}", + key="atque", + last_name="Osinski", + latitude="nam", + locale="tenetur", + longitude="laboriosam", + mac="alias", + manufacturer="amet", + material="deserunt", + middle_name="voluptate", + model="unde", + password="reiciendis", + phone="(899) 266-4865 x6307", + pin="repudiandae", + postal_code="54953", + price="quidem", + product="maxime", + sex="female", + street="2845 Torphy Trail", + timezone="accusamus", + unit="natus", + url="minima", + username="Bret_Jakubowski87", + uuid="986e881e-ad4f-40e1-8125-63f94e29e973", + ), simple_object=Shared::SimpleObject.new( - any="totam", - bigint=489549, - bigint_str="eaque", + any="eveniet", + bigint=580887, + bigint_str="consequuntur", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=3389.85, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=1458.7, enum=Shared::Enum::TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=Shared::SimpleObjectInt32Enum::FIFTY_FIVE, - 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, str_="example", str_opt="optional example", ), - unknown="perferendis", - uri="http://square-input.biz", - uuid="d5fe9b90-c289-409b-bfe4-9a8d9cbf4863", ), - bigint_parameter=111111, - bigint_parameter_optional=111111, - bigint_str_parameter="111111", - bigint_str_parameter_optional="111111", + bigint_parameter=440264, + bigint_parameter_optional=625528, + bigint_str_parameter="illo", + bigint_str_parameter_optional="corporis", bool_parameter=false, - date_parameter=Date.parse("2020-01-01"), - date_time_parameter=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal_parameter=1.1, - decimal_parameter_optional=1.1, - decimal_str_parameter="1.1", - decimal_str_parameter_optional="1.1", - double_parameter=2.2222222, - enum_parameter=Operations::UsageExamplePostEnumParameter::VALUE3, + date_parameter=Date.parse("2021-03-06"), + date_time_parameter=DateTime.iso8601('2022-02-14T08:24:16.303Z'), + decimal_parameter=396.15, + decimal_parameter_optional=4341.56, + decimal_str_parameter="ipsa", + decimal_str_parameter_optional="totam", + double_parameter=610.78, + enum_parameter=Operations::UsageExamplePostEnumParameter::VALUE2, falsey_number_parameter=0, - float32_parameter=1.1, - float_parameter=1.1, - int64_parameter=111111, - int_parameter=1, + float32_parameter=9077.33, + float_parameter=1843.62, + int64_parameter=739884, + int_parameter=434761, opt_enum_parameter=Operations::UsageExamplePostOptEnumParameter::VALUE3, - str_parameter="example 1", + str_parameter="example 3", ), request_body=Operations::UsageExamplePostRequestBody.new( - email="Christy_Erdman73@gmail.com", - format_email="Jennifer68@yahoo.com", - format_uri="http://both-background.com", - format_uuid="674ebf69-280d-41ba-b7a8-9ebf737ae420", - hostname="elementary-round.org", - ipv4="81.231.98.165", - ipv6="95d8:a0d4:46ce:2af7:a73c:f3be:453f:870b", + faker_formatted_strings=Shared::FakerFormattedStrings.new( + address_format="67553 Zoe Alley", + directory_format="corporis", + domain_format="perspiciatis", + email_format="Lyric97@yahoo.com", + filename_format="reiciendis", + filepath_format="dolores", + image_format="id", + ipv4_format="83.75.174.51", + ipv6_format="1e94:764a:3e86:5e79:56f9:251a:5a9d:a660", + json_format="{"foo":"|AJdx\\_l9{","bar":"syh+a:@(.h","bike":2168,"a":13725,"b":26062,"name":"rh1zI+?*WW","prop":"fxo%xX|sFi"}", + mac_format="suscipit", + password_format="dolorem", + phone_format="1-861-788-0004", + timezone_format="natus", + unknown_format="occaecati", + url_format="suscipit", + uuid_format="312fde04-7717-478f-b61d-017476360a15", + zipcode_format="73633-0436", + ), + faker_strings=Shared::FakerStrings.new( + city="Bernierfurt", + iban="possimus", + id="eaab5851-d6c6-445b-88b6-1891baa0fe1a", + i_pv4="221.228.7.0", + i_pv6="8e6f:8c5f:350d:8cdb:5a34:1814:3010:4218", + account="quae", + address="83105 Rutherford Trail", + amount="esse", + avatar="necessitatibus", + color="sed", + comment="veniam", + company="Ratke and Sons", + country="Israel", + country_code="LS", + currency="magnam", + datatype="exercitationem", + default="ab", + description="porro", + directory="autem", + domain_name="nobis", + email_addr="laboriosam", + extension="recusandae", + filename="consequuntur", + filepath="voluptatem", + filetype="exercitationem", + first_name="Sonny", + full_name="quasi", + gender="female", + job="at", + json="{"foo":"_a2|vgVBKO","bar":"D8BT9-O3`P","bike":9749,"a":"p+E/6%W{f!","b":"1VY0(`s{cY","name":"?PkI","prop":89654}", + key="odit", + last_name="Hilll", + latitude="quasi", + locale="iure", + longitude="doloribus", + mac="debitis", + manufacturer="eius", + material="maxime", + middle_name="deleniti", + model="facilis", + password="in", + phone="(293) 749-8198", + pin="accusantium", + postal_code="56117", + price="illum", + product="pariatur", + sex="male", + street="5140 Willow Radial", + timezone="ipsam", + unit="voluptate", + url="autem", + username="Mireya.Beatty97", + uuid="0d30c5fb-b258-4705-b202-c73d5fe9b90c", + ), simple_object=Shared::SimpleObject.new( - any="architecto", - bigint=60225, - bigint_str="reiciendis", + any="consequuntur", + bigint=500026, + bigint_str="error", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=6667.67, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=503.7, enum=Shared::Enum::TWO, float32=2.2222222, int=999999, @@ -61,53 +129,118 @@ req = Operations::UsageExamplePostRequest.new( str_="example", str_opt="optional example", ), - unknown="dolores", - uri="http://growing-cappelletti.net", - uuid="5955907a-ff1a-43a2-ba94-67739251aa52", ), - bigint_parameter=111111, - bigint_parameter_optional=111111, - bigint_str_parameter="111111", - bigint_str_parameter_optional="111111", + bigint_parameter=237893, + bigint_parameter_optional=992397, + bigint_str_parameter="earum", + bigint_str_parameter_optional="modi", bool_parameter=false, - date_parameter=Date.parse("2020-01-01"), - date_time_parameter=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal_parameter=1.1, - decimal_parameter_optional=1.1, - decimal_str_parameter="1.1", - decimal_str_parameter_optional="1.1", - double_parameter=2.2222222, - enum_parameter=Operations::UsageExamplePostEnumParameter::VALUE3, + date_parameter=Date.parse("2021-08-23"), + date_time_parameter=DateTime.iso8601('2021-04-10T01:47:20.724Z'), + decimal_parameter=5899.1, + decimal_parameter_optional=7508.44, + decimal_str_parameter="libero", + decimal_str_parameter_optional="delectus", + double_parameter=3119.45, + enum_parameter=Operations::UsageExamplePostEnumParameter::VALUE2, falsey_number_parameter=0, - float32_parameter=1.1, - float_parameter=1.1, - int64_parameter=111111, - int_parameter=1, + float32_parameter=3982.21, + float_parameter=2123.9, + int64_parameter=209843, + int_parameter=222443, opt_enum_parameter=Operations::UsageExamplePostOptEnumParameter::VALUE3, - str_parameter="example 3", + str_parameter="example 1", ), request_body=Operations::UsageExamplePostRequestBody.new( - email="Vada_Hills@gmail.com", - format_email="Avery_Mueller9@gmail.com", - format_uri="https://witty-swim.info", - format_uuid="8f097b00-74f1-4547-9b5e-6e13b99d488e", - hostname="bronze-trafficker.name", - ipv4="21.237.71.81", - ipv6="0ad2:abd4:4269:802d:502a:94bb:4f63:c969", + faker_formatted_strings=Shared::FakerFormattedStrings.new( + address_format="95744 Farrell Port", + directory_format="numquam", + domain_format="veritatis", + email_format="Anabelle.Kerluke@gmail.com", + filename_format="accusamus", + filepath_format="quidem", + image_format="voluptatibus", + ipv4_format="96.158.45.138", + ipv6_format="0d1b:a77a:89eb:f737:ae42:03ce:5e6a:95d8", + json_format="{"foo":"!r>:Hks2`y","bar":68748,"bike":21550,"a":"y6dr8>4zQL","b":71158,"name":15369,"prop":73044}", + mac_format="voluptas", + password_format="deserunt", + phone_format="321.688.7165 x211", + timezone_format="distinctio", + unknown_format="facilis", + url_format="aliquid", + uuid_format="79d23227-15bf-40cb-b1e3-1b8b90f3443a", + zipcode_format="00590", + ), + faker_strings=Shared::FakerStrings.new( + city="Skilesfield", + iban="doloribus", + id="4b921879-fce9-453f-b3ef-7fbc7abd74dd", + i_pv4="49.158.197.3", + i_pv6="f5d2:cff7:c70a:4562:6d43:6813:f16d:9f5f", + account="quisquam", + address="473 Greg Circle", + amount="magnam", + avatar="ea", + color="quo", + comment="consectetur", + company="Cole, Hane and Becker", + country="Uruguay", + country_code="PN", + currency="aut", + datatype="aut", + default="deleniti", + description="impedit", + directory="aliquam", + domain_name="fugit", + email_addr="accusamus", + extension="inventore", + filename="non", + filepath="et", + filetype="dolorum", + first_name="Margarett", + full_name="placeat", + gender="female", + job="eum", + json="{"foo":75213,"bar":"nqDd):8-X&","bike":30159,"a":26211,"b":45614,"name":"`Jap;IDm1P","prop":")&^a4ioi`9"}", + key="eos", + last_name="Hintz", + latitude="ab", + locale="cupiditate", + longitude="consequatur", + mac="tempora", + manufacturer="debitis", + material="ipsam", + middle_name="aspernatur", + model="sequi", + password="quo", + phone="907.840.4583 x454", + pin="sapiente", + postal_code="64074", + price="quas", + product="praesentium", + sex="female", + street="1662 Champlin Glen", + timezone="nisi", + unit="fugit", + url="sapiente", + username="Carol90", + uuid="9817ee17-cbe6-41e6-b7b9-5bc0ab3c20c4", + ), simple_object=Shared::SimpleObject.new( - any="necessitatibus", - bigint=572252, - bigint_str="officia", + any="sapiente", + bigint=232865, + bigint_str="esse", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=2230.81, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=5034.27, enum=Shared::Enum::TWO, float32=2.2222222, int=999999, int32=1, - int32_enum=Shared::SimpleObjectInt32Enum::ONE_HUNDRED_AND_EIGHTY_ONE, + int32_enum=Shared::SimpleObjectInt32Enum::SIXTY_NINE, int_enum=Shared::SimpleObjectIntEnum::THIRD, int_opt_null=999999, num=1.1, @@ -115,9 +248,6 @@ req = Operations::UsageExamplePostRequest.new( str_="example", str_opt="optional example", ), - unknown="dolorum", - uri="http://irritating-standardisation.org", - uuid="b14cd66a-e395-4efb-9ba8-8f3a66997074", ), ) diff --git a/ruby-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md b/ruby-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md index dd979c7d5..de795d2e5 100755 --- a/ruby-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md +++ b/ruby-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md @@ -5,14 +5,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *T.nilable(String)* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `format_email` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `format_uri` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `format_uuid` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simple_object` | [T.nilable(Shared::SimpleObject)](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *T.nilable(String)* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *T.nilable(String)* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `faker_formatted_strings` | [T.nilable(Shared::FakerFormattedStrings)](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `faker_strings` | [T.nilable(Shared::FakerStrings)](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simple_object` | [T.nilable(Shared::SimpleObject)](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/usageexamplepostrequest.md b/ruby-client-sdk/docs/models/operations/usageexamplepostrequest.md index 1be1b3136..53ef8401e 100755 --- a/ruby-client-sdk/docs/models/operations/usageexamplepostrequest.md +++ b/ruby-client-sdk/docs/models/operations/usageexamplepostrequest.md @@ -6,23 +6,23 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | | `request_body` | [T.nilable(Operations::UsageExamplePostRequestBody)](../../models/operations/usageexamplepostrequestbody.md) | :heavy_minus_sign: | A request body that contains fields with different formats for testing example generation | | -| `bigint_parameter` | *Integer* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigint_parameter_optional` | *T.nilable(Integer)* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `bigint_str_parameter` | *String* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigint_str_parameter_optional` | *T.nilable(String)* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `bool_parameter` | *T::Boolean* | :heavy_check_mark: | A boolean parameter | false | -| `date_parameter` | [DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html) | :heavy_check_mark: | A date parameter | 2020-01-01 | -| `date_time_parameter` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | A date time parameter | 2020-01-01T00:00:00Z | -| `decimal_parameter` | *Float* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimal_parameter_optional` | *T.nilable(Float)* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `decimal_str_parameter` | *String* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimal_str_parameter_optional` | *T.nilable(String)* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `double_parameter` | *Float* | :heavy_check_mark: | A double parameter | 2.2222222 | -| `enum_parameter` | [Operations::UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | value3 | +| `bigint_parameter` | *Integer* | :heavy_check_mark: | An bigint parameter | | +| `bigint_parameter_optional` | *T.nilable(Integer)* | :heavy_minus_sign: | An bigint parameter | | +| `bigint_str_parameter` | *String* | :heavy_check_mark: | An bigint parameter | | +| `bigint_str_parameter_optional` | *T.nilable(String)* | :heavy_minus_sign: | An bigint parameter | | +| `bool_parameter` | *T::Boolean* | :heavy_check_mark: | A boolean parameter | | +| `date_parameter` | [DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html) | :heavy_check_mark: | A date parameter | | +| `date_time_parameter` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | A date time parameter | | +| `decimal_parameter` | *Float* | :heavy_check_mark: | A decimal parameter | | +| `decimal_parameter_optional` | *T.nilable(Float)* | :heavy_minus_sign: | A decimal parameter | | +| `decimal_str_parameter` | *String* | :heavy_check_mark: | A decimal parameter | | +| `decimal_str_parameter_optional` | *T.nilable(String)* | :heavy_minus_sign: | A decimal parameter | | +| `double_parameter` | *Float* | :heavy_check_mark: | A double parameter | | +| `enum_parameter` | [Operations::UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | | | `falsey_number_parameter` | *Float* | :heavy_check_mark: | A number parameter that contains a falsey example value | 0 | -| `float32_parameter` | *Float* | :heavy_check_mark: | A float32 parameter | 1.1 | -| `float_parameter` | *Float* | :heavy_check_mark: | A float parameter | 1.1 | -| `int64_parameter` | *Integer* | :heavy_check_mark: | An int64 parameter | 111111 | -| `int_parameter` | *Integer* | :heavy_check_mark: | An integer parameter | 1 | +| `float32_parameter` | *Float* | :heavy_check_mark: | A float32 parameter | | +| `float_parameter` | *Float* | :heavy_check_mark: | A float parameter | | +| `int64_parameter` | *Integer* | :heavy_check_mark: | An int64 parameter | | +| `int_parameter` | *Integer* | :heavy_check_mark: | An integer parameter | | | `opt_enum_parameter` | [T.nilable(Operations::UsageExamplePostOptEnumParameter)](../../models/operations/usageexamplepostoptenumparameter.md) | :heavy_minus_sign: | An enum parameter | value3 | | `str_parameter` | *String* | :heavy_check_mark: | A string parameter | example 1 | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/operations/usageexamplepostrequestbody.md b/ruby-client-sdk/docs/models/operations/usageexamplepostrequestbody.md index 89ac632c6..3a0001353 100755 --- a/ruby-client-sdk/docs/models/operations/usageexamplepostrequestbody.md +++ b/ruby-client-sdk/docs/models/operations/usageexamplepostrequestbody.md @@ -7,14 +7,6 @@ A request body that contains fields with different formats for testing example g | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *T.nilable(String)* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `format_email` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `format_uri` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `format_uuid` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simple_object` | [T.nilable(Shared::SimpleObject)](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *T.nilable(String)* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *T.nilable(String)* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *T.nilable(String)* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `faker_formatted_strings` | [T.nilable(Shared::FakerFormattedStrings)](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `faker_strings` | [T.nilable(Shared::FakerStrings)](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simple_object` | [T.nilable(Shared::SimpleObject)](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/shared/fakerformattedstrings.md b/ruby-client-sdk/docs/models/shared/fakerformattedstrings.md new file mode 100755 index 000000000..c65f2ae06 --- /dev/null +++ b/ruby-client-sdk/docs/models/shared/fakerformattedstrings.md @@ -0,0 +1,27 @@ +# FakerFormattedStrings + +A set of strings with format values that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `address_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have an address generated as example | +| `directory_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a directory path generated as example | +| `domain_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a domain name generated as example | +| `email_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have an email address generated as example | +| `filename_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a filename generated as example | +| `filepath_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a file path generated as example | +| `image_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a image url generated as example | +| `ipv4_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have an IPv4 address generated as example | +| `ipv6_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have an IPv6 address generated as example | +| `json_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a JSON generated as example | +| `mac_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a MAC address generated as example | +| `password_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a fake password generated as example | +| `phone_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a phone number generated as example | +| `timezone_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a timezone generated as example | +| `unknown_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have random words generated as example | +| `url_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a URL generated as example | +| `uuid_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a UUID generated as example | +| `zipcode_format` | *T.nilable(String)* | :heavy_minus_sign: | A field that will have a postal code generated as example | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/shared/fakerstrings.md b/ruby-client-sdk/docs/models/shared/fakerstrings.md new file mode 100755 index 000000000..734f52464 --- /dev/null +++ b/ruby-client-sdk/docs/models/shared/fakerstrings.md @@ -0,0 +1,62 @@ +# FakerStrings + +A set of strings with fieldnames that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `city` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `iban` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `id` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `i_pv4` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `i_pv6` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `account` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `address` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `amount` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `avatar` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `color` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `comment` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `company` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `country` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `country_code` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `currency` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `datatype` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `default` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `description` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `directory` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `domain_name` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `email_addr` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `extension` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `filename` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `filepath` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `filetype` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `first_name` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `full_name` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `gender` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `job` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `json` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `key` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `last_name` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `latitude` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `locale` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `longitude` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `mac` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `manufacturer` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `material` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `middle_name` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `model` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `password` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `phone` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `pin` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `postal_code` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `price` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `product` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `sex` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `street` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `timezone` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `unit` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `url` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `username` | *T.nilable(String)* | :heavy_minus_sign: | N/A | +| `uuid` | *T.nilable(String)* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/ruby-client-sdk/docs/models/shared/simpleobject.md b/ruby-client-sdk/docs/models/shared/simpleobject.md index 1bfc090cd..495d6fdee 100755 --- a/ruby-client-sdk/docs/models/shared/simpleobject.md +++ b/ruby-client-sdk/docs/models/shared/simpleobject.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *T::Boolean* | :heavy_check_mark: | A boolean property. | true | | `bool_opt` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `date_time` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `date_time` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *T.nilable(Float)* | :heavy_minus_sign: | N/A | | | `enum` | [Shared::Enum](../../models/shared/enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *Float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/ruby-client-sdk/docs/models/shared/simpleobjectwithtype.md b/ruby-client-sdk/docs/models/shared/simpleobjectwithtype.md index b1c54eb35..872efaad2 100755 --- a/ruby-client-sdk/docs/models/shared/simpleobjectwithtype.md +++ b/ruby-client-sdk/docs/models/shared/simpleobjectwithtype.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *T::Boolean* | :heavy_check_mark: | A boolean property. | true | | `bool_opt` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [DateTime](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/DateTime.html) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `date_time` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `date_time` | [Date](https://ruby-doc.org/stdlib-2.6.1/libdoc/date/rdoc/Date.html) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *T.nilable(Float)* | :heavy_minus_sign: | N/A | | | `enum` | [Shared::Enum](../../models/shared/enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *Float* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/ruby-client-sdk/docs/sdks/auth/README.md b/ruby-client-sdk/docs/sdks/auth/README.md index 889fceafb..dd7dabb1f 100755 --- a/ruby-client-sdk/docs/sdks/auth/README.md +++ b/ruby-client-sdk/docs/sdks/auth/README.md @@ -89,8 +89,8 @@ req = Operations::BasicAuthRequest.new( username="YOUR_USERNAME", ), path_params=Operations::BasicAuthRequest.new( - passwd="nobis", - user="quos", + passwd="expedita", + user="deleniti", ), ) diff --git a/ruby-client-sdk/docs/sdks/authnew/README.md b/ruby-client-sdk/docs/sdks/authnew/README.md index df190e063..56c08cee4 100755 --- a/ruby-client-sdk/docs/sdks/authnew/README.md +++ b/ruby-client-sdk/docs/sdks/authnew/README.md @@ -33,13 +33,13 @@ s = OpenApiSDK::SDK.new req = Shared::AuthServiceRequestBody.new( request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="tempore", - username="Kurt.Bayer29", + password="a", + username="Jackson_Herman", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="labore", - header_name="adipisci", + expected_value="animi", + header_name="impedit", ), ], ), @@ -80,13 +80,13 @@ s = OpenApiSDK::SDK.new req = Shared::AuthServiceRequestBody.new( request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="dolorum", - username="Barbara55", + password="ipsam", + username="Florence.Ortiz", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="itaque", - header_name="consequatur", + expected_value="labore", + header_name="veritatis", ), ], ), @@ -131,12 +131,12 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="est", - username="River.Schaden70", + password="vero", + username="Daron21", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="cupiditate", + expected_value="ad", header_name="qui", ), ], @@ -182,13 +182,13 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="quae", - username="Jon_Kuhic", + password="iste", + username="Gudrun_Hilll52", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="quisquam", - header_name="vero", + expected_value="dolorum", + header_name="odio", ), ], ), @@ -237,13 +237,13 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="omnis", - username="Eugenia.Erdman23", + password="fugit", + username="Aaron.Cummings", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="vero", - header_name="tenetur", + expected_value="quae", + header_name="modi", ), ], ), @@ -291,13 +291,13 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="dignissimos", - username="Troy.Rau63", + password="neque", + username="Fatima21", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="facilis", - header_name="vero", + expected_value="unde", + header_name="nulla", ), ], ), @@ -345,13 +345,13 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="ducimus", - username="Elda.Sporer61", + password="distinctio", + username="Providenci34", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="impedit", - header_name="aut", + expected_value="omnis", + header_name="libero", ), ], ), @@ -396,13 +396,13 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="voluptatibus", - username="Fae78", + password="dicta", + username="Malachi_Rempel55", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="maiores", - header_name="doloribus", + expected_value="placeat", + header_name="sit", ), ], ), @@ -449,12 +449,12 @@ req = Shared::AuthServiceRequestBody.new( request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( password="iusto", - username="Nick63", + username="Anastacio4", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="tempora", - header_name="ipsam", + expected_value="totam", + header_name="dolore", ), ], ), @@ -499,13 +499,13 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="ea", - username="Brielle.Keebler18", + password="eligendi", + username="Michale.Bartoletti", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="ex", - header_name="laudantium", + expected_value="dolores", + header_name="assumenda", ), ], ), @@ -550,13 +550,13 @@ req = Shared::AuthServiceRequestBody.new( ), request=Shared::AuthServiceRequestBody.new( basic_auth=Shared::AuthServiceRequestBodyBasicAuth.new( - password="dicta", - username="Dana40", + password="beatae", + username="Marcella.Schumm", ), header_auth=.new[ Shared::AuthServiceRequestBodyHeaderAuth.new( - expected_value="nulla", - header_name="excepturi", + expected_value="provident", + header_name="accusamus", ), ], ), diff --git a/ruby-client-sdk/docs/sdks/documentation/README.md b/ruby-client-sdk/docs/sdks/documentation/README.md index 13ec3c7db..f6f9b4c42 100755 --- a/ruby-client-sdk/docs/sdks/documentation/README.md +++ b/ruby-client-sdk/docs/sdks/documentation/README.md @@ -24,7 +24,7 @@ s = OpenApiSDK::SDK.new req = Operations::GetDocumentationPerLanguageRequest.new( query_params=Operations::GetDocumentationPerLanguageRequest.new( - language="voluptatibus", + language="necessitatibus", ), ) diff --git a/ruby-client-sdk/docs/sdks/errors/README.md b/ruby-client-sdk/docs/sdks/errors/README.md index e7f92ad7f..ed45e670e 100755 --- a/ruby-client-sdk/docs/sdks/errors/README.md +++ b/ruby-client-sdk/docs/sdks/errors/README.md @@ -55,7 +55,7 @@ s = OpenApiSDK::SDK.new req = Operations::StatusGetErrorRequest.new( path_params=Operations::StatusGetErrorRequest.new( - status_code=343605, + status_code=733289, ), ) @@ -92,7 +92,7 @@ s = OpenApiSDK::SDK.new req = Operations::StatusGetXSpeakeasyErrorsRequest.new( path_params=Operations::StatusGetXSpeakeasyErrorsRequest.new( - status_code=960835, + status_code=575078, ), ) diff --git a/ruby-client-sdk/docs/sdks/flattening/README.md b/ruby-client-sdk/docs/sdks/flattening/README.md index 96b765863..32cbc9ca8 100755 --- a/ruby-client-sdk/docs/sdks/flattening/README.md +++ b/ruby-client-sdk/docs/sdks/flattening/README.md @@ -27,37 +27,37 @@ s = OpenApiSDK::SDK.new req = Operations::ComponentBodyAndParamConflictRequest.new( query_params=Operations::ComponentBodyAndParamConflictRequest.new( simple_object=Shared::SimpleObject.new( - any="quisquam", - bigint=906556, - bigint_str="ea", + any="ea", + bigint=421819, + bigint_str="ipsam", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=7740.48, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=7029.52, enum=Shared::Enum::TWO, float32=2.2222222, int=999999, int32=1, int32_enum=Shared::SimpleObjectInt32Enum::SIXTY_NINE, - int_enum=Shared::SimpleObjectIntEnum::FIRST, + int_enum=Shared::SimpleObjectIntEnum::SECOND, int_opt_null=999999, num=1.1, num_opt_null=1.1, str_="example", str_opt="optional example", ), - str_="aliquid", + str_="officiis", ), simple_object=Shared::SimpleObject.new( - any="inventore", - bigint=301831, - bigint_str="ea", + any="voluptatibus", + bigint=737279, + bigint_str="at", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=7752.2, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=51.52, enum=Shared::Enum::TWO, float32=2.2222222, int=999999, @@ -106,22 +106,22 @@ s = OpenApiSDK::SDK.new req = Operations::ComponentBodyAndParamNoConflictRequest.new( query_params=Operations::ComponentBodyAndParamNoConflictRequest.new( - param_str="aspernatur", + param_str="fuga", simple_object=Shared::SimpleObject.new( - any="minima", - bigint=53427, - bigint_str="a", + any="repudiandae", + bigint=34070, + bigint_str="expedita", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=7255.95, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=8852.08, enum=Shared::Enum::TWO, float32=2.2222222, int=999999, int32=1, int32_enum=Shared::SimpleObjectInt32Enum::FIFTY_FIVE, - int_enum=Shared::SimpleObjectIntEnum::FIRST, + int_enum=Shared::SimpleObjectIntEnum::THIRD, int_opt_null=999999, num=1.1, num_opt_null=1.1, @@ -130,20 +130,20 @@ req = Operations::ComponentBodyAndParamNoConflictRequest.new( ), ), simple_object=Shared::SimpleObject.new( - any="deleniti", - bigint=770581, - bigint_str="aliquam", + any="odio", + bigint=510128, + bigint_str="odit", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=1469.46, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=1276.88, enum=Shared::Enum::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, @@ -186,12 +186,12 @@ s = OpenApiSDK::SDK.new req = Operations::ConflictingParamsRequest.new( path_params=Operations::ConflictingParamsRequest.new( - str_path_parameter="non", - str_query_parameter="et", + str_path_parameter="earum", + str_query_parameter="adipisci", ), query_params=Operations::ConflictingParamsRequest.new( - str_path_parameter="dolorum", - str_query_parameter="laborum", + str_path_parameter="recusandae", + str_query_parameter="similique", ), ) @@ -230,12 +230,12 @@ s = OpenApiSDK::SDK.new req = Operations::InlineBodyAndParamConflictRequest.new( query_params=Operations::InlineBodyAndParamConflictRequest.new( request_body=Operations::InlineBodyAndParamConflictRequestBody.new( - str_="placeat", + str_="ut", ), - str_="velit", + str_="quidem", ), request_body=Operations::InlineBodyAndParamConflictRequestBody.new( - str_="eum", + str_="quis", ), ) @@ -274,12 +274,12 @@ s = OpenApiSDK::SDK.new req = Operations::InlineBodyAndParamNoConflictRequest.new( query_params=Operations::InlineBodyAndParamNoConflictRequest.new( request_body=Operations::InlineBodyAndParamNoConflictRequestBody.new( - body_str="autem", + body_str="beatae", ), - param_str="nobis", + param_str="unde", ), request_body=Operations::InlineBodyAndParamNoConflictRequestBody.new( - body_str="quas", + body_str="molestiae", ), ) diff --git a/ruby-client-sdk/docs/sdks/generation/README.md b/ruby-client-sdk/docs/sdks/generation/README.md index 5a56f6886..a2f038f90 100755 --- a/ruby-client-sdk/docs/sdks/generation/README.md +++ b/ruby-client-sdk/docs/sdks/generation/README.md @@ -85,8 +85,8 @@ s = OpenApiSDK::SDK.new req = Shared::DeprecatedFieldInObject.new( request=Shared::DeprecatedFieldInObject.new( - deprecated_field="assumenda", - new_field="nulla", + deprecated_field="delectus", + new_field="cupiditate", ), ) @@ -150,7 +150,7 @@ s = OpenApiSDK::SDK.new req = Operations::DeprecatedOperationNoCommentsGetRequest.new( query_params=Operations::DeprecatedOperationNoCommentsGetRequest.new( - deprecated_parameter="voluptas", + deprecated_parameter="fugit", ), ) @@ -191,8 +191,8 @@ s = OpenApiSDK::SDK.new req = Operations::DeprecatedOperationWithCommentsGetRequest.new( query_params=Operations::DeprecatedOperationWithCommentsGetRequest.new( - deprecated_parameter="libero", - new_parameter="quasi", + deprecated_parameter="numquam", + new_parameter="numquam", ), ) @@ -343,14 +343,14 @@ s = OpenApiSDK::SDK.new req = Operations::IgnoresPostRequest.new( query_params=Operations::IgnoresPostRequest.new( request_body=Operations::IgnoresPostApplicationJSON.new( - callback_url="http://expert-cargo.name", - test_prop="ipsa", + callback_url="http://trusting-pasta.info", + test_prop="optio", ), - test_param="molestiae", + test_param="necessitatibus", ), request_body=Operations::IgnoresPostApplicationJSON.new( - callback_url="http://likely-dignity.info", - test_prop="esse", + callback_url="http://dense-puppy.name", + test_prop="cupiditate", ), ) @@ -427,13 +427,13 @@ s = OpenApiSDK::SDK.new req = Operations::TypedParameterGenerationGetRequest.new( query_params=Operations::TypedParameterGenerationGetRequest.new( - bigint=524593, - date=Date.parse("2022-02-12"), - decimal=6956.26, + bigint=326269, + date=Date.parse("2022-01-19"), + decimal=2040.72, obj=Operations::TypedParameterGenerationGetObj.new( bool=false, - num=8526.35, - str_="ut", + num=4468.77, + str_="minus", ), ), ) @@ -484,91 +484,221 @@ req = Operations::UsageExamplePostRequest.new( ), query_params=Operations::UsageExamplePostRequest.new( request_body=Operations::UsageExamplePostRequestBody.new( - email="Genoveva50@yahoo.com", - format_email="Asa_Bednar@hotmail.com", - format_uri="http://sophisticated-starboard.net", - format_uuid="a4251904-e523-4c7e-8bc7-178e4796f2a7", - hostname="anguished-sediment.info", - ipv4="142.130.40.137", - ipv6="2aa4:8256:2f22:2e98:17ee:17cb:e61e:6b7b", + faker_formatted_strings=Shared::FakerFormattedStrings.new( + address_format="2329 Reynolds Bypass", + directory_format="libero", + domain_format="ratione", + email_format="Jovani_Mayert@gmail.com", + filename_format="velit", + filepath_format="minus", + image_format="fuga", + ipv4_format="88.171.197.246", + ipv6_format="be2f:d570:7577:9291:77de:ac64:6ecb:5734", + json_format="{"foo":57553,"bar":"3ve,x@^1d+","bike":89986,"a":"&O|))DqdUV","b":30638,"name":98874,"prop":"V>x^UQUN%t"}", + mac_format="architecto", + password_format="quos", + phone_format="(877) 309-7722 x9603", + timezone_format="veniam", + unknown_format="libero", + url_format="architecto", + uuid_format="97cd44e2-f52d-482d-b513-bb6f48b656bc", + zipcode_format="72399-1827", + ), + faker_strings=Shared::FakerStrings.new( + city="South Ezekielberg", + iban="iusto", + id="a8cd9e73-19c1-477d-925f-77b114eeb52f", + i_pv4="240.113.129.93", + i_pv6="fc37:814d:4c98:e0c2:bb89:eb75:dad6:36c6", + account="aut", + address="30285 Rippin Fall", + amount="quasi", + avatar="dicta", + color="laudantium", + comment="doloremque", + company="Kris, Fay and McKenzie", + country="Palau", + country_code="TO", + currency="provident", + datatype="repudiandae", + default="consequatur", + description="nemo", + directory="molestiae", + domain_name="itaque", + email_addr="facilis", + extension="corrupti", + filename="aperiam", + filepath="sint", + filetype="accusamus", + first_name="Chauncey", + full_name="totam", + gender="female", + job="voluptatem", + json="{"foo":22441,"bar":95367,"bike":58231,"a":"*q;jK$\"aG%","b":99802,"name":78411,"prop":"6gN6fZo\\6y"}", + key="aspernatur", + last_name="Satterfield", + latitude="itaque", + locale="illum", + longitude="laborum", + mac="dignissimos", + manufacturer="vero", + material="qui", + middle_name="consectetur", + model="repellat", + password="explicabo", + phone="1-442-209-6927", + pin="in", + postal_code="22924", + price="explicabo", + product="accusamus", + sex="male", + street="15346 Monique Fort", + timezone="sit", + unit="modi", + url="eum", + username="Coby_OHara", + uuid="575f1400-e764-4ad7-b34e-c1b781b36a08", + ), simple_object=Shared::SimpleObject.new( - any="occaecati", - bigint=327720, - bigint_str="distinctio", + any="aut", + bigint=550055, + bigint_str="laudantium", bool=true, bool_opt=true, date=Date.parse("2020-01-01"), - date_time=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal=7567.79, + date_time=DateTime.iso8601('2020-01-01T00:00:00.000Z'), + decimal=8322.39, enum=Shared::Enum::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, str_="example", str_opt="optional example", ), - unknown="tempore", - uri="http://smart-chuck.com", - uuid="c4f3789f-d871-4f99-9d2e-fd121aa6f1e6", ), - bigint_parameter=111111, - bigint_parameter_optional=111111, - bigint_str_parameter="111111", - bigint_str_parameter_optional="111111", + bigint_parameter=51075, + bigint_parameter_optional=904827, + bigint_str_parameter="delectus", + bigint_str_parameter_optional="mollitia", bool_parameter=false, - date_parameter=Date.parse("2020-01-01"), - date_time_parameter=DateTime.iso8601('2020-01-01T00:00:00Z'), - decimal_parameter=1.1, - decimal_parameter_optional=1.1, - decimal_str_parameter="1.1", - decimal_str_parameter_optional="1.1", - double_parameter=2.2222222, - enum_parameter=Operations::UsageExamplePostEnumParameter::VALUE3, + date_parameter=Date.parse("2021-01-29"), + date_time_parameter=DateTime.iso8601('2022-12-20T23:22:33.052Z'), + decimal_parameter=6.64, + decimal_parameter_optional=9100.73, + decimal_str_parameter="hic", + decimal_str_parameter_optional="voluptatem", + double_parameter=2783.25, + enum_parameter=Operations::UsageExamplePostEnumParameter::VALUE1, falsey_number_parameter=0, - float32_parameter=1.1, - float_parameter=1.1, - int64_parameter=111111, - int_parameter=1, + float32_parameter=1858.97, + float_parameter=8959.12, + int64_parameter=691508, + int_parameter=126727, opt_enum_parameter=Operations::UsageExamplePostOptEnumParameter::VALUE3, - str_parameter="example 2", + str_parameter="example 1", ), request_body=Operations::UsageExamplePostRequestBody.new( - email="Monique.Stanton30@gmail.com", - format_email="Blake.Hermiston@hotmail.com", - format_uri="http://afraid-magic.biz", - format_uuid="d68ea19f-1d17-4051-b39d-08086a184039", - hostname="exotic-saving.com", - ipv4="96.3.125.29", - ipv6="f93f:5f06:42da:c7af:515c:c413:aa63:aae8", + faker_formatted_strings=Shared::FakerFormattedStrings.new( + address_format="2795 Renner Manors", + directory_format="sequi", + domain_format="aliquid", + email_format="Onie24@yahoo.com", + filename_format="reiciendis", + filepath_format="repellat", + image_format="nulla", + ipv4_format="171.158.226.10", + ipv6_format="6bee:4825:c1fc:0e11:5c80:bff9:1854:4ec4", + json_format="{"foo":82814,"bar":"|hisQ{'VLK","bike":48503,"a":89551,"b":20868,"name":37535,"prop":64113}", + mac_format="reprehenderit", + password_format="distinctio", + phone_format="259-239-2835 x986", + timezone_format="delectus", + unknown_format="velit", + url_format="vitae", + uuid_format="3a1f5fd9-4259-4c0b-b6f2-5ea944f3b756", + zipcode_format="01937-2463", + ), + faker_strings=Shared::FakerStrings.new( + city="East Gradyville", + iban="incidunt", + id="3835bbc0-5a23-4a45-8efc-5fde10a0ce21", + i_pv4="109.152.228.90", + i_pv6="1001:9c6d:c5e3:4762:799b:fbbe:6949:fb2b", + account="nam", + address="97694 Dooley Streets", + amount="nemo", + avatar="illum", + color="facilis", + comment="non", + company="Shields - Walter", + country="Puerto Rico", + country_code="TF", + currency="ad", + datatype="facere", + default="laborum", + description="eveniet", + directory="laborum", + domain_name="incidunt", + email_addr="maxime", + extension="ipsam", + filename="alias", + filepath="suscipit", + filetype="deserunt", + first_name="Kellen", + full_name="laborum", + gender="male", + job="occaecati", + json="{"foo":77737,"bar":14352,"bike":30130,"a":75586,"b":"@sYqZ]:Hks2`y","bar":68748,"bike":21550,"a":"y6dr8>4zQL","b":71158,"name":15369,"prop":73044}", + macFormat: "voluptas", + passwordFormat: "deserunt", + phoneFormat: "321.688.7165 x211", + timezoneFormat: "distinctio", + unknownFormat: "facilis", + urlFormat: "aliquid", + uuidFormat: "79d23227-15bf-40cb-b1e3-1b8b90f3443a", + zipcodeFormat: "00590", + }, + fakerStrings: { + city: "Skilesfield", + iban: "doloribus", + id: "4b921879-fce9-453f-b3ef-7fbc7abd74dd", + iPv4: "49.158.197.3", + iPv6: "f5d2:cff7:c70a:4562:6d43:6813:f16d:9f5f", + account: "quisquam", + address: "473 Greg Circle", + amount: "magnam", + avatar: "ea", + color: "quo", + comment: "consectetur", + company: "Cole, Hane and Becker", + country: "Uruguay", + countryCode: "PN", + currency: "aut", + datatype: "aut", + default: "deleniti", + description: "impedit", + directory: "aliquam", + domainName: "fugit", + emailAddr: "accusamus", + extension: "inventore", + filename: "non", + filepath: "et", + filetype: "dolorum", + firstName: "Margarett", + fullName: "placeat", + gender: "female", + job: "eum", + json: "{"foo":75213,"bar":"nqDd):8-X&","bike":30159,"a":26211,"b":45614,"name":"`Jap;IDm1P","prop":")&^a4ioi`9"}", + key: "eos", + lastName: "Hintz", + latitude: "ab", + locale: "cupiditate", + longitude: "consequatur", + mac: "tempora", + manufacturer: "debitis", + material: "ipsam", + middleName: "aspernatur", + model: "sequi", + password: "quo", + phone: "907.840.4583 x454", + pin: "sapiente", + postalCode: "64074", + price: "quas", + product: "praesentium", + sex: "female", + street: "1662 Champlin Glen", + timezone: "nisi", + unit: "fugit", + url: "sapiente", + username: "Carol90", + uuid: "9817ee17-cbe6-41e6-b7b9-5bc0ab3c20c4", + }, simpleObject: { - any: "necessitatibus", - bigint: 572252, - bigintStr: "officia", + any: "sapiente", + bigint: 232865, + bigintStr: "esse", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2230.81, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 5034.27, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, + int32Enum: SimpleObjectInt32Enum.SixtyNine, intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, @@ -90,30 +158,27 @@ sdk.generation.usageExamplePost({ str: "example", strOpt: "optional example", }, - unknown: "dolorum", - uri: "http://irritating-standardisation.org", - uuid: "b14cd66a-e395-4efb-9ba8-8f3a66997074", }, - bigintParameter: 111111, - bigintParameterOptional: 111111, - bigintStrParameter: "111111", - bigintStrParameterOptional: "111111", + bigintParameter: 857723, + bigintParameterOptional: 557811, + bigintStrParameter: "esse", + bigintStrParameterOptional: "quasi", boolParameter: false, - dateParameter: new RFCDate("2020-01-01"), - dateTimeParameter: new Date("2020-01-01T00:00:00Z"), - decimalParameter: 1.1, - decimalParameterOptional: 1.1, - decimalStrParameter: "1.1", - decimalStrParameterOptional: "1.1", - doubleParameter: 2.2222222, - enumParameter: UsageExamplePostEnumParameter.Value3, + dateParameter: new RFCDate("2021-02-19"), + dateTimeParameter: new Date("2021-04-10T23:50:37.359Z"), + decimalParameter: 8207.67, + decimalParameterOptional: 1576.32, + decimalStrParameter: "eveniet", + decimalStrParameterOptional: "asperiores", + doubleParameter: 8155.24, + enumParameter: UsageExamplePostEnumParameter.Value1, falseyNumberParameter: 0, - float32Parameter: 1.1, - floatParameter: 1.1, - int64Parameter: 111111, - intParameter: 1, + float32Parameter: 1594.14, + floatParameter: 944.58, + int64Parameter: 628899, + intParameter: 633608, optEnumParameter: UsageExamplePostOptEnumParameter.Value3, - strParameter: "example 3", + strParameter: "example 2", }, operationSecurity).then((res: UsageExamplePostResponse) => { if (res.statusCode == 200) { // handle response @@ -423,7 +488,7 @@ const sdk = new SDK({ }); sdk.paginationCursorBody({ - cursor: 592081, + cursor: 118126, }).then((res: PaginationCursorBodyResponse) => { if (res.statusCode == 200) { do { diff --git a/typescript-client-sdk/USAGE.md b/typescript-client-sdk/USAGE.md index 78def7ec0..7009dd9de 100755 --- a/typescript-client-sdk/USAGE.md +++ b/typescript-client-sdk/USAGE.md @@ -45,22 +45,90 @@ const operationSecurity: UsageExamplePostSecurity = { sdk.generation.usageExamplePost({ requestBody: { - email: "Larue_Rau85@yahoo.com", - formatEmail: "Roselyn_Kassulke@yahoo.com", - formatUri: "http://innocent-effect.org", - formatUuid: "0f467cc8-796e-4d15-9a05-dfc2ddf7cc78", - hostname: "soulful-poppy.com", - ipv4: "184.163.148.36", - ipv6: "8fc8:1674:2cb7:3920:5929:396f:ea75:96eb", + fakerFormattedStrings: { + addressFormat: "5786 Little Streets", + directoryFormat: "vel", + domainFormat: "error", + emailFormat: "Gerda89@yahoo.com", + filenameFormat: "ipsa", + filepathFormat: "delectus", + imageFormat: "tempora", + ipv4Format: "98.122.202.207", + ipv6Format: "8796:ed15:1a05:dfc2:ddf7:cc78:ca1b:a928", + jsonFormat: "{"foo":"gQ*GM92ieK","bar":56843,"bike":1878,"a":61763,"b":61209,"name":61693,"prop":94374}", + macFormat: "saepe", + passwordFormat: "fuga", + phoneFormat: "464.960.0966 x612", + timezoneFormat: "corporis", + unknownFormat: "explicabo", + urlFormat: "nobis", + uuidFormat: "5955907a-ff1a-43a2-ba94-67739251aa52", + zipcodeFormat: "19368-0068", + }, + fakerStrings: { + city: "Boyerworth", + iban: "voluptatibus", + id: "e78f097b-0074-4f15-871b-5e6e13b99d48", + iPv4: "133.234.24.235", + iPv6: "91e4:50ad:2abd:4426:9802:d502:a94b:b4f6", + account: "non", + address: "535 Marquardt Pine", + amount: "dolor", + avatar: "debitis", + color: "a", + comment: "dolorum", + company: "Kirlin - Stamm", + country: "Virgin Islands, U.S.", + countryCode: "PF", + currency: "dicta", + datatype: "magnam", + default: "cumque", + description: "facere", + directory: "ea", + domainName: "aliquid", + emailAddr: "laborum", + extension: "accusamus", + filename: "non", + filepath: "occaecati", + filetype: "enim", + firstName: "Shannon", + fullName: "delectus", + gender: "male", + job: "provident", + json: "{"foo":"^ORy6\\EHZY","bar":1919,"bike":30157,"a":"^;;DZfHr-*","b":9237,"name":"AWTV$]{]>I","prop":89654}", + key: "odit", + lastName: "Hilll", + latitude: "quasi", + locale: "iure", + longitude: "doloribus", + mac: "debitis", + manufacturer: "eius", + material: "maxime", + middleName: "deleniti", + model: "facilis", + password: "in", + phone: "(293) 749-8198", + pin: "accusantium", + postalCode: "56117", + price: "illum", + product: "pariatur", + sex: "male", + street: "5140 Willow Radial", + timezone: "ipsam", + unit: "voluptate", + url: "autem", + username: "Mireya.Beatty97", + uuid: "0d30c5fb-b258-4705-b202-c73d5fe9b90c", + }, simpleObject: { - any: "architecto", - bigint: 60225, - bigintStr: "reiciendis", + any: "consequuntur", + bigint: 500026, + bigintStr: "error", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 6667.67, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 503.7, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -73,30 +141,27 @@ sdk.generation.usageExamplePost({ str: "example", strOpt: "optional example", }, - unknown: "dolores", - uri: "http://growing-cappelletti.net", - uuid: "5955907a-ff1a-43a2-ba94-67739251aa52", }, - bigintParameter: 111111, - bigintParameterOptional: 111111, - bigintStrParameter: "111111", - bigintStrParameterOptional: "111111", + bigintParameter: 237893, + bigintParameterOptional: 992397, + bigintStrParameter: "earum", + bigintStrParameterOptional: "modi", boolParameter: false, - dateParameter: new RFCDate("2020-01-01"), - dateTimeParameter: new Date("2020-01-01T00:00:00Z"), - decimalParameter: 1.1, - decimalParameterOptional: 1.1, - decimalStrParameter: "1.1", - decimalStrParameterOptional: "1.1", - doubleParameter: 2.2222222, - enumParameter: UsageExamplePostEnumParameter.Value3, + dateParameter: new RFCDate("2021-08-23"), + dateTimeParameter: new Date("2021-04-10T01:47:20.724Z"), + decimalParameter: 5899.1, + decimalParameterOptional: 7508.44, + decimalStrParameter: "libero", + decimalStrParameterOptional: "delectus", + doubleParameter: 3119.45, + enumParameter: UsageExamplePostEnumParameter.Value2, falseyNumberParameter: 0, - float32Parameter: 1.1, - floatParameter: 1.1, - int64Parameter: 111111, - intParameter: 1, + float32Parameter: 3982.21, + floatParameter: 2123.9, + int64Parameter: 209843, + intParameter: 222443, optEnumParameter: UsageExamplePostOptEnumParameter.Value3, - strParameter: "example 3", + strParameter: "example 1", }, operationSecurity).then((res: UsageExamplePostResponse) => { if (res.statusCode == 200) { // handle response diff --git a/typescript-client-sdk/__tests__/telemetry.test.ts b/typescript-client-sdk/__tests__/telemetry.test.ts index cbe8d53a1..e5442e564 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.2 2.131.1 0.1.0" + "speakeasy-sdk/typescript 1.35.3 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.2 2.131.1 0.1.0" + "speakeasy-sdk/typescript 1.35.3 2.131.1 0.1.0" ); }); diff --git a/typescript-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md b/typescript-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md index dbf5a40c6..c9a69d1da 100755 --- a/typescript-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md +++ b/typescript-client-sdk/docs/models/operations/usageexamplepost200applicationjsonjson.md @@ -5,14 +5,6 @@ | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *string* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `formatEmail` | *string* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `formatUri` | *string* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `formatUuid` | *string* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *string* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *string* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *string* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simpleObject` | [shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *string* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *string* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *string* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `fakerFormattedStrings` | [shared.FakerFormattedStrings](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `fakerStrings` | [shared.FakerStrings](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simpleObject` | [shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/usageexamplepostrequest.md b/typescript-client-sdk/docs/models/operations/usageexamplepostrequest.md index 5836c922f..c1a7e5ceb 100755 --- a/typescript-client-sdk/docs/models/operations/usageexamplepostrequest.md +++ b/typescript-client-sdk/docs/models/operations/usageexamplepostrequest.md @@ -6,23 +6,23 @@ | Field | Type | Required | Description | Example | | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | `requestBody` | [UsageExamplePostRequestBody](../../models/operations/usageexamplepostrequestbody.md) | :heavy_minus_sign: | A request body that contains fields with different formats for testing example generation | | -| `bigintParameter` | *number* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigintParameterOptional` | *number* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `bigintStrParameter` | *string* | :heavy_check_mark: | An bigint parameter | 111111 | -| `bigintStrParameterOptional` | *string* | :heavy_minus_sign: | An bigint parameter | 111111 | -| `boolParameter` | *boolean* | :heavy_check_mark: | A boolean parameter | false | -| `dateParameter` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | A date parameter | 2020-01-01 | -| `dateTimeParameter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | A date time parameter | 2020-01-01T00:00:00Z | -| `decimalParameter` | *number* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimalParameterOptional` | *number* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `decimalStrParameter` | *string* | :heavy_check_mark: | A decimal parameter | 1.1 | -| `decimalStrParameterOptional` | *string* | :heavy_minus_sign: | A decimal parameter | 1.1 | -| `doubleParameter` | *number* | :heavy_check_mark: | A double parameter | 2.2222222 | -| `enumParameter` | [UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | value3 | +| `bigintParameter` | *number* | :heavy_check_mark: | An bigint parameter | | +| `bigintParameterOptional` | *number* | :heavy_minus_sign: | An bigint parameter | | +| `bigintStrParameter` | *string* | :heavy_check_mark: | An bigint parameter | | +| `bigintStrParameterOptional` | *string* | :heavy_minus_sign: | An bigint parameter | | +| `boolParameter` | *boolean* | :heavy_check_mark: | A boolean parameter | | +| `dateParameter` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | A date parameter | | +| `dateTimeParameter` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | A date time parameter | | +| `decimalParameter` | *number* | :heavy_check_mark: | A decimal parameter | | +| `decimalParameterOptional` | *number* | :heavy_minus_sign: | A decimal parameter | | +| `decimalStrParameter` | *string* | :heavy_check_mark: | A decimal parameter | | +| `decimalStrParameterOptional` | *string* | :heavy_minus_sign: | A decimal parameter | | +| `doubleParameter` | *number* | :heavy_check_mark: | A double parameter | | +| `enumParameter` | [UsageExamplePostEnumParameter](../../models/operations/usageexamplepostenumparameter.md) | :heavy_check_mark: | An enum parameter | | | `falseyNumberParameter` | *number* | :heavy_check_mark: | A number parameter that contains a falsey example value | 0 | -| `float32Parameter` | *number* | :heavy_check_mark: | A float32 parameter | 1.1 | -| `floatParameter` | *number* | :heavy_check_mark: | A float parameter | 1.1 | -| `int64Parameter` | *number* | :heavy_check_mark: | An int64 parameter | 111111 | -| `intParameter` | *number* | :heavy_check_mark: | An integer parameter | 1 | +| `float32Parameter` | *number* | :heavy_check_mark: | A float32 parameter | | +| `floatParameter` | *number* | :heavy_check_mark: | A float parameter | | +| `int64Parameter` | *number* | :heavy_check_mark: | An int64 parameter | | +| `intParameter` | *number* | :heavy_check_mark: | An integer parameter | | | `optEnumParameter` | [UsageExamplePostOptEnumParameter](../../models/operations/usageexamplepostoptenumparameter.md) | :heavy_minus_sign: | An enum parameter | value3 | | `strParameter` | *string* | :heavy_check_mark: | A string parameter | example 1 | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/operations/usageexamplepostrequestbody.md b/typescript-client-sdk/docs/models/operations/usageexamplepostrequestbody.md index 5586eab90..05c90c8f6 100755 --- a/typescript-client-sdk/docs/models/operations/usageexamplepostrequestbody.md +++ b/typescript-client-sdk/docs/models/operations/usageexamplepostrequestbody.md @@ -7,14 +7,6 @@ A request body that contains fields with different formats for testing example g | Field | Type | Required | Description | | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `email` | *string* | :heavy_minus_sign: | A field called email that will have emails generated as examples | -| `formatEmail` | *string* | :heavy_minus_sign: | A field formatted as an email that will have emails generated as examples | -| `formatUri` | *string* | :heavy_minus_sign: | A field formatted as a uri that will have uris generated as examples | -| `formatUuid` | *string* | :heavy_minus_sign: | A field formatted as a uuid that will have uuids generated as examples | -| `hostname` | *string* | :heavy_minus_sign: | A field formatted as a hostname that will have hostnames generated as examples | -| `ipv4` | *string* | :heavy_minus_sign: | A field formatted as an ipv4 that will have ipv4s generated as examples | -| `ipv6` | *string* | :heavy_minus_sign: | A field formatted as an ipv6 that will have ipv6s generated as examples | -| `simpleObject` | [shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | -| `unknown` | *string* | :heavy_minus_sign: | A field formatted as an unknown that will have random strings generated as examples | -| `uri` | *string* | :heavy_minus_sign: | A field called uri that will have uris generated as examples | -| `uuid` | *string* | :heavy_minus_sign: | A field called uuid that will have uuids generated as examples | \ No newline at end of file +| `fakerFormattedStrings` | [shared.FakerFormattedStrings](../../models/shared/fakerformattedstrings.md) | :heavy_minus_sign: | A set of strings with format values that lead to relevant examples being generated for them | +| `fakerStrings` | [shared.FakerStrings](../../models/shared/fakerstrings.md) | :heavy_minus_sign: | A set of strings with fieldnames that lead to relevant examples being generated for them | +| `simpleObject` | [shared.SimpleObject](../../models/shared/simpleobject.md) | :heavy_minus_sign: | A simple object that uses all our supported primitive types and enums and has optional properties.

[A link to the external docs.](https://docs.speakeasyapi.dev) | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/shared/fakerformattedstrings.md b/typescript-client-sdk/docs/models/shared/fakerformattedstrings.md new file mode 100755 index 000000000..301e12c55 --- /dev/null +++ b/typescript-client-sdk/docs/models/shared/fakerformattedstrings.md @@ -0,0 +1,27 @@ +# FakerFormattedStrings + +A set of strings with format values that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `addressFormat` | *string* | :heavy_minus_sign: | A field that will have an address generated as example | +| `directoryFormat` | *string* | :heavy_minus_sign: | A field that will have a directory path generated as example | +| `domainFormat` | *string* | :heavy_minus_sign: | A field that will have a domain name generated as example | +| `emailFormat` | *string* | :heavy_minus_sign: | A field that will have an email address generated as example | +| `filenameFormat` | *string* | :heavy_minus_sign: | A field that will have a filename generated as example | +| `filepathFormat` | *string* | :heavy_minus_sign: | A field that will have a file path generated as example | +| `imageFormat` | *string* | :heavy_minus_sign: | A field that will have a image url generated as example | +| `ipv4Format` | *string* | :heavy_minus_sign: | A field that will have an IPv4 address generated as example | +| `ipv6Format` | *string* | :heavy_minus_sign: | A field that will have an IPv6 address generated as example | +| `jsonFormat` | *string* | :heavy_minus_sign: | A field that will have a JSON generated as example | +| `macFormat` | *string* | :heavy_minus_sign: | A field that will have a MAC address generated as example | +| `passwordFormat` | *string* | :heavy_minus_sign: | A field that will have a fake password generated as example | +| `phoneFormat` | *string* | :heavy_minus_sign: | A field that will have a phone number generated as example | +| `timezoneFormat` | *string* | :heavy_minus_sign: | A field that will have a timezone generated as example | +| `unknownFormat` | *string* | :heavy_minus_sign: | A field that will have random words generated as example | +| `urlFormat` | *string* | :heavy_minus_sign: | A field that will have a URL generated as example | +| `uuidFormat` | *string* | :heavy_minus_sign: | A field that will have a UUID generated as example | +| `zipcodeFormat` | *string* | :heavy_minus_sign: | A field that will have a postal code generated as example | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/shared/fakerstrings.md b/typescript-client-sdk/docs/models/shared/fakerstrings.md new file mode 100755 index 000000000..7a5e9e888 --- /dev/null +++ b/typescript-client-sdk/docs/models/shared/fakerstrings.md @@ -0,0 +1,62 @@ +# FakerStrings + +A set of strings with fieldnames that lead to relevant examples being generated for them + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `city` | *string* | :heavy_minus_sign: | N/A | +| `iban` | *string* | :heavy_minus_sign: | N/A | +| `id` | *string* | :heavy_minus_sign: | N/A | +| `iPv4` | *string* | :heavy_minus_sign: | N/A | +| `iPv6` | *string* | :heavy_minus_sign: | N/A | +| `account` | *string* | :heavy_minus_sign: | N/A | +| `address` | *string* | :heavy_minus_sign: | N/A | +| `amount` | *string* | :heavy_minus_sign: | N/A | +| `avatar` | *string* | :heavy_minus_sign: | N/A | +| `color` | *string* | :heavy_minus_sign: | N/A | +| `comment` | *string* | :heavy_minus_sign: | N/A | +| `company` | *string* | :heavy_minus_sign: | N/A | +| `country` | *string* | :heavy_minus_sign: | N/A | +| `countryCode` | *string* | :heavy_minus_sign: | N/A | +| `currency` | *string* | :heavy_minus_sign: | N/A | +| `datatype` | *string* | :heavy_minus_sign: | N/A | +| `default` | *string* | :heavy_minus_sign: | N/A | +| `description` | *string* | :heavy_minus_sign: | N/A | +| `directory` | *string* | :heavy_minus_sign: | N/A | +| `domainName` | *string* | :heavy_minus_sign: | N/A | +| `emailAddr` | *string* | :heavy_minus_sign: | N/A | +| `extension` | *string* | :heavy_minus_sign: | N/A | +| `filename` | *string* | :heavy_minus_sign: | N/A | +| `filepath` | *string* | :heavy_minus_sign: | N/A | +| `filetype` | *string* | :heavy_minus_sign: | N/A | +| `firstName` | *string* | :heavy_minus_sign: | N/A | +| `fullName` | *string* | :heavy_minus_sign: | N/A | +| `gender` | *string* | :heavy_minus_sign: | N/A | +| `job` | *string* | :heavy_minus_sign: | N/A | +| `json` | *string* | :heavy_minus_sign: | N/A | +| `key` | *string* | :heavy_minus_sign: | N/A | +| `lastName` | *string* | :heavy_minus_sign: | N/A | +| `latitude` | *string* | :heavy_minus_sign: | N/A | +| `locale` | *string* | :heavy_minus_sign: | N/A | +| `longitude` | *string* | :heavy_minus_sign: | N/A | +| `mac` | *string* | :heavy_minus_sign: | N/A | +| `manufacturer` | *string* | :heavy_minus_sign: | N/A | +| `material` | *string* | :heavy_minus_sign: | N/A | +| `middleName` | *string* | :heavy_minus_sign: | N/A | +| `model` | *string* | :heavy_minus_sign: | N/A | +| `password` | *string* | :heavy_minus_sign: | N/A | +| `phone` | *string* | :heavy_minus_sign: | N/A | +| `pin` | *string* | :heavy_minus_sign: | N/A | +| `postalCode` | *string* | :heavy_minus_sign: | N/A | +| `price` | *string* | :heavy_minus_sign: | N/A | +| `product` | *string* | :heavy_minus_sign: | N/A | +| `sex` | *string* | :heavy_minus_sign: | N/A | +| `street` | *string* | :heavy_minus_sign: | N/A | +| `timezone` | *string* | :heavy_minus_sign: | N/A | +| `unit` | *string* | :heavy_minus_sign: | N/A | +| `url` | *string* | :heavy_minus_sign: | N/A | +| `username` | *string* | :heavy_minus_sign: | N/A | +| `uuid` | *string* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/typescript-client-sdk/docs/models/shared/simpleobject.md b/typescript-client-sdk/docs/models/shared/simpleobject.md index ac2673764..753ba98d5 100755 --- a/typescript-client-sdk/docs/models/shared/simpleobject.md +++ b/typescript-client-sdk/docs/models/shared/simpleobject.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *boolean* | :heavy_check_mark: | A boolean property. | true | | `boolOpt` | *boolean* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `dateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `dateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *number* | :heavy_minus_sign: | N/A | | | `enum` | [Enum](../../models/shared/enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *number* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/typescript-client-sdk/docs/models/shared/simpleobjectwithtype.md b/typescript-client-sdk/docs/models/shared/simpleobjectwithtype.md index 112ccd3ff..c8b39b042 100755 --- a/typescript-client-sdk/docs/models/shared/simpleobjectwithtype.md +++ b/typescript-client-sdk/docs/models/shared/simpleobjectwithtype.md @@ -16,7 +16,7 @@ A link to the external docs. | `bool` | *boolean* | :heavy_check_mark: | A boolean property. | true | | `boolOpt` | *boolean* | :heavy_minus_sign: | An optional boolean property. | true | | `date` | [RFCDate](../../types/rfcdate.md) | :heavy_check_mark: | A date property. | 2020-01-01 | -| `dateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00Z | +| `dateTime` | [Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) | :heavy_check_mark: | A date-time property. | 2020-01-01T00:00:00.000Z | | `decimal` | *number* | :heavy_minus_sign: | N/A | | | `enum` | [Enum](../../models/shared/enum.md) | :heavy_check_mark: | A string based enum | two | | `float32` | *number* | :heavy_check_mark: | A float32 property. | 2.2222222 | diff --git a/typescript-client-sdk/docs/sdks/auth/README.md b/typescript-client-sdk/docs/sdks/auth/README.md index c6c9cfb3c..9ee6b78c2 100755 --- a/typescript-client-sdk/docs/sdks/auth/README.md +++ b/typescript-client-sdk/docs/sdks/auth/README.md @@ -99,8 +99,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const passwd: string = "labore"; -const user: string = "labore"; +const passwd: string = "quae"; +const user: string = "earum"; const operationSecurity: BasicAuthSecurity = { password: "YOUR_PASSWORD", username: "YOUR_USERNAME", diff --git a/typescript-client-sdk/docs/sdks/authnew/README.md b/typescript-client-sdk/docs/sdks/authnew/README.md index 411e14930..04ecaa9ec 100755 --- a/typescript-client-sdk/docs/sdks/authnew/README.md +++ b/typescript-client-sdk/docs/sdks/authnew/README.md @@ -37,13 +37,13 @@ const sdk = new SDK({ sdk.authNew.apiKeyAuthGlobalNew({ basicAuth: { - password: "suscipit", - username: "Liana_Rohan", + password: "vel", + username: "Isai_Gerlach74", }, headerAuth: [ { - expectedValue: "aspernatur", - headerName: "architecto", + expectedValue: "accusantium", + headerName: "aliquam", }, ], }).then((res: ApiKeyAuthGlobalNewResponse) => { @@ -85,13 +85,13 @@ const sdk = new SDK({ sdk.authNew.authGlobal({ basicAuth: { - password: "magnam", - username: "Audrey_Marks", + password: "sapiente", + username: "Blake.Hermiston", }, headerAuth: [ { - expectedValue: "quos", - headerName: "sint", + expectedValue: "nisi", + headerName: "aut", }, ], }).then((res: AuthGlobalResponse) => { @@ -134,13 +134,13 @@ const operationSecurity: BasicAuthNewSecurity = { sdk.authNew.basicAuthNew({ basicAuth: { - password: "accusantium", - username: "Madaline.Wisozk", + password: "voluptatum", + username: "Christop_Sporer", }, headerAuth: [ { - expectedValue: "eum", - headerName: "dolor", + expectedValue: "itaque", + headerName: "dolorum", }, ], }, operationSecurity).then((res: BasicAuthNewResponse) => { @@ -183,13 +183,13 @@ const operationSecurity: MultipleMixedOptionsAuthSecurity = { sdk.authNew.multipleMixedOptionsAuth({ basicAuth: { - password: "necessitatibus", - username: "Brown43", + password: "architecto", + username: "Leonard86", }, headerAuth: [ { - expectedValue: "doloribus", - headerName: "debitis", + expectedValue: "et", + headerName: "voluptate", }, ], }, operationSecurity).then((res: MultipleMixedOptionsAuthResponse) => { @@ -236,13 +236,13 @@ const operationSecurity: MultipleMixedSchemeAuthSecurity = { sdk.authNew.multipleMixedSchemeAuth({ basicAuth: { - password: "eius", - username: "Rachel.Lind10", + password: "ipsa", + username: "Erick23", }, headerAuth: [ { - expectedValue: "architecto", - headerName: "repudiandae", + expectedValue: "iste", + headerName: "temporibus", }, ], }, operationSecurity).then((res: MultipleMixedSchemeAuthResponse) => { @@ -291,13 +291,13 @@ const operationSecurity: MultipleOptionsWithMixedSchemesAuthSecurity = { sdk.authNew.multipleOptionsWithMixedSchemesAuth({ basicAuth: { - password: "ullam", - username: "Michael_Koss14", + password: "accusantium", + username: "Joyce.Armstrong", }, headerAuth: [ { - expectedValue: "saepe", - headerName: "pariatur", + expectedValue: "mollitia", + headerName: "ab", }, ], }, operationSecurity).then((res: MultipleOptionsWithMixedSchemesAuthResponse) => { @@ -346,13 +346,13 @@ const operationSecurity: MultipleOptionsWithSimpleSchemesAuthSecurity = { sdk.authNew.multipleOptionsWithSimpleSchemesAuth({ basicAuth: { - password: "accusantium", - username: "Carroll.Lang", + password: "corrupti", + username: "Demond58", }, headerAuth: [ { - expectedValue: "sunt", - headerName: "quo", + expectedValue: "numquam", + headerName: "impedit", }, ], }, operationSecurity).then((res: MultipleOptionsWithSimpleSchemesAuthResponse) => { @@ -395,13 +395,13 @@ const operationSecurity: MultipleSimpleOptionsAuthSecurity = { sdk.authNew.multipleSimpleOptionsAuth({ basicAuth: { - password: "illum", - username: "Samantha_Schoen", + password: "explicabo", + username: "Garrison.Anderson", }, headerAuth: [ { - expectedValue: "odit", - headerName: "ea", + expectedValue: "maiores", + headerName: "natus", }, ], }, operationSecurity).then((res: MultipleSimpleOptionsAuthResponse) => { @@ -445,13 +445,13 @@ const operationSecurity: MultipleSimpleSchemeAuthSecurity = { sdk.authNew.multipleSimpleSchemeAuth({ basicAuth: { - password: "accusantium", - username: "Annie.Wunsch45", + password: "velit", + username: "Webster.Hirthe40", }, headerAuth: [ { - expectedValue: "autem", - headerName: "nam", + expectedValue: "quaerat", + headerName: "consequuntur", }, ], }, operationSecurity).then((res: MultipleSimpleSchemeAuthResponse) => { @@ -494,13 +494,13 @@ const operationSecurity: Oauth2AuthNewSecurity = { sdk.authNew.oauth2AuthNew({ basicAuth: { - password: "eaque", - username: "Sammy.Hickle85", + password: "repellendus", + username: "Loyce_Schoen", }, headerAuth: [ { - expectedValue: "amet", - headerName: "aut", + expectedValue: "asperiores", + headerName: "nemo", }, ], }, operationSecurity).then((res: Oauth2AuthNewResponse) => { @@ -543,13 +543,13 @@ const operationSecurity: OpenIdConnectAuthNewSecurity = { sdk.authNew.openIdConnectAuthNew({ basicAuth: { - password: "cumque", - username: "Floyd_Welch17", + password: "quae", + username: "Elwyn.Sawayn7", }, headerAuth: [ { - expectedValue: "quis", - headerName: "totam", + expectedValue: "adipisci", + headerName: "fuga", }, ], }, operationSecurity).then((res: OpenIdConnectAuthNewResponse) => { diff --git a/typescript-client-sdk/docs/sdks/documentation/README.md b/typescript-client-sdk/docs/sdks/documentation/README.md index 7b2e6224c..69c5a478e 100755 --- a/typescript-client-sdk/docs/sdks/documentation/README.md +++ b/typescript-client-sdk/docs/sdks/documentation/README.md @@ -26,7 +26,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const language: string = "dignissimos"; +const language: string = "id"; sdk.documentation.getDocumentationPerLanguage(language).then((res: GetDocumentationPerLanguageResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/errors/README.md b/typescript-client-sdk/docs/sdks/errors/README.md index 67ce80da4..a3a71756e 100755 --- a/typescript-client-sdk/docs/sdks/errors/README.md +++ b/typescript-client-sdk/docs/sdks/errors/README.md @@ -62,7 +62,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const statusCode: number = 54338; +const statusCode: number = 380729; sdk.errors.statusGetError(statusCode).then((res: StatusGetErrorResponse) => { if (res.statusCode == 200) { @@ -99,7 +99,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const statusCode: number = 338985; +const statusCode: number = 246063; sdk.errors.statusGetXSpeakeasyErrors(statusCode).then((res: StatusGetXSpeakeasyErrorsResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/flattening/README.md b/typescript-client-sdk/docs/sdks/flattening/README.md index 3df89ca78..a0e52d10c 100755 --- a/typescript-client-sdk/docs/sdks/flattening/README.md +++ b/typescript-client-sdk/docs/sdks/flattening/README.md @@ -31,14 +31,14 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const simpleObject: SimpleObject = { - any: "nesciunt", - bigint: 179490, - bigintStr: "perferendis", + any: "culpa", + bigint: 665859, + bigintStr: "recusandae", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 1709.86, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 5173.09, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -51,7 +51,7 @@ const simpleObject: SimpleObject = { str: "example", strOpt: "optional example", }; -const str: string = "dolor"; +const str: string = "ducimus"; sdk.flattening.componentBodyAndParamConflict(simpleObject, str).then((res: ComponentBodyAndParamConflictResponse) => { if (res.statusCode == 200) { @@ -91,16 +91,16 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const paramStr: string = "vero"; +const paramStr: string = "quos"; const simpleObject: SimpleObject = { - any: "nostrum", - bigint: 944120, - bigintStr: "recusandae", + any: "vel", + bigint: 287051, + bigintStr: "possimus", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 6082.53, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 7065.75, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -150,8 +150,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const strPathParameter: string = "voluptatem"; -const strQueryParameter: string = "porro"; +const strPathParameter: string = "in"; +const strQueryParameter: string = "corporis"; sdk.flattening.conflictingParams(strPathParameter, strQueryParameter).then((res: ConflictingParamsResponse) => { if (res.statusCode == 200) { @@ -194,9 +194,9 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const requestBody: InlineBodyAndParamConflictRequestBody = { - str: "consequuntur", + str: "reiciendis", }; -const str: string = "blanditiis"; +const str: string = "assumenda"; sdk.flattening.inlineBodyAndParamConflict(requestBody, str).then((res: InlineBodyAndParamConflictResponse) => { if (res.statusCode == 200) { @@ -239,9 +239,9 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const requestBody: InlineBodyAndParamNoConflictRequestBody = { - bodyStr: "error", + bodyStr: "nemo", }; -const paramStr: string = "eaque"; +const paramStr: string = "recusandae"; sdk.flattening.inlineBodyAndParamNoConflict(requestBody, paramStr).then((res: InlineBodyAndParamNoConflictResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/generation/README.md b/typescript-client-sdk/docs/sdks/generation/README.md index 5d6d05aa3..ece440b1a 100755 --- a/typescript-client-sdk/docs/sdks/generation/README.md +++ b/typescript-client-sdk/docs/sdks/generation/README.md @@ -110,8 +110,8 @@ const sdk = new SDK({ }); sdk.generation.deprecatedFieldInSchemaPost({ - deprecatedField: "occaecati", - newField: "rerum", + deprecatedField: "aliquid", + newField: "aperiam", }).then((res: DeprecatedFieldInSchemaPostResponse) => { if (res.statusCode == 200) { // handle response @@ -187,7 +187,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const deprecatedParameter: string = "adipisci"; +const deprecatedParameter: string = "cum"; sdk.generation.deprecatedOperationNoCommentsGet(deprecatedParameter).then((res: DeprecatedOperationNoCommentsGetResponse) => { if (res.statusCode == 200) { @@ -231,8 +231,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const deprecatedParameter: string = "asperiores"; -const newParameter: string = "earum"; +const deprecatedParameter: string = "consectetur"; +const newParameter: string = "in"; sdk.generation.deprecatedOperationWithCommentsGet(deprecatedParameter, newParameter).then((res: DeprecatedOperationWithCommentsGetResponse) => { if (res.statusCode == 200) { @@ -414,10 +414,10 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const requestBody: IgnoresPostApplicationJSON = { - callbackUrl: "http://peaceful-popularity.name", - testProp: "pariatur", + callbackUrl: "http://vivacious-slider.biz", + testProp: "doloribus", }; -const testParam: string = "provident"; +const testParam: string = "suscipit"; sdk.generation.ignoresPost(requestBody, testParam).then((res: IgnoresPostResponse) => { if (res.statusCode == 200) { @@ -499,13 +499,13 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const bigint: number = 750844; -const date: RFCDate = new RFCDate("2021-01-26"); -const decimal: number = 3119.45; +const bigint: number = 968972; +const date: RFCDate = new RFCDate("2021-03-11"); +const decimal: number = 8970.71; const obj: TypedParameterGenerationGetObj = { bool: false, - num: 5542.42, - str: "aliquid", + num: 2965.56, + str: "sunt", }; sdk.generation.typedParameterGenerationGet(bigint, date, decimal, obj).then((res: TypedParameterGenerationGetResponse) => { @@ -562,58 +562,123 @@ const operationSecurity: UsageExamplePostSecurity = { sdk.generation.usageExamplePost({ requestBody: { - email: "Cornelius21@gmail.com", - formatEmail: "Kevin.Ritchie@hotmail.com", - formatUri: "https://electric-porter.biz", - formatUuid: "100674eb-f692-480d-9ba7-7a89ebf737ae", - hostname: "fake-cat.com", - ipv4: "58.194.225.81", - ipv6: "e6a9:5d8a:0d44:6ce2:af7a:73cf:3be4:53f8", + fakerFormattedStrings: { + addressFormat: "222 Jena Villages", + directoryFormat: "debitis", + domainFormat: "consectetur", + emailFormat: "Mary91@yahoo.com", + filenameFormat: "libero", + filepathFormat: "vitae", + imageFormat: "accusamus", + ipv4Format: "161.69.34.97", + ipv6Format: "555b:a3c2:8744:ed53:b88f:3a8d:8f5c:0b2f", + jsonFormat: "{"foo":99440,"bar":"Kb'Y<_/JGa","bike":37832,"a":"*Dzt'{\"S|:","b":59223,"name":89676,"prop":40673}", + macFormat: "occaecati", + passwordFormat: "quos", + phoneFormat: "424.940.2857 x32385", + timezoneFormat: "sit", + unknownFormat: "nobis", + urlFormat: "error", + uuidFormat: "55efd20e-457e-4185-8b6a-89fbe3a5aa8e", + zipcodeFormat: "51280", + }, + fakerStrings: { + city: "Quitzonboro", + iban: "consequatur", + id: "75088e51-8620-465e-904f-3b1194b8abf6", + iPv4: "0.58.165.116", + iPv6: "9f9d:fe0a:b7da:8a50:ce18:7f86:bc17:3d68", + account: "error", + address: "886 Bret Island", + amount: "maiores", + avatar: "corrupti", + color: "at", + comment: "error", + company: "Hoeger - Walker", + country: "Mali", + countryCode: "LV", + currency: "sunt", + datatype: "recusandae", + default: "dolorum", + description: "repellendus", + directory: "labore", + domainName: "reiciendis", + emailAddr: "doloremque", + extension: "repudiandae", + filename: "dicta", + filepath: "accusantium", + filetype: "beatae", + firstName: "Chandler", + fullName: "enim", + gender: "female", + job: "velit", + json: "{"foo":"U { if (res.statusCode == 200) { // handle response diff --git a/typescript-client-sdk/docs/sdks/globals/README.md b/typescript-client-sdk/docs/sdks/globals/README.md index 849769ad1..ca80ce5b9 100755 --- a/typescript-client-sdk/docs/sdks/globals/README.md +++ b/typescript-client-sdk/docs/sdks/globals/README.md @@ -25,7 +25,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const globalPathParam: number = 903720; +const globalPathParam: number = 684935; sdk.globals.globalPathParameterGet(globalPathParam).then((res: GlobalPathParameterGetResponse) => { if (res.statusCode == 200) { @@ -62,7 +62,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const globalQueryParam: string = "ipsum"; +const globalQueryParam: string = "ratione"; sdk.globals.globalsQueryParameterGet(globalQueryParam).then((res: GlobalsQueryParameterGetResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/pagination/README.md b/typescript-client-sdk/docs/sdks/pagination/README.md index e4576a177..b8259eff8 100755 --- a/typescript-client-sdk/docs/sdks/pagination/README.md +++ b/typescript-client-sdk/docs/sdks/pagination/README.md @@ -31,7 +31,7 @@ const sdk = new SDK({ }); sdk.pagination.paginationCursorBody({ - cursor: 83422, + cursor: 656762, }).then((res: PaginationCursorBodyResponse) => { if (res.statusCode == 200) { do { @@ -72,7 +72,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const cursor: number = 749255; +const cursor: number = 898760; sdk.pagination.paginationCursorParams(cursor).then((res: PaginationCursorParamsResponse) => { if (res.statusCode == 200) { @@ -116,9 +116,9 @@ const sdk = new SDK({ }); sdk.pagination.paginationLimitOffsetOffsetBody({ - limit: 552193, - offset: 731694, - page: 584476, + limit: 862063, + offset: 8931, + page: 97258, }).then((res: PaginationLimitOffsetOffsetBodyResponse) => { if (res.statusCode == 200) { do { @@ -162,8 +162,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const limit: number = 45614; -const offset: number = 961937; +const limit: number = 90233; +const offset: number = 497777; sdk.pagination.paginationLimitOffsetOffsetParams(limit, offset).then((res: PaginationLimitOffsetOffsetParamsResponse) => { if (res.statusCode == 200) { @@ -208,9 +208,9 @@ const sdk = new SDK({ }); sdk.pagination.paginationLimitOffsetPageBody({ - limit: 209157, - offset: 292147, - page: 286915, + limit: 619183, + offset: 581082, + page: 382440, }).then((res: PaginationLimitOffsetPageBodyResponse) => { if (res.statusCode == 200) { do { @@ -251,7 +251,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const page: number = 240829; +const page: number = 241557; sdk.pagination.paginationLimitOffsetPageParams(page).then((res: PaginationLimitOffsetPageParamsResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/parameters/README.md b/typescript-client-sdk/docs/sdks/parameters/README.md index 6eafdd51f..fd009e468 100755 --- a/typescript-client-sdk/docs/sdks/parameters/README.md +++ b/typescript-client-sdk/docs/sdks/parameters/README.md @@ -46,11 +46,11 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const mapParam: Record = { - "dolorum": "architecto", + "quasi": "magni", }; const mapArrParam: Record = { - "quae": [ - "aut", + "doloribus": [ + "nulla", ], }; @@ -97,20 +97,20 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const objParam: SimpleObject = { - any: "quas", - bigint: 929530, - bigintStr: "consequatur", + any: "necessitatibus", + bigint: 58534, + bigintStr: "tempora", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 6699.17, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 4706.21, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.Third, + int32Enum: SimpleObjectInt32Enum.SixtyNine, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -119,7 +119,7 @@ const objParam: SimpleObject = { }; const objArrParam: DeepObjectQueryParamsObjectObjArrParam = { arr: [ - "doloribus", + "iusto", ], }; @@ -159,7 +159,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const duplicateParamRequest: string = "ut"; +const duplicateParamRequest: string = "esse"; sdk.parameters.duplicateParam(duplicateParamRequest).then((res: DuplicateParamResponse) => { if (res.statusCode == 200) { @@ -197,10 +197,10 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const arrParam: string[] = [ - "facilis", + "praesentium", ]; const arrParamExploded: number[] = [ - 586410, + 979963, ]; sdk.parameters.formQueryParamsArray(arrParam, arrParamExploded).then((res: FormQueryParamsArrayResponse) => { @@ -240,10 +240,10 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const mapParam: Record = { - "qui": "quae", + "reiciendis": "vel", }; const mapParamExploded: Record = { - "laudantium": 485628, + "architecto": 857125, }; sdk.parameters.formQueryParamsMap(mapParam, mapParamExploded).then((res: FormQueryParamsMapResponse) => { @@ -285,14 +285,14 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const objParamExploded: SimpleObject = { - any: "occaecati", - bigint: 977496, - bigintStr: "quisquam", + any: "doloremque", + bigint: 117315, + bigintStr: "odio", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 8765.06, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2712.52, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -306,20 +306,20 @@ const objParamExploded: SimpleObject = { strOpt: "optional example", }; const objParam: SimpleObject = { - any: "ipsum", - bigint: 961571, - bigintStr: "voluptate", + any: "consectetur", + bigint: 399812, + bigintStr: "ipsa", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2317.01, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 6713.84, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.Third, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -364,9 +364,9 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const boolParam: boolean = false; -const intParam: number = 492268; -const numParam: number = 9413.78; -const strParam: string = "distinctio"; +const intParam: number = 856756; +const numParam: number = 7137.67; +const strParam: string = "aliquid"; sdk.parameters.formQueryParamsPrimitive(boolParam, intParam, numParam, strParam).then((res: FormQueryParamsPrimitiveResponse) => { if (res.statusCode == 200) { @@ -409,15 +409,15 @@ const sdk = new SDK({ }); const refObjParam: RefQueryParamObj = { bool: false, - int: 799203, - num: 4861.6, - str: "similique", + int: 639187, + num: 3813.97, + str: "aliquid", }; const refObjParamExploded: RefQueryParamObjExploded = { bool: false, - int: 708548, - num: 8742.88, - str: "ducimus", + int: 21973, + num: 4317.6, + str: "voluptas", }; sdk.parameters.formQueryParamsRefParamObject(refObjParam, refObjParamExploded).then((res: FormQueryParamsRefParamObjectResponse) => { @@ -457,7 +457,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const xHeaderArray: string[] = [ - "dolore", + "iste", ]; sdk.parameters.headerParamsArray(xHeaderArray).then((res: HeaderParamsArrayResponse) => { @@ -496,10 +496,10 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const xHeaderMap: Record = { - "quibusdam": "illum", + "id": "ab", }; const xHeaderMapExplode: Record = { - "sequi": "natus", + "error": "possimus", }; sdk.parameters.headerParamsMap(xHeaderMap, xHeaderMapExplode).then((res: HeaderParamsMapResponse) => { @@ -541,20 +541,20 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const xHeaderObj: SimpleObject = { - any: "impedit", - bigint: 13236, - bigintStr: "voluptatibus", + any: "voluptates", + bigint: 653421, + bigintStr: "laborum", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3472.33, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 7263.43, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -562,14 +562,14 @@ const xHeaderObj: SimpleObject = { strOpt: "optional example", }; const xHeaderObjExplode: SimpleObject = { - any: "porro", - bigint: 981830, - bigintStr: "doloribus", + any: "enim", + bigint: 110477, + bigintStr: "repellendus", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 4783.7, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 4050.36, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -620,9 +620,9 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const xHeaderBoolean: boolean = false; -const xHeaderInteger: number = 4048; -const xHeaderNumber: number = 6394.73; -const xHeaderString: string = "tempora"; +const xHeaderInteger: number = 281153; +const xHeaderNumber: number = 3210.43; +const xHeaderString: string = "expedita"; sdk.parameters.headerParamsPrimitive(xHeaderBoolean, xHeaderInteger, xHeaderNumber, xHeaderString).then((res: HeaderParamsPrimitiveResponse) => { if (res.statusCode == 200) { @@ -666,20 +666,20 @@ const sdk = new SDK({ }); const deepObjParam: DeepObject = { any: { - any: "ea", - bigint: 136900, - bigintStr: "vel", + any: "molestias", + bigint: 737254, + bigintStr: "aliquid", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 8221.18, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 1097.84, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.SixtyNine, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -688,20 +688,20 @@ const deepObjParam: DeepObject = { }, arr: [ { - any: "ex", - bigint: 511319, - bigintStr: "dicta", + any: "veritatis", + bigint: 703218, + bigintStr: "est", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2243.17, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 6347.86, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -710,23 +710,23 @@ const deepObjParam: DeepObject = { }, ], bool: false, - int: 406120, + int: 889288, map: { - "nulla": { - any: "excepturi", - bigint: 972920, - bigintStr: "nostrum", + "architecto": { + any: "fuga", + bigint: 867168, + bigintStr: "debitis", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 9608.35, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 291.9, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.Third, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -734,45 +734,45 @@ const deepObjParam: DeepObject = { strOpt: "optional example", }, }, - num: 4113.72, + num: 9372.19, obj: { - any: "impedit", - bigint: 359271, - bigintStr: "veniam", + any: "ex", + bigint: 958308, + bigintStr: "rem", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3994.99, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 7963.2, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.SixtyNine, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, str: "example", strOpt: "optional example", }, - str: "ea", - type: "quo", + str: "ratione", + type: "ullam", }; const simpleObjParam: SimpleObject = { - any: "consectetur", - bigint: 926213, - bigintStr: "aspernatur", + any: "perferendis", + bigint: 848341, + bigintStr: "totam", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3253.1, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 7706.75, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, @@ -817,9 +817,9 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const headerParam: string = "libero"; -const pathParam: string = "aut"; -const queryStringParam: string = "aut"; +const headerParam: string = "ipsam"; +const pathParam: string = "culpa"; +const queryStringParam: string = "dolor"; sdk.parameters.mixedParametersCamelCase(headerParam, pathParam, queryStringParam).then((res: MixedParametersCamelCaseResponse) => { if (res.statusCode == 200) { @@ -858,9 +858,9 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const headerParam: string = "deleniti"; -const pathParam: string = "impedit"; -const queryStringParam: string = "aliquam"; +const headerParam: string = "aliquam"; +const pathParam: string = "inventore"; +const queryStringParam: string = "deleniti"; sdk.parameters.mixedParametersPrimitives(headerParam, pathParam, queryStringParam).then((res: MixedParametersPrimitivesResponse) => { if (res.statusCode == 200) { @@ -902,20 +902,20 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const deepObjectParam: SimpleObject = { - any: "fugit", - bigint: 882860, - bigintStr: "inventore", + any: "veritatis", + bigint: 274575, + bigintStr: "dolor", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2506.22, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 86.89, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.Third, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -923,20 +923,20 @@ const deepObjectParam: SimpleObject = { strOpt: "optional example", }; const formParam: SimpleObject = { - any: "laborum", - bigint: 810424, - bigintStr: "velit", + any: "modi", + bigint: 144286, + bigintStr: "ab", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 4321.48, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 5137.6, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Third, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -944,20 +944,20 @@ const formParam: SimpleObject = { strOpt: "optional example", }; const jsonParam: SimpleObject = { - any: "quas", - bigint: 829603, - bigintStr: "nulla", + any: "fugiat", + bigint: 369490, + bigintStr: "consequuntur", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3790.34, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 551.07, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.SixtyNine, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1005,20 +1005,20 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const jsonObj: SimpleObject = { - any: "tempora", - bigint: 256139, - bigintStr: "explicabo", + any: "impedit", + bigint: 884952, + bigintStr: "esse", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 5919.35, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 8972.77, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.Second, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1064,29 +1064,29 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const arrParam: string[] = [ - "magnam", + "nesciunt", ]; const arrParamExploded: number[] = [ - 487935, + 712927, ]; const mapParam: Record = { - "eius": "esse", + "eum": "vel", }; const objParam: SimpleObject = { - any: "esse", - bigint: 524593, - bigintStr: "fuga", + any: "voluptatum", + bigint: 301692, + bigintStr: "exercitationem", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 4420.15, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 704.1, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.Third, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1133,7 +1133,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const arrParam: string[] = [ - "ut", + "nobis", ]; sdk.parameters.simplePathParameterArrays(arrParam).then((res: SimplePathParameterArraysResponse) => { @@ -1172,10 +1172,10 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const mapParam: Record = { - "eum": "suscipit", + "laboriosam": "recusandae", }; const mapParamExploded: Record = { - "assumenda": 181151, + "consequuntur": 28952, }; sdk.parameters.simplePathParameterMaps(mapParam, mapParamExploded).then((res: SimplePathParameterMapsResponse) => { @@ -1217,19 +1217,19 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); const objParam: SimpleObject = { - any: "praesentium", - bigint: 788546, - bigintStr: "veritatis", + any: "exercitationem", + bigint: 895692, + bigintStr: "quasi", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 568.48, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 3925.69, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, @@ -1238,20 +1238,20 @@ const objParam: SimpleObject = { strOpt: "optional example", }; const objParamExploded: SimpleObject = { - any: "neque", - bigint: 778696, - bigintStr: "illum", + any: "est", + bigint: 690785, + bigintStr: "sequi", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 7774.08, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 9873.49, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.First, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1297,8 +1297,8 @@ const sdk = new SDK({ }); const boolParam: boolean = false; const intParam: number = 1; -const numParam: number = 1783.67; -const strParam: string = "voluptas"; +const numParam: number = 5796.81; +const strParam: string = "nemo"; sdk.parameters.simplePathParameterPrimitives(boolParam, intParam, numParam, strParam).then((res: SimplePathParameterPrimitivesResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/requestbodies/README.md b/typescript-client-sdk/docs/sdks/requestbodies/README.md index 36b582808..5e5d103fc 100755 --- a/typescript-client-sdk/docs/sdks/requestbodies/README.md +++ b/typescript-client-sdk/docs/sdks/requestbodies/README.md @@ -105,8 +105,8 @@ const sdk = new SDK({ }); sdk.requestBodies.nullableObjectPost({ - optional: "ab", - required: 587600, + optional: "voluptate", + required: 501063, }).then((res: NullableObjectPostResponse) => { if (res.statusCode == 200) { // handle response @@ -187,12 +187,12 @@ const sdk = new SDK({ }); sdk.requestBodies.nullableRequiredPropertyPost({ - nullableOptionalInt: 9688, + nullableOptionalInt: 642352, nullableRequiredArray: [ - 2728.22, + 3763.89, ], - nullableRequiredEnum: NullableRequiredPropertyPostRequestBodyNullableRequiredEnum.Second, - nullableRequiredInt: 370853, + nullableRequiredEnum: NullableRequiredPropertyPostRequestBodyNullableRequiredEnum.First, + nullableRequiredInt: 364912, }).then((res: NullableRequiredPropertyPostResponse) => { if (res.statusCode == 200) { // handle response @@ -231,12 +231,12 @@ const sdk = new SDK({ sdk.requestBodies.nullableRequiredSharedObjectPost({ nullableOptionalObj: { - optional: "aspernatur", - required: 197054, + optional: "quos", + required: 260904, }, nullableRequiredObj: { - optional: "quo", - required: 459856, + optional: "aspernatur", + required: 495970, }, }).then((res: NullableRequiredSharedObjectPostResponse) => { if (res.statusCode == 200) { @@ -278,20 +278,20 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArray([ { - any: "recusandae", - bigint: 44612, - bigintStr: "distinctio", + any: "nesciunt", + bigint: 681740, + bigintStr: "laudantium", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 7997.96, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2773.4, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -339,19 +339,19 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayCamelCase([ { - anyVal: "nihil", - bigintStrVal: "totam", - bigintVal: 882710, + anyVal: "fugiat", + bigintStrVal: "dicta", + bigintVal: 395544, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 3068.1, + decimalVal: 1598.45, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.First, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -400,14 +400,14 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayObj([ { - any: "commodi", - bigint: 959434, - bigintStr: "dolores", + any: "cupiditate", + bigint: 970732, + bigintStr: "soluta", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 6455.7, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 38.6, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -460,19 +460,19 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayObjCamelCase([ { - anyVal: "porro", - bigintStrVal: "eum", - bigintVal: 556429, + anyVal: "occaecati", + bigintStrVal: "iste", + bigintVal: 170099, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 5100.17, + decimalVal: 813.69, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.OneHundredAndEightyOne, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Third, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -521,20 +521,20 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayOfArray([ [ { - any: "fugit", - bigint: 681393, - bigintStr: "mollitia", + any: "voluptatibus", + bigint: 719620, + bigintStr: "omnis", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2775.96, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 9663.9, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -584,19 +584,19 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayOfArrayCamelCase([ [ { - anyVal: "minima", - bigintStrVal: "nisi", - bigintVal: 147014, + anyVal: "maxime", + bigintStrVal: "magnam", + bigintVal: 836364, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 9564.06, + decimalVal: 5495.01, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.First, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Third, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -644,7 +644,7 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayOfArrayOfPrimitive([ [ - "explicabo", + "commodi", ], ]).then((res: RequestBodyPostApplicationJsonArrayOfArrayOfPrimitiveResponse) => { if (res.statusCode == 200) { @@ -687,21 +687,21 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayOfMap([ { - "saepe": { - any: "occaecati", - bigint: 543806, - bigintStr: "et", + "totam": { + any: "earum", + bigint: 267207, + bigintStr: "nam", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 4569.11, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 8773.99, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.Third, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -750,20 +750,20 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostApplicationJsonArrayOfMapCamelCase([ { - "veritatis": { - anyVal: "esse", - bigintStrVal: "quod", - bigintVal: 724168, + "vel": { + anyVal: "alias", + bigintStrVal: "quasi", + bigintVal: 247685, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 8771.31, + decimalVal: 9785.48, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.First, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -810,7 +810,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonArrayOfPrimitive([ - "saepe", + "nulla", ]).then((res: RequestBodyPostApplicationJsonArrayOfPrimitiveResponse) => { if (res.statusCode == 200) { // handle response @@ -851,42 +851,22 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonDeep({ - any: { - any: "harum", - bigint: 473221, - bigintStr: "rerum", - bool: true, - boolOpt: true, - date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 5801.97, - enum: Enum.Two, - float32: 2.2222222, - int: 999999, - int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.Third, - intOptNull: 999999, - num: 1.1, - numOptNull: 1.1, - str: "example", - strOpt: "optional example", - }, + any: "esse", arr: [ { - any: "eligendi", - bigint: 27069, - bigintStr: "culpa", + any: "nemo", + bigint: 444587, + bigintStr: "est", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 7313.98, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 3361.02, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, + int32Enum: SimpleObjectInt32Enum.SixtyNine, intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, @@ -896,23 +876,23 @@ sdk.requestBodies.requestBodyPostApplicationJsonDeep({ }, ], bool: false, - int: 160538, + int: 774684, map: { - "consequatur": { - any: "minus", - bigint: 308286, - bigintStr: "sapiente", + "hic": { + any: "necessitatibus", + bigint: 991891, + bigintStr: "ex", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2328.65, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 3767.41, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Second, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -920,30 +900,30 @@ sdk.requestBodies.requestBodyPostApplicationJsonDeep({ strOpt: "optional example", }, }, - num: 5909.84, + num: 650.82, obj: { - any: "a", - bigint: 857723, - bigintStr: "quas", + any: "minus", + bigint: 685478, + bigintStr: "laborum", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 4572.23, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2310.7, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.Third, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, str: "example", strOpt: "optional example", }, - str: "error", - type: "sint", + str: "ipsum", + type: "impedit", }).then((res: RequestBodyPostApplicationJsonDeepResponse) => { if (res.statusCode == 200) { // handle response @@ -983,22 +963,42 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonDeepCamelCase({ - anyVal: "possimus", + anyVal: { + anyVal: "soluta", + bigintStrVal: "repudiandae", + bigintVal: 721430, + boolOptVal: true, + boolVal: true, + dateTimeVal: new Date("2020-01-01T00:00:00Z"), + dateVal: new RFCDate("2020-01-01"), + decimalVal: 2940.76, + enumVal: Enum.Two, + float32Val: 2.2222222, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, + int32Val: 1, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, + intOptNullVal: 999999, + intVal: 999999, + numOptNullVal: 1.1, + numVal: 1.1, + strOptVal: "optional example", + strVal: "example", + }, arrVal: [ { - anyVal: "quia", - bigintStrVal: "eveniet", - bigintVal: 992430, + anyVal: "sequi", + bigintStrVal: "dignissimos", + bigintVal: 205566, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 8155.24, + decimalVal: 7781.72, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.First, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Third, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -1008,22 +1008,22 @@ sdk.requestBodies.requestBodyPostApplicationJsonDeepCamelCase({ }, ], boolVal: false, - intVal: 94458, + intVal: 437814, mapVal: { - "similique": { - anyVal: "culpa", - bigintStrVal: "aliquid", - bigintVal: 949298, + "odit": { + anyVal: "voluptatibus", + bigintStrVal: "vel", + bigintVal: 300824, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 627.13, + decimalVal: 8428.55, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.OneHundredAndEightyOne, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Third, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -1032,16 +1032,16 @@ sdk.requestBodies.requestBodyPostApplicationJsonDeepCamelCase({ strVal: "example", }, }, - numVal: 4473.78, + numVal: 7268.78, objVal: { - anyVal: "eius", - bigintStrVal: "libero", - bigintVal: 849039, + anyVal: "architecto", + bigintStrVal: "voluptatibus", + bigintVal: 156383, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 7422.38, + decimalVal: 7820.9, enumVal: Enum.Two, float32Val: 2.2222222, int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, @@ -1054,8 +1054,8 @@ sdk.requestBodies.requestBodyPostApplicationJsonDeepCamelCase({ strOptVal: "optional example", strVal: "example", }, - strVal: "sapiente", - type: "dicta", + strVal: "illo", + type: "accusantium", }).then((res: RequestBodyPostApplicationJsonDeepCamelCaseResponse) => { if (res.statusCode == 200) { // handle response @@ -1095,15 +1095,15 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMap({ - "ullam": { - any: "reprehenderit", - bigint: 356707, - bigintStr: "nisi", + "vel": { + any: "ea", + bigint: 107617, + bigintStr: "vero", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 163.28, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 5682.18, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -1156,18 +1156,18 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapCamelCase({ - "quibusdam": { - anyVal: "ex", - bigintStrVal: "deleniti", - bigintVal: 929292, + "ut": { + anyVal: "perspiciatis", + bigintStrVal: "earum", + bigintVal: 117525, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 6802.7, + decimalVal: 7722.66, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.OneHundredAndEightyOne, int32Val: 1, intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, intOptNullVal: 999999, @@ -1217,20 +1217,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapObj({ - "tenetur": { - any: "quasi", - bigint: 869489, - bigintStr: "et", + "itaque": { + any: "alias", + bigint: 391797, + bigintStr: "itaque", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 4541.62, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2421.78, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, @@ -1277,20 +1277,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapObjCamelCase({ - "veritatis": { - anyVal: "consectetur", - bigintStrVal: "adipisci", - bigintVal: 614465, + "dolor": { + anyVal: "iusto", + bigintStrVal: "sit", + bigintVal: 39992, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 8395.13, + decimalVal: 74.68, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Third, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -1337,22 +1337,22 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapOfArray({ - "aut": [ + "ea": [ { - any: "laudantium", - bigint: 428796, - bigintStr: "mollitia", + any: "quidem", + bigint: 377406, + bigintStr: "facilis", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 680.74, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 8093.65, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.First, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1400,19 +1400,19 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapOfArrayCamelCase({ - "voluptatem": [ + "deleniti": [ { - anyVal: "dolor", - bigintStrVal: "occaecati", - bigintVal: 253191, + anyVal: "a", + bigintStrVal: "voluptate", + bigintVal: 351936, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 7710.89, + decimalVal: 6001.93, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.OneHundredAndEightyOne, int32Val: 1, intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, intOptNullVal: 999999, @@ -1463,22 +1463,22 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapOfMap({ - "aut": { - "dignissimos": { - any: "dicta", - bigint: 981640, - bigintStr: "natus", + "impedit": { + "ipsam": { + any: "corporis", + bigint: 668234, + bigintStr: "error", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2446.51, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 4568.85, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.Second, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1526,21 +1526,21 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapOfMapCamelCase({ - "asperiores": { - "aperiam": { - anyVal: "ea", - bigintStrVal: "quaerat", - bigintVal: 162954, + "vero": { + "consectetur": { + anyVal: "vitae", + bigintStrVal: "inventore", + bigintVal: 212434, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 8315.2, + decimalVal: 3220.17, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.FiftyFive, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.Third, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -1587,8 +1587,8 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapOfMapOfPrimitive({ - "dignissimos": { - "officia": "asperiores", + "ex": { + "nemo": "soluta", }, }).then((res: RequestBodyPostApplicationJsonMapOfMapOfPrimitiveResponse) => { if (res.statusCode == 200) { @@ -1628,7 +1628,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMapOfPrimitive({ - "nemo": "quae", + "libero": "rem", }).then((res: RequestBodyPostApplicationJsonMapOfPrimitiveResponse) => { if (res.statusCode == 200) { // handle response @@ -1669,20 +1669,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonMultipleJsonFiltered({ - any: "quaerat", - bigint: 783235, - bigintStr: "quod", + any: "dolorum", + bigint: 487676, + bigintStr: "fugit", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2883.98, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 5.45, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.First, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1727,20 +1727,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonSimple({ - any: "fuga", - bigint: 662505, - bigintStr: "suscipit", + any: "quae", + bigint: 63553, + bigintStr: "modi", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2460.63, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2082.53, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Second, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -1785,19 +1785,19 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostApplicationJsonSimpleCamelCase({ - anyVal: "recusandae", - bigintStrVal: "totam", - bigintVal: 853940, + anyVal: "et", + bigintStrVal: "ipsum", + bigintVal: 602229, boolOptVal: true, boolVal: true, dateTimeVal: new Date("2020-01-01T00:00:00Z"), dateVal: new RFCDate("2020-01-01"), - decimalVal: 4240.89, + decimalVal: 8583.38, enumVal: Enum.Two, float32Val: 2.2222222, - int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.SixtyNine, + int32EnumVal: SimpleObjectCamelCaseInt32EnumVal.OneHundredAndEightyOne, int32Val: 1, - intEnumVal: SimpleObjectCamelCaseIntEnumVal.Second, + intEnumVal: SimpleObjectCamelCaseIntEnumVal.Third, intOptNullVal: 999999, intVal: 999999, numOptNullVal: 1.1, @@ -1842,19 +1842,19 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostComplexNumberTypes({ complexNumberTypes: { - bigint: 427834, - bigintStr: "labore", - decimal: 8225.6, - decimalStr: "facilis", - }, - pathBigInt: 738227, - pathBigIntStr: "commodi", - pathDecimal: 4471.44, - pathDecimalStr: "corporis", - queryBigInt: 968904, - queryBigIntStr: "assumenda", - queryDecimal: 3631.61, - queryDecimalStr: "recusandae", + bigint: 157222, + bigintStr: "quia", + decimal: 3421.37, + decimalStr: "omnis", + }, + pathBigInt: 727250, + pathBigIntStr: "dicta", + pathDecimal: 6633.18, + pathDecimalStr: "libero", + queryBigInt: 854460, + queryBigIntStr: "officia", + queryDecimal: 5546.03, + queryDecimalStr: "placeat", }).then((res: RequestBodyPostComplexNumberTypesResponse) => { if (res.statusCode == 200) { // handle response @@ -1900,34 +1900,34 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostDefaultsAndConsts({ - constBigInt: 397533, - constBigIntStr: "aperiam", + constBigInt: 25756, + constBigIntStr: "iusto", constBool: false, - constDate: new RFCDate("2022-07-15"), - constDateTime: new Date("2022-08-26T18:58:12.703Z"), - constDecimal: 9372.85, - constDecimalStr: "facere", - constEnumInt: DefaultsAndConstsConstEnumInt.One, + constDate: new RFCDate("2022-02-01"), + constDateTime: new Date("2022-12-13T23:42:10.683Z"), + constDecimal: 5171.37, + constDecimalStr: "dolore", + constEnumInt: DefaultsAndConstsConstEnumInt.Three, constEnumStr: DefaultsAndConstsConstEnumStr.Three, - constInt: 381760, - constNum: 9689.72, - constStr: "quidem", - constStrNull: "saepe", - defaultBigInt: 897071, - defaultBigIntStr: "dolore", + constInt: 32273, + constNum: 4181.09, + constStr: "esse", + constStrNull: "dolores", + defaultBigInt: 824798, + defaultBigIntStr: "beatae", defaultBool: false, - defaultDate: new RFCDate("2022-01-03"), - defaultDateTime: new Date("2022-10-01T23:04:48.771Z"), - defaultDecimal: 2282.63, - defaultDecimalStr: "beatae", - defaultEnumInt: DefaultsAndConstsDefaultEnumInt.Two, + defaultDate: new RFCDate("2021-05-14"), + defaultDateTime: new Date("2022-01-20T14:32:05.606Z"), + defaultDecimal: 5888.12, + defaultDecimalStr: "accusamus", + defaultEnumInt: DefaultsAndConstsDefaultEnumInt.Three, defaultEnumStr: DefaultsAndConstsDefaultEnumStr.Three, - defaultInt: 891523, - defaultNum: 2334.2, - defaultStr: "corporis", - defaultStrNullable: "harum", - defaultStrOptional: "laboriosam", - normalField: "ipsa", + defaultInt: 575078, + defaultNum: 4097.26, + defaultStr: "autem", + defaultStrNullable: "ipsam", + defaultStrOptional: "rerum", + normalField: "laudantium", singleEnumConstBool: false, singleEnumConstStr: DefaultsAndConstsSingleEnumConstStr.One, }).then((res: RequestBodyPostDefaultsAndConstsResponse) => { @@ -2008,23 +2008,43 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostFormDeep({ - any: "libero", + any: { + any: "officiis", + bigint: 972912, + bigintStr: "cum", + bool: true, + boolOpt: true, + date: new RFCDate("2020-01-01"), + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 8723.03, + enum: Enum.Two, + float32: 2.2222222, + int: 999999, + int32: 1, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.First, + intOptNull: 999999, + num: 1.1, + numOptNull: 1.1, + str: "example", + strOpt: "optional example", + }, arr: [ { - any: "vitae", - bigint: 881721, - bigintStr: "similique", + any: "quidem", + bigint: 684126, + bigintStr: "repudiandae", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2724.37, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 340.7, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.Second, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -2033,23 +2053,23 @@ sdk.requestBodies.requestBodyPostFormDeep({ }, ], bool: false, - int: 374244, + int: 177005, map: { - "voluptas": { - any: "minima", - bigint: 748789, - bigintStr: "dolorum", + "quibusdam": { + any: "odio", + bigint: 510128, + bigintStr: "odit", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 2378.07, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 1276.88, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.SixtyNine, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -2057,16 +2077,16 @@ sdk.requestBodies.requestBodyPostFormDeep({ strOpt: "optional example", }, }, - num: 5039.34, + num: 9371.17, obj: { - any: "in", - bigint: 296242, - bigintStr: "aliquam", + any: "adipisci", + bigint: 923306, + bigintStr: "similique", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 8859.63, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2828.37, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -2079,8 +2099,8 @@ sdk.requestBodies.requestBodyPostFormDeep({ str: "example", strOpt: "optional example", }, - str: "adipisci", - type: "cum", + str: "beatae", + type: "unde", }).then((res: RequestBodyPostFormDeepResponse) => { if (res.statusCode == 200) { // handle response @@ -2118,7 +2138,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostFormMapPrimitive({ - "blanditiis": "quas", + "molestiae": "delectus", }).then((res: RequestBodyPostFormMapPrimitiveResponse) => { if (res.statusCode == 200) { // handle response @@ -2158,20 +2178,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostFormSimple({ - any: "hic", - bigint: 201517, - bigintStr: "culpa", + any: "cupiditate", + bigint: 147801, + bigintStr: "numquam", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 5485.19, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2569.16, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.Second, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -2214,7 +2234,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostJsonDataTypesArrayBigInt([ - 940210, + 637856, ]).then((res: RequestBodyPostJsonDataTypesArrayBigIntResponse) => { if (res.statusCode == 200) { // handle response @@ -2252,7 +2272,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostJsonDataTypesArrayDate([ - new RFCDate("2022-04-01"), + new RFCDate("2022-03-29"), ]).then((res: RequestBodyPostJsonDataTypesArrayDateResponse) => { if (res.statusCode == 200) { // handle response @@ -2290,7 +2310,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostJsonDataTypesArrayDecimalStr([ - "sit", + "necessitatibus", ]).then((res: RequestBodyPostJsonDataTypesArrayDecimalStrResponse) => { if (res.statusCode == 200) { // handle response @@ -2327,7 +2347,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesBigInt(699575).then((res: RequestBodyPostJsonDataTypesBigIntResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesBigInt(359111).then((res: RequestBodyPostJsonDataTypesBigIntResponse) => { if (res.statusCode == 200) { // handle response } @@ -2363,7 +2383,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesBigIntStr("sed").then((res: RequestBodyPostJsonDataTypesBigIntStrResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesBigIntStr("qui").then((res: RequestBodyPostJsonDataTypesBigIntStrResponse) => { if (res.statusCode == 200) { // handle response } @@ -2435,7 +2455,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesDate(new RFCDate("2022-08-09")).then((res: RequestBodyPostJsonDataTypesDateResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesDate(new RFCDate("2021-12-08")).then((res: RequestBodyPostJsonDataTypesDateResponse) => { if (res.statusCode == 200) { // handle response } @@ -2471,7 +2491,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesDateTime(new Date("2020-11-16T19:55:44.497Z")).then((res: RequestBodyPostJsonDataTypesDateTimeResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesDateTime(new Date("2022-05-07T19:45:21.246Z")).then((res: RequestBodyPostJsonDataTypesDateTimeResponse) => { if (res.statusCode == 200) { // handle response } @@ -2507,7 +2527,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesDecimal(4518.22).then((res: RequestBodyPostJsonDataTypesDecimalResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesDecimal(8095.94).then((res: RequestBodyPostJsonDataTypesDecimalResponse) => { if (res.statusCode == 200) { // handle response } @@ -2543,7 +2563,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesDecimalStr("expedita").then((res: RequestBodyPostJsonDataTypesDecimalStrResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesDecimalStr("enim").then((res: RequestBodyPostJsonDataTypesDecimalStrResponse) => { if (res.statusCode == 200) { // handle response } @@ -2579,7 +2599,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesFloat32(708.69).then((res: RequestBodyPostJsonDataTypesFloat32Response) => { +sdk.requestBodies.requestBodyPostJsonDataTypesFloat32(2040.72).then((res: RequestBodyPostJsonDataTypesFloat32Response) => { if (res.statusCode == 200) { // handle response } @@ -2615,7 +2635,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesInt32(611749).then((res: RequestBodyPostJsonDataTypesInt32Response) => { +sdk.requestBodies.requestBodyPostJsonDataTypesInt32(446877).then((res: RequestBodyPostJsonDataTypesInt32Response) => { if (res.statusCode == 200) { // handle response } @@ -2651,7 +2671,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesInteger(292794).then((res: RequestBodyPostJsonDataTypesIntegerResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesInteger(796397).then((res: RequestBodyPostJsonDataTypesIntegerResponse) => { if (res.statusCode == 200) { // handle response } @@ -2688,7 +2708,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostJsonDataTypesMapBigIntStr({ - "laborum": "sed", + "eum": "modi", }).then((res: RequestBodyPostJsonDataTypesMapBigIntStrResponse) => { if (res.statusCode == 200) { // handle response @@ -2726,7 +2746,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostJsonDataTypesMapDateTime({ - "in": new Date("2022-04-21T22:21:50.112Z"), + "corporis": new Date("2022-02-01T00:51:21.880Z"), }).then((res: RequestBodyPostJsonDataTypesMapDateTimeResponse) => { if (res.statusCode == 200) { // handle response @@ -2764,7 +2784,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostJsonDataTypesMapDecimal({ - "explicabo": 3783.26, + "maiores": 7317.44, }).then((res: RequestBodyPostJsonDataTypesMapDecimalResponse) => { if (res.statusCode == 200) { // handle response @@ -2801,7 +2821,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesNumber(6041.18).then((res: RequestBodyPostJsonDataTypesNumberResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesNumber(460.13).then((res: RequestBodyPostJsonDataTypesNumberResponse) => { if (res.statusCode == 200) { // handle response } @@ -2837,7 +2857,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostJsonDataTypesString("architecto").then((res: RequestBodyPostJsonDataTypesStringResponse) => { +sdk.requestBodies.requestBodyPostJsonDataTypesString("libero").then((res: RequestBodyPostJsonDataTypesStringResponse) => { if (res.statusCode == 200) { // handle response } @@ -2876,20 +2896,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostMultipleContentTypesComponentFiltered({ - any: "suscipit", - bigint: 960257, - bigintStr: "debitis", + any: "ratione", + bigint: 289913, + bigintStr: "totam", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 724.34, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 5777.09, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.SixtyNine, + intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -2933,8 +2953,8 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostMultipleContentTypesInlineFiltered({ bool: false, - num: 5468.85, - str: "maiores", + num: 2420.99, + str: "minus", }).then((res: RequestBodyPostMultipleContentTypesInlineFilteredResponse) => { if (res.statusCode == 200) { // handle response @@ -2976,10 +2996,10 @@ const sdk = new SDK({ }); const requestBody: RequestBodyPostMultipleContentTypesSplitParamApplicationXWwwFormUrlencoded = { bool3: false, - num3: 2748.23, - str3: "sed", + num3: 6845.53, + str3: "nostrum", }; -const paramStr: string = "provident"; +const paramStr: string = "est"; sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamForm(requestBody, paramStr).then((res: RequestBodyPostMultipleContentTypesSplitParamFormResponse) => { if (res.statusCode == 200) { @@ -3023,10 +3043,10 @@ const sdk = new SDK({ }); const requestBody: RequestBodyPostMultipleContentTypesSplitParamApplicationJSON = { bool: false, - num: 2587.02, - str: "necessitatibus", + num: 7708.73, + str: "delectus", }; -const paramStr: string = "ipsum"; +const paramStr: string = "tempore"; sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamJson(requestBody, paramStr).then((res: RequestBodyPostMultipleContentTypesSplitParamJsonResponse) => { if (res.statusCode == 200) { @@ -3070,10 +3090,10 @@ const sdk = new SDK({ }); const requestBody: RequestBodyPostMultipleContentTypesSplitParamMultipartFormData = { bool2: false, - num2: 4067.33, - str2: "occaecati", + num2: 8786.01, + str2: "odit", }; -const paramStr: string = "quos"; +const paramStr: string = "repellat"; sdk.requestBodies.requestBodyPostMultipleContentTypesSplitParamMultipart(requestBody, paramStr).then((res: RequestBodyPostMultipleContentTypesSplitParamMultipartResponse) => { if (res.statusCode == 200) { @@ -3114,8 +3134,8 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostMultipleContentTypesSplitForm({ bool3: false, - num3: 9757.52, - str3: "tempora", + num3: 8659.46, + str3: "nemo", }).then((res: RequestBodyPostMultipleContentTypesSplitFormResponse) => { if (res.statusCode == 200) { // handle response @@ -3154,8 +3174,8 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostMultipleContentTypesSplitJson({ bool: false, - num: 2730.09, - str: "voluptate", + num: 4413.21, + str: "aperiam", }).then((res: RequestBodyPostMultipleContentTypesSplitJsonResponse) => { if (res.statusCode == 200) { // handle response @@ -3194,8 +3214,8 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPostMultipleContentTypesSplitMultipart({ bool2: false, - num2: 9700.76, - str2: "ex", + num2: 4864.1, + str2: "minima", }).then((res: RequestBodyPostMultipleContentTypesSplitMultipartResponse) => { if (res.statusCode == 200) { // handle response @@ -3232,7 +3252,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostNotNullableNotRequiredStringBody("sit").then((res: RequestBodyPostNotNullableNotRequiredStringBodyResponse) => { +sdk.requestBodies.requestBodyPostNotNullableNotRequiredStringBody("in").then((res: RequestBodyPostNotNullableNotRequiredStringBodyResponse) => { if (res.statusCode == 200) { // handle response } @@ -3269,7 +3289,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostNullArray([ - "non", + "ducimus", ]).then((res: RequestBodyPostNullArrayResponse) => { if (res.statusCode == 200) { // handle response @@ -3307,7 +3327,7 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPostNullDictionary({ - "officiis": "praesentium", + "excepturi": "dolores", }).then((res: RequestBodyPostNullDictionaryResponse) => { if (res.statusCode == 200) { // handle response @@ -3344,7 +3364,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostNullableNotRequiredStringBody("facilis").then((res: RequestBodyPostNullableNotRequiredStringBodyResponse) => { +sdk.requestBodies.requestBodyPostNullableNotRequiredStringBody("error").then((res: RequestBodyPostNullableNotRequiredStringBodyResponse) => { if (res.statusCode == 200) { // handle response } @@ -3380,7 +3400,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPostNullableRequiredStringBody("quaerat").then((res: RequestBodyPostNullableRequiredStringBodyResponse) => { +sdk.requestBodies.requestBodyPostNullableRequiredStringBody("veritatis").then((res: RequestBodyPostNullableRequiredStringBodyResponse) => { if (res.statusCode == 200) { // handle response } @@ -3416,7 +3436,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPutBytes("incidunt".encode()).then((res: RequestBodyPutBytesResponse) => { +sdk.requestBodies.requestBodyPutBytes("ducimus".encode()).then((res: RequestBodyPutBytesResponse) => { if (res.statusCode == 200) { // handle response } @@ -3451,8 +3471,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const requestBody: Uint8Array = "ipsam".encode(); -const queryStringParam: string = "debitis"; +const requestBody: Uint8Array = "voluptate".encode(); +const queryStringParam: string = "pariatur"; sdk.requestBodies.requestBodyPutBytesWithParams(requestBody, queryStringParam).then((res: RequestBodyPutBytesWithParamsResponse) => { if (res.statusCode == 200) { @@ -3494,17 +3514,17 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPutMultipartDeep({ - any: "sit", + any: "similique", arr: [ { - any: "nobis", - bigint: 625637, - bigintStr: "veniam", + any: "optio", + bigint: 401428, + bigintStr: "quaerat", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3295.43, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 4166.92, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -3519,17 +3539,17 @@ sdk.requestBodies.requestBodyPutMultipartDeep({ }, ], bool: false, - int: 862319, + int: 697274, map: { - "magni": { - any: "aperiam", - bigint: 901483, - bigintStr: "numquam", + "exercitationem": { + any: "quam", + bigint: 211455, + bigintStr: "modi", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3299.35, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 593.83, enum: Enum.Two, float32: 2.2222222, int: 999999, @@ -3543,30 +3563,30 @@ sdk.requestBodies.requestBodyPutMultipartDeep({ strOpt: "optional example", }, }, - num: 1046.27, + num: 1949.01, obj: { - any: "laudantium", - bigint: 348476, - bigintStr: "praesentium", + any: "repudiandae", + bigint: 741232, + bigintStr: "dicta", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 7400.98, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 9369.28, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Third, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, str: "example", strOpt: "optional example", }, - str: "voluptatum", - type: "error", + str: "dolores", + type: "nam", }).then((res: RequestBodyPutMultipartDeepResponse) => { if (res.statusCode == 200) { // handle response @@ -3605,8 +3625,8 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyPutMultipartFile({ file: { - content: "hic".encode(), - file: "expedita", + content: "dicta".encode(), + file: "consequuntur", }, }).then((res: RequestBodyPutMultipartFileResponse) => { if (res.statusCode == 200) { @@ -3647,20 +3667,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyPutMultipartSimple({ - any: "debitis", - bigint: 204923, - bigintStr: "dolorum", + any: "necessitatibus", + bigint: 748224, + bigintStr: "ipsa", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3416.98, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 4973.57, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Third, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -3702,7 +3722,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyPutString("corrupti").then((res: RequestBodyPutStringResponse) => { +sdk.requestBodies.requestBodyPutString("quasi").then((res: RequestBodyPutStringResponse) => { if (res.statusCode == 200) { // handle response } @@ -3737,8 +3757,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const requestBody: string = "accusamus"; -const queryStringParam: string = "tempora"; +const requestBody: string = "laboriosam"; +const queryStringParam: string = "pariatur"; sdk.requestBodies.requestBodyPutStringWithParams(requestBody, queryStringParam).then((res: RequestBodyPutStringWithParamsResponse) => { if (res.statusCode == 200) { @@ -3778,9 +3798,9 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyReadAndWrite({ - num1: 543678, - num2: 148268, - num3: 282699, + num1: 729448, + num2: 566506, + num3: 578210, }).then((res: RequestBodyReadAndWriteResponse) => { if (res.statusCode == 200) { // handle response @@ -3857,7 +3877,27 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.requestBodies.requestBodyReadOnlyUnion({}).then((res: RequestBodyReadOnlyUnionResponse) => { +sdk.requestBodies.requestBodyReadOnlyUnion({ + any: "aliquam", + bigint: 342342, + bigintStr: "doloribus", + bool: true, + boolOpt: true, + date: new RFCDate("2020-01-01"), + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 7573.64, + enum: Enum.Two, + float32: 2.2222222, + int: 999999, + int32: 1, + int32Enum: SimpleObjectInt32Enum.SixtyNine, + intEnum: SimpleObjectIntEnum.First, + intOptNull: 999999, + num: 1.1, + numOptNull: 1.1, + str: "example", + strOpt: "optional example", +}).then((res: RequestBodyReadOnlyUnionResponse) => { if (res.statusCode == 200) { // handle response } @@ -3897,25 +3937,9 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyReadWriteOnlyUnion({ - any: "culpa", - bigint: 710337, - bigintStr: "magnam", - bool: true, - boolOpt: true, - date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 78.84, - enum: Enum.Two, - float32: 2.2222222, - int: 999999, - int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Second, - intOptNull: 999999, - num: 1.1, - numOptNull: 1.1, - str: "example", - strOpt: "optional example", + num1: 657319, + num2: 559774, + num3: 517326, }).then((res: RequestBodyReadWriteOnlyUnionResponse) => { if (res.statusCode == 200) { // handle response @@ -3955,8 +3979,8 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyWriteOnly({ bool: false, - num: 245.27, - string: "voluptatum", + num: 5646.67, + string: "odio", }).then((res: RequestBodyWriteOnlyResponse) => { if (res.statusCode == 200) { // handle response @@ -3996,8 +4020,8 @@ const sdk = new SDK({ sdk.requestBodies.requestBodyWriteOnlyOutput({ bool: false, - num: 5580.65, - string: "repudiandae", + num: 511.7, + string: "saepe", }).then((res: RequestBodyWriteOnlyOutputResponse) => { if (res.statusCode == 200) { // handle response @@ -4038,20 +4062,20 @@ const sdk = new SDK({ }); sdk.requestBodies.requestBodyWriteOnlyUnion({ - any: "et", - bigint: 502710, - bigintStr: "ex", + any: "quos", + bigint: 614438, + bigintStr: "assumenda", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 1536.27, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 7316.34, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.Second, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, diff --git a/typescript-client-sdk/docs/sdks/resource/README.md b/typescript-client-sdk/docs/sdks/resource/README.md index 29016c328..70228c310 100755 --- a/typescript-client-sdk/docs/sdks/resource/README.md +++ b/typescript-client-sdk/docs/sdks/resource/README.md @@ -27,8 +27,8 @@ const sdk = new SDK({ sdk.resource.createFile({ file: { - content: "nostrum".encode(), - file: "saepe", + content: "doloremque".encode(), + file: "delectus", }, }).then((res: CreateFileResponse) => { if (res.statusCode == 200) { @@ -74,34 +74,36 @@ const sdk = new SDK({ sdk.resource.createResource({ arrayOfNumber: [ - 6222.31, + 7731.1, ], arrayOfString: [ - "consequatur", + "cum", ], chocolates: [ { - description: "incidunt", + description: "ipsum", }, ], - createdAt: new Date("2022-05-16T07:46:15.799Z"), - enumNumber: ExampleResourceEnumNumber.Three, + createdAt: new Date("2022-02-05T08:24:32.703Z"), + enumNumber: ExampleResourceEnumNumber.Two, enumStr: ExampleResourceEnumStr.One, - id: "194b8abf-603a-479f-9dfe-0ab7da8a50ce", + id: "55b197cd-44e2-4f52-982d-3513bb6f48b6", mapOfInteger: { - "quasi": 542457, + "quis": 391933, }, mapOfString: { - "reprehenderit": "asperiores", + "libero": "minus", }, - name: "Sam Powlowski IV", - updatedAt: new Date("2022-03-05T05:01:11.294Z"), + name: "Johnathan Emmerich", + updatedAt: new Date("2022-07-07T05:13:58.769Z"), vehicle: { - createdAt: new Date("2021-10-02T23:52:38.012Z"), - length: 8872.65, - name: "Tomas Mosciski", - type: ExampleBoatType.Boat, - updatedAt: new Date("2022-01-08T02:07:04.894Z"), + createdAt: new Date("2022-04-20T03:52:12.133Z"), + make: "eos", + model: "reprehenderit", + name: "Rita Kshlerin", + type: ExampleCarType.Car, + updatedAt: new Date("2020-06-10T07:13:59.609Z"), + year: 6040.78, }, }).then((res: CreateResourceResponse) => { if (res.statusCode == 200) { @@ -138,7 +140,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const resourceId: string = "corrupti"; +const resourceId: string = "officiis"; sdk.resource.deleteResource(resourceId).then((res: DeleteResourceResponse) => { if (res.statusCode == 200) { @@ -175,7 +177,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const resourceId: string = "at"; +const resourceId: string = "ducimus"; sdk.resource.getResource(resourceId).then((res: GetResourceResponse) => { if (res.statusCode == 200) { @@ -212,7 +214,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const resourceId: string = "error"; +const resourceId: string = "dolor"; sdk.resource.updateResource(resourceId).then((res: UpdateResourceResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/responsebodies/README.md b/typescript-client-sdk/docs/sdks/responsebodies/README.md index d5ab9e553..f169c52b6 100755 --- a/typescript-client-sdk/docs/sdks/responsebodies/README.md +++ b/typescript-client-sdk/docs/sdks/responsebodies/README.md @@ -35,7 +35,7 @@ const sdk = new SDK({ }); sdk.responseBodies.responseBodyAdditionalPropertiesComplexNumbersPost({ - "blanditiis": "suscipit", + "dicta": "error", }).then((res: ResponseBodyAdditionalPropertiesComplexNumbersPostResponse) => { if (res.statusCode == 200) { // handle response @@ -73,7 +73,7 @@ const sdk = new SDK({ }); sdk.responseBodies.responseBodyAdditionalPropertiesDatePost({ - "repudiandae": new RFCDate("2021-12-01"), + "porro": new RFCDate("2022-07-05"), }).then((res: ResponseBodyAdditionalPropertiesDatePostResponse) => { if (res.statusCode == 200) { // handle response @@ -111,7 +111,7 @@ const sdk = new SDK({ }); sdk.responseBodies.responseBodyAdditionalPropertiesPost({ - "sunt": "recusandae", + "esse": "fugiat", }).then((res: ResponseBodyAdditionalPropertiesPostResponse) => { if (res.statusCode == 200) { // handle response @@ -182,8 +182,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const xNumberHeader: number = 6806.97; -const xStringHeader: string = "repellendus"; +const xNumberHeader: number = 3223.33; +const xStringHeader: string = "aspernatur"; sdk.responseBodies.responseBodyEmptyWithHeaders(xNumberHeader, xStringHeader).then((res: ResponseBodyEmptyWithHeadersResponse) => { if (res.statusCode == 200) { @@ -366,11 +366,11 @@ const sdk = new SDK({ }); sdk.responseBodies.responseBodyZeroValueComplexTypePtrsPost({ - bigint: 287119, - bigintStr: "reiciendis", + bigint: 316501, + bigintStr: "delectus", date: new RFCDate("2020-01-01"), dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 429.76, + decimal: 4825.84, }).then((res: ResponseBodyZeroValueComplexTypePtrsPostResponse) => { if (res.statusCode == 200) { // handle response diff --git a/typescript-client-sdk/docs/sdks/retries/README.md b/typescript-client-sdk/docs/sdks/retries/README.md index 73b6250d9..15345cbb2 100755 --- a/typescript-client-sdk/docs/sdks/retries/README.md +++ b/typescript-client-sdk/docs/sdks/retries/README.md @@ -24,8 +24,8 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const requestId: string = "repudiandae"; -const numRetries: number = 116098; +const requestId: string = "dignissimos"; +const numRetries: number = 729828; sdk.retries.retriesGet(requestId, numRetries).then((res: RetriesGetResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/sdk/README.md b/typescript-client-sdk/docs/sdks/sdk/README.md index ae86b6aec..0a197edb3 100755 --- a/typescript-client-sdk/docs/sdks/sdk/README.md +++ b/typescript-client-sdk/docs/sdks/sdk/README.md @@ -29,7 +29,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.sdk.putAnythingIgnoredGeneration("id").then((res: PutAnythingIgnoredGenerationResponse) => { +sdk.sdk.putAnythingIgnoredGeneration("tenetur").then((res: PutAnythingIgnoredGenerationResponse) => { if (res.statusCode == 200) { // handle response } diff --git a/typescript-client-sdk/docs/sdks/telemetry/README.md b/typescript-client-sdk/docs/sdks/telemetry/README.md index 5ddc24e7d..f4ec255de 100755 --- a/typescript-client-sdk/docs/sdks/telemetry/README.md +++ b/typescript-client-sdk/docs/sdks/telemetry/README.md @@ -25,7 +25,7 @@ const sdk = new SDK({ globalPathParam: 100, globalQueryParam: "some example global query param", }); -const userAgent: string = "accusantium"; +const userAgent: string = "illo"; sdk.telemetry.telemetrySpeakeasyUserAgentGet(userAgent).then((res: TelemetrySpeakeasyUserAgentGetResponse) => { if (res.statusCode == 200) { diff --git a/typescript-client-sdk/docs/sdks/unions/README.md b/typescript-client-sdk/docs/sdks/unions/README.md index 06a79f10a..c044f95f3 100755 --- a/typescript-client-sdk/docs/sdks/unions/README.md +++ b/typescript-client-sdk/docs/sdks/unions/README.md @@ -38,7 +38,7 @@ const sdk = new SDK({ sdk.unions.flattenedTypedObjectPost({ type: TypedObject1Type.Obj1, - value: "beatae", + value: "ab", }).then((res: FlattenedTypedObjectPostResponse) => { if (res.statusCode == 200) { // handle response @@ -77,7 +77,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.unions.mixedTypeOneOfPost("enim").then((res: MixedTypeOneOfPostResponse) => { +sdk.unions.mixedTypeOneOfPost("accusamus").then((res: MixedTypeOneOfPostResponse) => { if (res.statusCode == 200) { // handle response } @@ -117,15 +117,15 @@ const sdk = new SDK({ sdk.unions.nullableOneOfRefInObjectPost({ nullableOneOfOne: { type: TypedObject1Type.Obj1, - value: "laboriosam", + value: "saepe", }, nullableOneOfTwo: { - type: TypedObject1Type.Obj1, - value: "a", + type: TypedObject2Type.Obj2, + value: "veniam", }, oneOfOne: { type: TypedObject1Type.Obj1, - value: "molestias", + value: "eos", }, }).then((res: NullableOneOfRefInObjectPostResponse) => { if (res.statusCode == 200) { @@ -165,8 +165,8 @@ const sdk = new SDK({ }); sdk.unions.nullableOneOfSchemaPost({ - type: TypedObject1Type.Obj1, - value: "saepe", + type: TypedObject2Type.Obj2, + value: "earum", }).then((res: NullableOneOfSchemaPostResponse) => { if (res.statusCode == 200) { // handle response @@ -246,7 +246,7 @@ const sdk = new SDK({ sdk.unions.nullableTypedObjectPost({ type: TypedObject1Type.Obj1, - value: "occaecati", + value: "praesentium", }).then((res: NullableTypedObjectPostResponse) => { if (res.statusCode == 200) { // handle response @@ -283,7 +283,7 @@ const sdk = new SDK({ globalQueryParam: "some example global query param", }); -sdk.unions.primitiveTypeOneOfPost(false).then((res: PrimitiveTypeOneOfPostResponse) => { +sdk.unions.primitiveTypeOneOfPost(999809).then((res: PrimitiveTypeOneOfPostResponse) => { if (res.statusCode == 200) { // handle response } @@ -329,20 +329,20 @@ const sdk = new SDK({ sdk.unions.stronglyTypedOneOfPost({ any: { - any: "adipisci", - bigint: 907876, - bigintStr: "occaecati", + any: "nihil", + bigint: 534908, + bigintStr: "illo", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 1602.3, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 2902.48, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.Second, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, + intEnum: SimpleObjectIntEnum.First, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -351,19 +351,19 @@ sdk.unions.stronglyTypedOneOfPost({ }, arr: [ { - any: "quis", - bigint: 440264, - bigintStr: "error", + any: "quisquam", + bigint: 591065, + bigintStr: "laudantium", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 764.86, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 9217.19, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, + int32Enum: SimpleObjectInt32Enum.FiftyFive, intEnum: SimpleObjectIntEnum.Third, intOptNull: 999999, num: 1.1, @@ -373,23 +373,23 @@ sdk.unions.stronglyTypedOneOfPost({ }, ], bool: false, - int: 910994, + int: 136357, map: { - "non": { - any: "vero", - bigint: 39615, - bigintStr: "iure", + "nam": { + any: "expedita", + bigint: 559174, + bigintStr: "provident", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 599.44, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 9222.99, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, @@ -397,30 +397,30 @@ sdk.unions.stronglyTypedOneOfPost({ strOpt: "optional example", }, }, - num: 4746.68, + num: 3609.34, obj: { - any: "eveniet", - bigint: 184362, - bigintStr: "cum", + any: "vero", + bigint: 629377, + bigintStr: "repellendus", bool: true, boolOpt: true, date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 4347.61, + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 4348.27, enum: Enum.Two, float32: 2.2222222, int: 999999, int32: 1, - int32Enum: SimpleObjectInt32Enum.OneHundredAndEightyOne, - intEnum: SimpleObjectIntEnum.First, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.Second, intOptNull: 999999, num: 1.1, numOptNull: 1.1, str: "example", strOpt: "optional example", }, - str: "laborum", - type: "distinctio", + str: "impedit", + type: "commodi", }).then((res: StronglyTypedOneOfPostResponse) => { if (res.statusCode == 200) { // handle response @@ -459,8 +459,8 @@ const sdk = new SDK({ }); sdk.unions.typedObjectNullableOneOfPost({ - type: TypedObject2Type.Obj2, - value: "rem", + type: TypedObject1Type.Obj1, + value: "voluptatem", }).then((res: TypedObjectNullableOneOfPostResponse) => { if (res.statusCode == 200) { // handle response @@ -500,7 +500,7 @@ const sdk = new SDK({ sdk.unions.typedObjectOneOfPost({ type: TypedObject1Type.Obj1, - value: "ad", + value: "quae", }).then((res: TypedObjectOneOfPostResponse) => { if (res.statusCode == 200) { // handle response @@ -540,99 +540,25 @@ const sdk = new SDK({ }); sdk.unions.weaklyTypedOneOfPost({ - any: { - any: "corporis", - bigint: 597303, - bigintStr: "nihil", - bool: true, - boolOpt: true, - date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 6490.78, - enum: Enum.Two, - float32: 2.2222222, - int: 999999, - int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.First, - intOptNull: 999999, - num: 1.1, - numOptNull: 1.1, - str: "example", - strOpt: "optional example", - }, - arr: [ - { - any: "maiores", - bigint: 970222, - bigintStr: "dolores", - bool: true, - boolOpt: true, - date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 6638.66, - enum: Enum.Two, - float32: 2.2222222, - int: 999999, - int32: 1, - int32Enum: SimpleObjectInt32Enum.FiftyFive, - intEnum: SimpleObjectIntEnum.First, - intOptNull: 999999, - num: 1.1, - numOptNull: 1.1, - str: "example", - strOpt: "optional example", - }, - ], - bool: false, - int: 680349, - map: { - "nesciunt": { - any: "quae", - bigint: 925703, - bigintStr: "omnis", - bool: true, - boolOpt: true, - date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 3092.51, - enum: Enum.Two, - float32: 2.2222222, - int: 999999, - int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Second, - intOptNull: 999999, - num: 1.1, - numOptNull: 1.1, - str: "example", - strOpt: "optional example", - }, - }, - num: 2840, - obj: { - any: "culpa", - bigint: 238413, - bigintStr: "debitis", - bool: true, - boolOpt: true, - date: new RFCDate("2020-01-01"), - dateTime: new Date("2020-01-01T00:00:00Z"), - decimal: 5145.13, - enum: Enum.Two, - float32: 2.2222222, - int: 999999, - int32: 1, - int32Enum: SimpleObjectInt32Enum.SixtyNine, - intEnum: SimpleObjectIntEnum.Second, - intOptNull: 999999, - num: 1.1, - numOptNull: 1.1, - str: "example", - strOpt: "optional example", - }, - str: "recusandae", - type: "esse", + any: "illum", + bigint: 506863, + bigintStr: "quidem", + bool: true, + boolOpt: true, + date: new RFCDate("2020-01-01"), + dateTime: new Date("2020-01-01T00:00:00.000Z"), + decimal: 7368.53, + enum: Enum.Two, + float32: 2.2222222, + int: 999999, + int32: 1, + int32Enum: SimpleObjectInt32Enum.FiftyFive, + intEnum: SimpleObjectIntEnum.First, + intOptNull: 999999, + num: 1.1, + numOptNull: 1.1, + str: "example", + strOpt: "optional example", }).then((res: WeaklyTypedOneOfPostResponse) => { if (res.statusCode == 200) { // handle response diff --git a/typescript-client-sdk/files.gen b/typescript-client-sdk/files.gen index ed432b85c..e564a0a5b 100755 --- a/typescript-client-sdk/files.gen +++ b/typescript-client-sdk/files.gen @@ -263,6 +263,8 @@ src/sdk/models/shared/deprecatedfieldinobject.ts src/sdk/models/shared/deprecatedobject.ts src/sdk/models/shared/emptyobjectparam.ts src/sdk/models/shared/httpbinsimplejsonobject.ts +src/sdk/models/shared/fakerstrings.ts +src/sdk/models/shared/fakerformattedstrings.ts src/sdk/models/shared/limitoffsetconfig.ts src/sdk/models/shared/refqueryparamobjexploded.ts src/sdk/models/shared/refqueryparamobj.ts @@ -767,6 +769,8 @@ docs/models/shared/emptyobjectparam.md docs/models/shared/httpbinsimplejsonobjectslideshowslides.md docs/models/shared/httpbinsimplejsonobjectslideshow.md docs/models/shared/httpbinsimplejsonobject.md +docs/models/shared/fakerstrings.md +docs/models/shared/fakerformattedstrings.md docs/models/shared/limitoffsetconfig.md docs/models/shared/refqueryparamobjexploded.md docs/models/shared/refqueryparamobj.md diff --git a/typescript-client-sdk/gen.yaml b/typescript-client-sdk/gen.yaml index 3e389974f..0402bca94 100755 --- a/typescript-client-sdk/gen.yaml +++ b/typescript-client-sdk/gen.yaml @@ -1,6 +1,6 @@ configVersion: 1.0.0 management: - docChecksum: 48e3cf2c084604d9bd5cff8d4e2f7b40 + docChecksum: 48364fae08d653e4f11c8205d92918af docVersion: 0.1.0 speakeasyVersion: 1.91.2 generationVersion: 2.131.1 @@ -31,7 +31,7 @@ features: retries: 2.82.0 serverIDs: 2.81.1 typescript: - version: 1.35.2 + version: 1.35.3 author: Speakeasy clientServerStatusCodesAsErrors: true maxMethodParams: 5 diff --git a/typescript-client-sdk/package-lock.json b/typescript-client-sdk/package-lock.json index 50da34d53..d200a2da4 100755 --- a/typescript-client-sdk/package-lock.json +++ b/typescript-client-sdk/package-lock.json @@ -1,12 +1,12 @@ { "name": "openapi", - "version": "1.35.2", + "version": "1.35.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "openapi", - "version": "1.35.2", + "version": "1.35.3", "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 a1e03ad81..2cf07abfa 100755 --- a/typescript-client-sdk/package.json +++ b/typescript-client-sdk/package.json @@ -1,6 +1,6 @@ { "name": "openapi", - "version": "1.35.2", + "version": "1.35.3", "author": "Speakeasy", "scripts": { "prepare": "tsc --build", diff --git a/typescript-client-sdk/src/sdk/models/operations/usageexamplepost.ts b/typescript-client-sdk/src/sdk/models/operations/usageexamplepost.ts index 55c7a6552..087e13951 100755 --- a/typescript-client-sdk/src/sdk/models/operations/usageexamplepost.ts +++ b/typescript-client-sdk/src/sdk/models/operations/usageexamplepost.ts @@ -21,53 +21,20 @@ export class UsageExamplePostSecurity extends SpeakeasyBase { */ export class UsageExamplePostRequestBody extends SpeakeasyBase { /** - * A field called email that will have emails generated as examples + * A set of strings with format values that lead to relevant examples being generated for them */ @SpeakeasyMetadata() - @Expose({ name: "email" }) - email?: string; + @Expose({ name: "fakerFormattedStrings" }) + @Type(() => shared.FakerFormattedStrings) + fakerFormattedStrings?: shared.FakerFormattedStrings; /** - * A field formatted as an email that will have emails generated as examples + * A set of strings with fieldnames that lead to relevant examples being generated for them */ @SpeakeasyMetadata() - @Expose({ name: "formatEmail" }) - formatEmail?: string; - - /** - * A field formatted as a uri that will have uris generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "formatUri" }) - formatUri?: string; - - /** - * A field formatted as a uuid that will have uuids generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "formatUuid" }) - formatUuid?: string; - - /** - * A field formatted as a hostname that will have hostnames generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "hostname" }) - hostname?: string; - - /** - * A field formatted as an ipv4 that will have ipv4s generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "ipv4" }) - ipv4?: string; - - /** - * A field formatted as an ipv6 that will have ipv6s generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "ipv6" }) - ipv6?: string; + @Expose({ name: "fakerStrings" }) + @Type(() => shared.FakerStrings) + fakerStrings?: shared.FakerStrings; /** * A simple object that uses all our supported primitive types and enums and has optional properties. @@ -76,27 +43,6 @@ export class UsageExamplePostRequestBody extends SpeakeasyBase { @Expose({ name: "simpleObject" }) @Type(() => shared.SimpleObject) simpleObject?: shared.SimpleObject; - - /** - * A field formatted as an unknown that will have random strings generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "unknown" }) - unknown?: string; - - /** - * A field called uri that will have uris generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "uri" }) - uri?: string; - - /** - * A field called uuid that will have uuids generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "uuid" }) - uuid?: string; } /** @@ -253,53 +199,20 @@ export class UsageExamplePostRequest extends SpeakeasyBase { export class UsageExamplePost200ApplicationJSONJSON extends SpeakeasyBase { /** - * A field called email that will have emails generated as examples + * A set of strings with format values that lead to relevant examples being generated for them */ @SpeakeasyMetadata() - @Expose({ name: "email" }) - email?: string; + @Expose({ name: "fakerFormattedStrings" }) + @Type(() => shared.FakerFormattedStrings) + fakerFormattedStrings?: shared.FakerFormattedStrings; /** - * A field formatted as an email that will have emails generated as examples + * A set of strings with fieldnames that lead to relevant examples being generated for them */ @SpeakeasyMetadata() - @Expose({ name: "formatEmail" }) - formatEmail?: string; - - /** - * A field formatted as a uri that will have uris generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "formatUri" }) - formatUri?: string; - - /** - * A field formatted as a uuid that will have uuids generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "formatUuid" }) - formatUuid?: string; - - /** - * A field formatted as a hostname that will have hostnames generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "hostname" }) - hostname?: string; - - /** - * A field formatted as an ipv4 that will have ipv4s generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "ipv4" }) - ipv4?: string; - - /** - * A field formatted as an ipv6 that will have ipv6s generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "ipv6" }) - ipv6?: string; + @Expose({ name: "fakerStrings" }) + @Type(() => shared.FakerStrings) + fakerStrings?: shared.FakerStrings; /** * A simple object that uses all our supported primitive types and enums and has optional properties. @@ -308,27 +221,6 @@ export class UsageExamplePost200ApplicationJSONJSON extends SpeakeasyBase { @Expose({ name: "simpleObject" }) @Type(() => shared.SimpleObject) simpleObject?: shared.SimpleObject; - - /** - * A field formatted as an unknown that will have random strings generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "unknown" }) - unknown?: string; - - /** - * A field called uri that will have uris generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "uri" }) - uri?: string; - - /** - * A field called uuid that will have uuids generated as examples - */ - @SpeakeasyMetadata() - @Expose({ name: "uuid" }) - uuid?: string; } /** diff --git a/typescript-client-sdk/src/sdk/models/shared/fakerformattedstrings.ts b/typescript-client-sdk/src/sdk/models/shared/fakerformattedstrings.ts new file mode 100755 index 000000000..af90b5f52 --- /dev/null +++ b/typescript-client-sdk/src/sdk/models/shared/fakerformattedstrings.ts @@ -0,0 +1,137 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils"; +import { Expose } from "class-transformer"; + +/** + * A set of strings with format values that lead to relevant examples being generated for them + */ +export class FakerFormattedStrings extends SpeakeasyBase { + /** + * A field that will have an address generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "addressFormat" }) + addressFormat?: string; + + /** + * A field that will have a directory path generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "directoryFormat" }) + directoryFormat?: string; + + /** + * A field that will have a domain name generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "domainFormat" }) + domainFormat?: string; + + /** + * A field that will have an email address generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "emailFormat" }) + emailFormat?: string; + + /** + * A field that will have a filename generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "filenameFormat" }) + filenameFormat?: string; + + /** + * A field that will have a file path generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "filepathFormat" }) + filepathFormat?: string; + + /** + * A field that will have a image url generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "imageFormat" }) + imageFormat?: string; + + /** + * A field that will have an IPv4 address generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "ipv4Format" }) + ipv4Format?: string; + + /** + * A field that will have an IPv6 address generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "ipv6Format" }) + ipv6Format?: string; + + /** + * A field that will have a JSON generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "jsonFormat" }) + jsonFormat?: string; + + /** + * A field that will have a MAC address generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "macFormat" }) + macFormat?: string; + + /** + * A field that will have a fake password generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "passwordFormat" }) + passwordFormat?: string; + + /** + * A field that will have a phone number generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "phoneFormat" }) + phoneFormat?: string; + + /** + * A field that will have a timezone generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "timezoneFormat" }) + timezoneFormat?: string; + + /** + * A field that will have random words generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "unknownFormat" }) + unknownFormat?: string; + + /** + * A field that will have a URL generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "urlFormat" }) + urlFormat?: string; + + /** + * A field that will have a UUID generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "uuidFormat" }) + uuidFormat?: string; + + /** + * A field that will have a postal code generated as example + */ + @SpeakeasyMetadata() + @Expose({ name: "zipcodeFormat" }) + zipcodeFormat?: string; +} diff --git a/typescript-client-sdk/src/sdk/models/shared/fakerstrings.ts b/typescript-client-sdk/src/sdk/models/shared/fakerstrings.ts new file mode 100755 index 000000000..c063f0d66 --- /dev/null +++ b/typescript-client-sdk/src/sdk/models/shared/fakerstrings.ts @@ -0,0 +1,223 @@ +/* + * Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. + */ + +import { SpeakeasyBase, SpeakeasyMetadata } from "../../../internal/utils"; +import { Expose } from "class-transformer"; + +/** + * A set of strings with fieldnames that lead to relevant examples being generated for them + */ +export class FakerStrings extends SpeakeasyBase { + @SpeakeasyMetadata() + @Expose({ name: "City" }) + city?: string; + + @SpeakeasyMetadata() + @Expose({ name: "IBAN" }) + iban?: string; + + @SpeakeasyMetadata() + @Expose({ name: "ID" }) + id?: string; + + @SpeakeasyMetadata() + @Expose({ name: "IPv4" }) + iPv4?: string; + + @SpeakeasyMetadata() + @Expose({ name: "IPv6" }) + iPv6?: string; + + @SpeakeasyMetadata() + @Expose({ name: "account" }) + account?: string; + + @SpeakeasyMetadata() + @Expose({ name: "address" }) + address?: string; + + @SpeakeasyMetadata() + @Expose({ name: "amount" }) + amount?: string; + + @SpeakeasyMetadata() + @Expose({ name: "avatar" }) + avatar?: string; + + @SpeakeasyMetadata() + @Expose({ name: "color" }) + color?: string; + + @SpeakeasyMetadata() + @Expose({ name: "comment" }) + comment?: string; + + @SpeakeasyMetadata() + @Expose({ name: "company" }) + company?: string; + + @SpeakeasyMetadata() + @Expose({ name: "country" }) + country?: string; + + @SpeakeasyMetadata() + @Expose({ name: "country_code" }) + countryCode?: string; + + @SpeakeasyMetadata() + @Expose({ name: "currency" }) + currency?: string; + + @SpeakeasyMetadata() + @Expose({ name: "datatype" }) + datatype?: string; + + @SpeakeasyMetadata() + @Expose({ name: "default" }) + default?: string; + + @SpeakeasyMetadata() + @Expose({ name: "description" }) + description?: string; + + @SpeakeasyMetadata() + @Expose({ name: "directory" }) + directory?: string; + + @SpeakeasyMetadata() + @Expose({ name: "domainName" }) + domainName?: string; + + @SpeakeasyMetadata() + @Expose({ name: "emailAddr" }) + emailAddr?: string; + + @SpeakeasyMetadata() + @Expose({ name: "extension" }) + extension?: string; + + @SpeakeasyMetadata() + @Expose({ name: "filename" }) + filename?: string; + + @SpeakeasyMetadata() + @Expose({ name: "filepath" }) + filepath?: string; + + @SpeakeasyMetadata() + @Expose({ name: "filetype" }) + filetype?: string; + + @SpeakeasyMetadata() + @Expose({ name: "firstName" }) + firstName?: string; + + @SpeakeasyMetadata() + @Expose({ name: "fullName" }) + fullName?: string; + + @SpeakeasyMetadata() + @Expose({ name: "gender" }) + gender?: string; + + @SpeakeasyMetadata() + @Expose({ name: "job" }) + job?: string; + + @SpeakeasyMetadata() + @Expose({ name: "json" }) + json?: string; + + @SpeakeasyMetadata() + @Expose({ name: "key" }) + key?: string; + + @SpeakeasyMetadata() + @Expose({ name: "lastName" }) + lastName?: string; + + @SpeakeasyMetadata() + @Expose({ name: "latitude" }) + latitude?: string; + + @SpeakeasyMetadata() + @Expose({ name: "locale" }) + locale?: string; + + @SpeakeasyMetadata() + @Expose({ name: "longitude" }) + longitude?: string; + + @SpeakeasyMetadata() + @Expose({ name: "mac" }) + mac?: string; + + @SpeakeasyMetadata() + @Expose({ name: "manufacturer" }) + manufacturer?: string; + + @SpeakeasyMetadata() + @Expose({ name: "material" }) + material?: string; + + @SpeakeasyMetadata() + @Expose({ name: "middleName" }) + middleName?: string; + + @SpeakeasyMetadata() + @Expose({ name: "model" }) + model?: string; + + @SpeakeasyMetadata() + @Expose({ name: "password" }) + password?: string; + + @SpeakeasyMetadata() + @Expose({ name: "phone" }) + phone?: string; + + @SpeakeasyMetadata() + @Expose({ name: "pin" }) + pin?: string; + + @SpeakeasyMetadata() + @Expose({ name: "postal-code" }) + postalCode?: string; + + @SpeakeasyMetadata() + @Expose({ name: "price" }) + price?: string; + + @SpeakeasyMetadata() + @Expose({ name: "product" }) + product?: string; + + @SpeakeasyMetadata() + @Expose({ name: "sex" }) + sex?: string; + + @SpeakeasyMetadata() + @Expose({ name: "street" }) + street?: string; + + @SpeakeasyMetadata() + @Expose({ name: "timezone" }) + timezone?: string; + + @SpeakeasyMetadata() + @Expose({ name: "unit" }) + unit?: string; + + @SpeakeasyMetadata() + @Expose({ name: "url" }) + url?: string; + + @SpeakeasyMetadata() + @Expose({ name: "username" }) + username?: string; + + @SpeakeasyMetadata() + @Expose({ name: "uuid" }) + uuid?: string; +} diff --git a/typescript-client-sdk/src/sdk/models/shared/index.ts b/typescript-client-sdk/src/sdk/models/shared/index.ts index 2d16aa0f3..0e7377bb4 100755 --- a/typescript-client-sdk/src/sdk/models/shared/index.ts +++ b/typescript-client-sdk/src/sdk/models/shared/index.ts @@ -19,6 +19,8 @@ export * from "./enum"; export * from "./exampleboat"; export * from "./examplecar"; export * from "./exampleresource"; +export * from "./fakerformattedstrings"; +export * from "./fakerstrings"; export * from "./fileresource"; export * from "./httpbinsimplejsonobject"; export * from "./limitoffsetconfig"; diff --git a/typescript-client-sdk/src/sdk/sdk.ts b/typescript-client-sdk/src/sdk/sdk.ts index 222fb2ab4..aeada81b8 100755 --- a/typescript-client-sdk/src/sdk/sdk.ts +++ b/typescript-client-sdk/src/sdk/sdk.ts @@ -130,7 +130,7 @@ export class SDKConfiguration { serverDefaults: any; language = "typescript"; openapiDocVersion = "0.1.0"; - sdkVersion = "1.35.2"; + sdkVersion = "1.35.3"; genVersion = "2.131.1"; globals: any; retryConfig?: utils.RetryConfig;