Skip to content

Commit

Permalink
test: Update examples and run integration test
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
myz-dev committed May 5, 2024
1 parent 97337f2 commit a8e06cd
Show file tree
Hide file tree
Showing 31 changed files with 2,675 additions and 38 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.0-SNAPSHOT
7.6.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server, you can easily generate a server stub.
To see how to make this your own, look here: [README]((https://openapi-generator.tech))

- API version: 1.0.7
- Generator version: 7.5.0-SNAPSHOT
- Generator version: 7.6.0-SNAPSHOT



Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.0-SNAPSHOT
7.6.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server, you can easily generate a server stub.
To see how to make this your own, look here: [README]((https://openapi-generator.tech))

- API version: 1.0.7
- Generator version: 7.5.0-SNAPSHOT
- Generator version: 7.6.0-SNAPSHOT



Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.0-SNAPSHOT
7.6.0-SNAPSHOT
2 changes: 1 addition & 1 deletion samples/server/petstore/rust-axum/output/ops-v3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server, you can easily generate a server stub.
To see how to make this your own, look here: [README]((https://openapi-generator.tech))

- API version: 0.0.1
- Generator version: 7.5.0-SNAPSHOT
- Generator version: 7.6.0-SNAPSHOT



Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.5.0-SNAPSHOT
7.6.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ server, you can easily generate a server stub.
To see how to make this your own, look here: [README]((https://openapi-generator.tech))

- API version: 1.0.0
- Generator version: 7.5.0-SNAPSHOT
- Generator version: 7.6.0-SNAPSHOT



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,7 @@ pub trait Api {
method: Method,
host: Host,
cookies: CookieJar,
body: models::TestEndpointParametersRequest,
) -> Result<TestEndpointParametersResponse, String>;

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

/// test inline additionalProperties.
Expand All @@ -478,6 +480,7 @@ pub trait Api {
method: Method,
host: Host,
cookies: CookieJar,
body: models::TestJsonFormDataRequest,
) -> Result<TestJsonFormDataResponse, String>;

/// To test class name in snake case.
Expand Down Expand Up @@ -567,6 +570,7 @@ pub trait Api {
host: Host,
cookies: CookieJar,
path_params: models::UpdatePetWithFormPathParams,
body: Option<models::UpdatePetWithFormRequest>,
) -> Result<UpdatePetWithFormResponse, String>;

/// uploads an image.
Expand Down
Loading

0 comments on commit a8e06cd

Please sign in to comment.