Skip to content

Commit

Permalink
ci: regenerated with OpenAPI Doc 0.0.1, Speakeay CLI 1.36.3
Browse files Browse the repository at this point in the history
  • Loading branch information
speakeasybot committed May 22, 2023
1 parent ebbad0a commit 9c7edda
Show file tree
Hide file tree
Showing 53 changed files with 887 additions and 779 deletions.
10 changes: 9 additions & 1 deletion RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,12 @@ Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.35.0 (2.31.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.2.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.2.0 - go-client-sdk
- [Go v1.2.0] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.2.0 - go-client-sdk

## 2023-05-22 14:51:02
### Changes
Based on:
- OpenAPI Doc 0.0.1
- Speakeasy CLI 1.36.3 (2.31.0) https://github.com/speakeasy-api/speakeasy
### Releases
- [Go v1.2.1] https://github.com/speakeasy-api/openapi-generation-tests/releases/tag/go-client-sdk/v1.2.1 - go-client-sdk
36 changes: 18 additions & 18 deletions go-client-sdk/docs/generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ func main() {
)

ctx := context.Background()
res, err := s.Generation.DeprecatedWithCommentsGet(ctx, "aspernatur")
res, err := s.Generation.DeprecatedWithCommentsGet(ctx, "aspernatur", "architecto")
if err != nil {
log.Fatal(err)
}
Expand Down Expand Up @@ -255,9 +255,9 @@ func main() {

ctx := context.Background()
res, err := s.Generation.IgnoresPost(ctx, &operations.IgnoresPostApplicationJSON{
CallbackURL: sdk.String("http://foolhardy-bolero.name"),
TestProp: sdk.String("ullam"),
}, "provident")
CallbackURL: sdk.String("http://brisk-mobile.info"),
TestProp: sdk.String("provident"),
}, "quos")
if err != nil {
log.Fatal(err)
}
Expand Down Expand Up @@ -334,17 +334,17 @@ func main() {
ctx := context.Background()
res, err := s.Generation.UsageExamplePost(ctx, operations.UsageExamplePostRequest{
RequestBody: &operations.UsageExamplePostRequestBody{
Email: sdk.String("Kiley_Bartoletti@yahoo.com"),
FormatEmail: sdk.String("Emmie89@yahoo.com"),
FormatURI: sdk.String("http://handy-borrowing.info"),
FormatUUID: sdk.String("fe4c8b71-1e5b-47fd-aed0-28921cddc692"),
Hostname: sdk.String("illegal-antique.com"),
Ipv4: sdk.String("251.178.95.116"),
Ipv6: sdk.String("6b0d:5f0d:30c5:fbb2:5870:5320:2c73:d5fe"),
Email: sdk.String("Alexis_OHara32@yahoo.com"),
FormatEmail: sdk.String("Dallas36@yahoo.com"),
FormatURI: sdk.String("http://infinite-winery.org"),
FormatUUID: sdk.String("4c8b711e-5b7f-4d2e-9028-921cddc69260"),
Hostname: sdk.String("big-willingness.net"),
Ipv4: sdk.String("95.116.107.184"),
Ipv6: sdk.String("0d5f:0d30:c5fb:b258:7053:202c:73d5:fe9b"),
SimpleObject: &shared.SimpleObject{
Any: "omnis",
Bigint: big.NewInt(704415),
BigintStr: types.MustBigIntFromString("596656"),
Any: "perspiciatis",
Bigint: big.NewInt(31838),
BigintStr: types.MustBigIntFromString("783645"),
Bool: true,
BoolOpt: sdk.Bool(true),
Date: types.MustDateFromString("2020-01-01"),
Expand All @@ -354,16 +354,16 @@ func main() {
Int: 999999,
Int32: 1,
Int32Enum: shared.SimpleObjectInt32EnumFiftyFive,
IntEnum: shared.SimpleObjectIntEnumThird,
IntEnum: shared.SimpleObjectIntEnumSecond,
IntOptNull: sdk.Int64(999999),
Num: 1.1,
NumOptNull: sdk.Float64(1.1),
Str: "example",
StrOpt: sdk.String("optional example"),
},
Unknown: sdk.String("consequuntur"),
URI: sdk.String("https://petty-atom.name"),
UUID: sdk.String("b3fe49a8-d9cb-4f48-a333-23f9b77f3a41"),
Unknown: sdk.String("error"),
URI: sdk.String("http://noxious-pronunciation.biz"),
UUID: sdk.String("fe49a8d9-cbf4-4863-b323-f9b77f3a4100"),
},
BoolParameter: false,
DateParameter: types.MustDateFromString("2020-01-01"),
Expand Down
4 changes: 2 additions & 2 deletions go-client-sdk/docs/globals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
)

ctx := context.Background()
res, err := s.Globals.GlobalPathParameterGet(ctx, 58029)
res, err := s.Globals.GlobalPathParameterGet(ctx, 434417)
if err != nil {
log.Fatal(err)
}
Expand Down Expand Up @@ -68,7 +68,7 @@ func main() {
)

ctx := context.Background()
res, err := s.Globals.GlobalsQueryParameterGet(ctx, "ipsa")
res, err := s.Globals.GlobalsQueryParameterGet(ctx, "odio")
if err != nil {
log.Fatal(err)
}
Expand Down
14 changes: 6 additions & 8 deletions go-client-sdk/docs/parameters/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,18 +51,16 @@ func main() {

ctx := context.Background()
res, err := s.Parameters.DeepObjectQueryParamsMap(ctx, map[string]string{
"odio": "quaerat",
"accusamus": "quidem",
"voluptatibus": "voluptas",
}, map[string][]string{
"voluptas": []string{
"eos",
"atque",
"eos": []string{
"sit",
"fugiat",
"ab",
},
"fugiat": []string{
"soluta",
},
"dolorum": []string{
"soluta": []string{
"iusto",
"voluptate",
"dolorum",
},
Expand Down
6 changes: 3 additions & 3 deletions go-client-sdk/gen.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
configVersion: 1.0.0
management:
docChecksum: 948d86c8c8659783f15ecb6484ae3368
docChecksum: 76623f721a416be989cb70240cd8b7e1
docVersion: 0.0.1
speakeasyVersion: 1.35.0
speakeasyVersion: 1.36.3
generationVersion: 2.31.0
generation:
sdkClassName: SDK
singleTagPerOp: false
go:
version: 1.2.0
version: 1.2.1
maxMethodParams: 5
packageName: openapi
3 changes: 2 additions & 1 deletion go-client-sdk/generation.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion go-client-sdk/sdk.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions go-client-sdk/tests/telemetry_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion java-client-sdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
### Gradle

```groovy
implementation 'org.openapis.openapi:openapi:1.2.0'
implementation 'org.openapis.openapi:openapi:1.2.1'
```
<!-- End SDK Installation -->

Expand Down
34 changes: 17 additions & 17 deletions java-client-sdk/docs/generation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public class Application {
.setGlobalQueryParam("some example global query param")
.build();

DeprecatedWithCommentsGetResponse res = sdk.generation.deprecatedWithCommentsGet("sunt");
DeprecatedWithCommentsGetResponse res = sdk.generation.deprecatedWithCommentsGet("sunt", "quo");

if (res.statusCode == 200) {
// handle response
Expand Down Expand Up @@ -257,9 +257,9 @@ public class Application {
.build();

IgnoresPostResponse res = sdk.generation.ignoresPost(new IgnoresPostApplicationJSON() {{
callbackUrl = "https://these-subroutine.net";
testProp = "ea";
}}, "excepturi");
callbackUrl = "https://treasured-simple.info";
testProp = "excepturi";
}}, "odit");

if (res.httpBinSimpleJsonObject != null) {
// handle response
Expand Down Expand Up @@ -343,24 +343,24 @@ public class Application {

UsageExamplePostRequest req = new UsageExamplePostRequest(false, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), 2.2222222, UsageExamplePostEnumParameter.VALUE3, 1.1, 111111L, 1, "example") {{
requestBody = new UsageExamplePostRequestBody() {{
email = "Gwendolyn98@gmail.com";
formatEmail = "Gardner_Kling@hotmail.com";
formatUri = "http://tragic-framework.org";
formatUuid = "0d30c5fb-b258-4705-b202-c73d5fe9b90c";
hostname = "damp-laryngitis.name";
ipv4 = "12.147.178.60";
ipv6 = "fe49:a8d9:cbf4:8633:323f:9b77:f3a4:1006";
simpleObject = new SimpleObject("odio", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222, 999999L, 1, SimpleObjectInt32Enum.FIFTY_FIVE, SimpleObjectIntEnum.Third, 1.1, "example") {{
bigint = 696344L;
bigintStr = "voluptatibus";
email = "Alexanne_Bernhard37@yahoo.com";
formatEmail = "Heidi86@yahoo.com";
formatUri = "http://wise-airbag.org";
formatUuid = "30c5fbb2-5870-4532-82c7-3d5fe9b90c28";
hostname = "petty-atom.name";
ipv4 = "178.60.254.239";
ipv6 = "49a8:d9cb:f486:3332:3f9b:77f3:a410:0674";
simpleObject = new SimpleObject("accusamus", true, LocalDate.parse("2020-01-01"), OffsetDateTime.parse("2020-01-01T00:00:00Z"), Enum.TWO, 2.2222222, 999999L, 1, SimpleObjectInt32Enum.ONE_HUNDRED_AND_EIGHTY_ONE, SimpleObjectIntEnum.Third, 1.1, "example") {{
bigint = 377752L;
bigintStr = "natus";
boolOpt = true;
intOptNull = 999999L;
numOptNull = 1.1;
strOpt = "optional example";
}};;
unknown = "voluptas";
uri = "https://definite-marines.com";
uuid = "d1ba77a8-9ebf-4737-ae42-03ce5e6a95d8";
unknown = "eos";
uri = "https://alert-stir-fry.com";
uuid = "ba77a89e-bf73-47ae-8203-ce5e6a95d8a0";
}};;
optEnumParameter = UsageExamplePostOptEnumParameter.VALUE3;
}};
Expand Down
4 changes: 2 additions & 2 deletions java-client-sdk/docs/globals/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class Application {
.setGlobalQueryParam("some example global query param")
.build();

GlobalPathParameterGetResponse res = sdk.globals.globalPathParameterGet(628982L);
GlobalPathParameterGetResponse res = sdk.globals.globalPathParameterGet(872651L);

if (res.res != null) {
// handle response
Expand Down Expand Up @@ -67,7 +67,7 @@ public class Application {
.setGlobalQueryParam("some example global query param")
.build();

GlobalsQueryParameterGetResponse res = sdk.globals.globalsQueryParameterGet("alias");
GlobalsQueryParameterGetResponse res = sdk.globals.globalsQueryParameterGet("quaerat");

if (res.res != null) {
// handle response
Expand Down
Loading

0 comments on commit 9c7edda

Please sign in to comment.