-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'OpenAPITools:master' into kotlin_spring-bigdecimal_default
- Loading branch information
Showing
368 changed files
with
9,552 additions
and
442 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,24 @@ | ||
name: Samples C# .Net Standard | ||
name: Samples C# .Net Standard Client | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'samples/client/petstore/csharp/**netstandard**/' | ||
# build C# API client (netstandard) | ||
- samples/client/petstore/csharp/OpenAPIClient/** | ||
- samples/client/petstore/csharp/*netstandard*/** | ||
# build C# API client (netstandard with ConditionalSerialization) | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/** | ||
# build C# API client (netstandard httpclient) | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | ||
pull_request: | ||
paths: | ||
- 'samples/client/petstore/csharp/**netstandard**/' | ||
# build C# API client (netstandard) | ||
- samples/client/petstore/csharp/OpenAPIClient/** | ||
- samples/client/petstore/csharp/*netstandard*/** | ||
# build C# API client (netstandard with ConditionalSerialization) | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/** | ||
# build C# API client (netstandard httpclient) | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | ||
jobs: | ||
build: | ||
name: Build .Net projects | ||
|
@@ -15,8 +27,13 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
sample: | ||
# clients | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0 | ||
# build C# API client (netstandard) | ||
- samples/client/petstore/csharp/OpenAPIClient/ | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/ | ||
# build C# API client (netstandard with ConditionalSerialization) | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/ | ||
# build C# API client (netstandard httpclient) | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/ | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,18 @@ | ||
name: Samples C# .Net 7 | ||
name: Samples C# .Net 8 Clients | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'samples/client/petstore/csharp/**net6.0**/' | ||
- 'samples/client/petstore/csharp/**net7.0**/' | ||
- 'samples/client/petstore/csharp/OpenAPIClient-generichost-netcore**/' | ||
- 'samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/**' | ||
- 'samples/server/petstore/aspnetcore-6.0/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-pocoModels/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-useSwashBuckle/**' | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/** | ||
- samples/client/petstore/csharp/*net6.0*/** | ||
- samples/client/petstore/csharp/*net7.0*/** | ||
- samples/client/petstore/csharp/OpenAPIClient-*latest*/** | ||
pull_request: | ||
paths: | ||
- 'samples/client/petstore/csharp/**net6.0**/' | ||
- 'samples/client/petstore/csharp/**net7.0**/' | ||
- 'samples/client/petstore/csharp/OpenAPIClient-generichost-netcore**/' | ||
- 'samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/**' | ||
- 'samples/server/petstore/aspnetcore-6.0/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-pocoModels/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-project4Models/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-useSwashBuckle/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/**' | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests/** | ||
- samples/client/petstore/csharp/*net6.0*/** | ||
- samples/client/petstore/csharp/*net7.0*/** | ||
- samples/client/petstore/csharp/OpenAPIClient-*latest*/** | ||
jobs: | ||
build: | ||
name: Build .Net projects | ||
|
@@ -31,20 +22,15 @@ jobs: | |
matrix: | ||
sample: | ||
# clients | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0 | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-nrt | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-net6.0-useSourceGeneration | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-net7.0-useDateTimeForDate | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netcore-latest-allOf | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netcore-latest-oneOf | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netcore-latest-anyOf | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-manual-tests | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-net7.0-useDateTimeForDate | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netcore-latest-oneOf | ||
- samples/client/petstore/csharp/OpenAPIClient-net7.0-useDateTimeForDate | ||
- samples/server/petstore/aspnetcore-6.0 | ||
- samples/server/petstore/aspnetcore-6.0-pocoModels | ||
- samples/server/petstore/aspnetcore-6.0-project4Models | ||
- samples/server/petstore/aspnetcore-6.0-useSwashBuckle | ||
- samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse | ||
- samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Samples C# .Net 6 | ||
name: Samples C# .Net 6 Client Echo API | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,30 @@ | ||
name: Samples C# .Net 6 | ||
name: Samples C# .Net 6 Client | ||
|
||
on: | ||
push: | ||
paths: | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/** | ||
# build C# API client (httpclient) | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | ||
# build C# API client (generichost) | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/** | ||
# build C# API client (netcore) | ||
- samples/client/petstore/csharp/OpenAPIClient/** | ||
- samples/client/petstore/csharp/OpenAPIClientCore/** | ||
# build C# API client (.net framework 4.7) | ||
- samples/client/petstore/csharp/OpenAPIClient-net47/** | ||
# build C# API client (.net framework 4.8) | ||
- samples/client/petstore/csharp/OpenAPIClient-net48/** | ||
# build C# API client (.net 5.0) | ||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/** | ||
# build C# API client (.net 5.0 with ConditionalSerialization) | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/** | ||
# build C# API client (property, parameter name mappings) | ||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/** | ||
pull_request: | ||
paths: | ||
- samples/client/petstore/csharp/OpenAPIClient-restsharp-name-parameter-mappings/** | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/** | ||
pull_request: | ||
paths: | ||
# build C# API client (httpclient) | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | ||
# build C# API client (generichost) | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/** | ||
# build C# API client (netcore) | ||
- samples/client/petstore/csharp/OpenAPIClient/** | ||
- samples/client/petstore/csharp/OpenAPIClientCore/** | ||
# build C# API client (.net framework 4.7) | ||
- samples/client/petstore/csharp/OpenAPIClient-net47/** | ||
# build C# API client (.net framework 4.8) | ||
- samples/client/petstore/csharp/OpenAPIClient-net48/** | ||
# build C# API client (.net 5.0) | ||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/** | ||
# build C# API client (.net 5.0 with ConditionalSerialization) | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/** | ||
# build C# API client (property, parameter name mappings) | ||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/** | ||
- samples/client/petstore/csharp/OpenAPIClient-restsharp-name-parameter-mappings/** | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/** | ||
jobs: | ||
build: | ||
name: Build .Net clients | ||
|
@@ -51,26 +33,16 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
sample: | ||
# clients | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/ | ||
# build C# API client (httpclient) | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/ | ||
# build C# API client (generichost) | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/ | ||
# build C# API client (netcore) | ||
- samples/client/petstore/csharp/OpenAPIClient/ | ||
- samples/client/petstore/csharp/OpenAPIClientCore/ | ||
# build C# API client (.net framework 4.7) | ||
- samples/client/petstore/csharp/OpenAPIClient-net47/ | ||
# build C# API client (.net framework 4.8) | ||
- samples/client/petstore/csharp/OpenAPIClient-net48/ | ||
# build C# API client (.net 5.0) | ||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/ | ||
# build C# API client (.net 5.0 with ConditionalSerialization) | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/ | ||
# build C# API client (property, parameter name mappings) | ||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings | ||
- samples/client/petstore/csharp/OpenAPIClient-restsharp-name-parameter-mappings/ | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/ | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,28 @@ | ||
name: Samples C# .Net 6 | ||
name: Samples C# .Net 6 Server | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'samples/server/petstore/aspnetcore-6.0/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-pocoModels/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-useSwashBuckle/**' | ||
- samples/server/petstore/aspnetcore-6.0/** | ||
- samples/server/petstore/aspnetcore-6.0-*/** | ||
pull_request: | ||
paths: | ||
- 'samples/server/petstore/aspnetcore-6.0/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-pocoModels/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-project4Models/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-useSwashBuckle/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse/**' | ||
- 'samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes/**' | ||
- samples/server/petstore/aspnetcore-6.0/** | ||
- samples/server/petstore/aspnetcore-6.0-*/** | ||
jobs: | ||
build: | ||
name: Build .Net servers | ||
name: Build .Net 6 servers | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sample: | ||
- samples/server/petstore/aspnetcore-6.0 | ||
- samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse | ||
- samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes | ||
- samples/server/petstore/aspnetcore-6.0-pocoModels | ||
- samples/server/petstore/aspnetcore-6.0-project4Models | ||
- samples/server/petstore/aspnetcore-6.0-useSwashBuckle | ||
- samples/server/petstore/aspnetcore-6.0-NewtonsoftFalse | ||
- samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
generatorName: kotlin | ||
outputDir: samples/client/echo_api/kotlin-jvm-spring-3-webclient | ||
library: jvm-spring-restclient | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/kotlin-client | ||
additionalProperties: | ||
enumUnknownDefaultCase: true | ||
serializationLibrary: jackson | ||
useSpringBoot3: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
generatorName: rust | ||
outputDir: samples/client/others/rust/hyper/api-with-ref-param | ||
library: hyper | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/api-with-ref-param.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/rust | ||
additionalProperties: | ||
supportAsync: true | ||
packageName: api-ref-param-hyper | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
generatorName: rust | ||
outputDir: samples/client/others/rust/reqwest/api-with-ref-param | ||
library: reqwest | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/api-with-ref-param.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/rust | ||
additionalProperties: | ||
supportAsync: true | ||
packageName: api-ref-param-reqwest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
generatorName: rust | ||
outputDir: samples/client/petstore/rust/reqwest/petstore-avoid-box | ||
library: reqwest | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/petstore.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/rust | ||
additionalProperties: | ||
supportAsync: true | ||
supportMultipleResponses: true | ||
avoidBoxedModels: true | ||
packageName: petstore-reqwest-avoid-box | ||
useSingleRequestParameter: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.