Skip to content

Commit a8e06cd

Browse files
committed
test: Update examples and run integration test
The generated samples are updated with: `./bin/generate-samples.sh ./bin/configs/manual/*.yaml` Most example projects have their version numbers bumped. Some changes show, that there are some other unrelated changes to the files, which indicates that some prior commit did not update the samples accordingly. The relevant integration test `mvn integration-test -f samples/server/petstore/rust-axum/pom.xml` passes.
1 parent 97337f2 commit a8e06cd

File tree

31 files changed

+2675
-38
lines changed

31 files changed

+2675
-38
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.5.0-SNAPSHOT
1+
7.6.0-SNAPSHOT

samples/server/petstore/rust-axum/output/multipart-v3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server, you can easily generate a server stub.
1212
To see how to make this your own, look here: [README]((https://openapi-generator.tech))
1313

1414
- API version: 1.0.7
15-
- Generator version: 7.5.0-SNAPSHOT
15+
- Generator version: 7.6.0-SNAPSHOT
1616

1717

1818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.5.0-SNAPSHOT
1+
7.6.0-SNAPSHOT

samples/server/petstore/rust-axum/output/openapi-v3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server, you can easily generate a server stub.
1212
To see how to make this your own, look here: [README]((https://openapi-generator.tech))
1313

1414
- API version: 1.0.7
15-
- Generator version: 7.5.0-SNAPSHOT
15+
- Generator version: 7.6.0-SNAPSHOT
1616

1717

1818

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.5.0-SNAPSHOT
1+
7.6.0-SNAPSHOT

samples/server/petstore/rust-axum/output/ops-v3/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server, you can easily generate a server stub.
1212
To see how to make this your own, look here: [README]((https://openapi-generator.tech))
1313

1414
- API version: 0.0.1
15-
- Generator version: 7.5.0-SNAPSHOT
15+
- Generator version: 7.6.0-SNAPSHOT
1616

1717

1818

Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.5.0-SNAPSHOT
1+
7.6.0-SNAPSHOT

samples/server/petstore/rust-axum/output/petstore-with-fake-endpoints-models-for-testing/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ server, you can easily generate a server stub.
1212
To see how to make this your own, look here: [README]((https://openapi-generator.tech))
1313

1414
- API version: 1.0.0
15-
- Generator version: 7.5.0-SNAPSHOT
15+
- Generator version: 7.6.0-SNAPSHOT
1616

1717

1818

samples/server/petstore/rust-axum/output/petstore-with-fake-endpoints-models-for-testing/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ pub trait Api {
445445
method: Method,
446446
host: Host,
447447
cookies: CookieJar,
448+
body: models::TestEndpointParametersRequest,
448449
) -> Result<TestEndpointParametersResponse, String>;
449450

450451
/// To test enum parameters.
@@ -457,6 +458,7 @@ pub trait Api {
457458
cookies: CookieJar,
458459
header_params: models::TestEnumParametersHeaderParams,
459460
query_params: models::TestEnumParametersQueryParams,
461+
body: Option<models::TestEnumParametersRequest>,
460462
) -> Result<TestEnumParametersResponse, String>;
461463

462464
/// test inline additionalProperties.
@@ -478,6 +480,7 @@ pub trait Api {
478480
method: Method,
479481
host: Host,
480482
cookies: CookieJar,
483+
body: models::TestJsonFormDataRequest,
481484
) -> Result<TestJsonFormDataResponse, String>;
482485

483486
/// To test class name in snake case.
@@ -567,6 +570,7 @@ pub trait Api {
567570
host: Host,
568571
cookies: CookieJar,
569572
path_params: models::UpdatePetWithFormPathParams,
573+
body: Option<models::UpdatePetWithFormRequest>,
570574
) -> Result<UpdatePetWithFormResponse, String>;
571575

572576
/// uploads an image.

0 commit comments

Comments
 (0)