Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.1.0, Speakeay CLI 1.91.2
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed Sep 28, 2023
1 parent fb9dddc commit bc50d01
Show file tree
Hide file tree
Showing 203 changed files with 9,722 additions and 5,871 deletions.
17 changes: 16 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
- [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
133 changes: 99 additions & 34 deletions go-client-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,58 +70,123 @@ func main() {
ctx := context.Background()
res, err := s.Generation.UsageExamplePost(ctx, operations.UsageExamplePostRequest{
RequestBody: &operations.UsageExamplePostRequestBody{
Email: openapi.String("[email protected]"),
FormatEmail: openapi.String("[email protected]"),
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("[email protected]"),
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,
NumOptNull: openapi.Float64(1.1),
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)
Expand Down Expand Up @@ -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)
Expand Down
129 changes: 97 additions & 32 deletions go-client-sdk/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,90 @@ func main() {
ctx := context.Background()
res, err := s.Generation.UsageExamplePost(ctx, operations.UsageExamplePostRequest{
RequestBody: &operations.UsageExamplePostRequestBody{
Email: openapi.String("[email protected]"),
FormatEmail: openapi.String("[email protected]"),
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("[email protected]"),
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,
Expand All @@ -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)
Expand Down
Loading

0 comments on commit bc50d01

Please sign in to comment.