-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bd8cd8b
commit 8fa8530
Showing
889 changed files
with
218 additions
and
2,588 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,12 @@ | ||
name: Samples C# .Net 6 Client Echo API | ||
name: Samples C# .Net 8 Client Echo API | ||
|
||
on: | ||
push: | ||
paths: | ||
- samples/client/echo_api/csharp-restsharp/** | ||
- samples/client/echo_api/csharp/restsharp/net8/** | ||
pull_request: | ||
paths: | ||
- samples/client/echo_api/csharp-restsharp/** | ||
- samples/client/echo_api/csharp/restsharp/net8/** | ||
jobs: | ||
build: | ||
name: Build .Net clients | ||
|
@@ -16,12 +16,12 @@ jobs: | |
matrix: | ||
sample: | ||
# clients | ||
- samples/client/echo_api/csharp-restsharp/ | ||
- samples/client/echo_api/csharp/restsharp/net8/EchoApi | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
dotnet-version: '8.0.x' | ||
- name: Run echo server | ||
run: | | ||
git clone https://github.com/wing328/http-echo-server -b openapi-generator-test-server | ||
|
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,12 @@ | ||
name: Samples C# .Net 6 Client | ||
name: Samples C# .Net 8 Client | ||
|
||
on: | ||
push: | ||
paths: | ||
- samples/client/petstore/csharp/restsharp/net6/** | ||
- samples/client/petstore/csharp/restsharp/net8/** | ||
pull_request: | ||
paths: | ||
- samples/client/petstore/csharp/restsharp/net6/** | ||
- samples/client/petstore/csharp/restsharp/net8/** | ||
jobs: | ||
build: | ||
name: Build .Net clients | ||
|
@@ -15,12 +15,12 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
sample: | ||
- samples/client/petstore/csharp/restsharp/net6/ParameterMappings/ | ||
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/ | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
dotnet-version: '8.0.x' | ||
- name: Build | ||
working-directory: ${{ matrix.sample }} | ||
run: dotnet build Org.OpenAPITools.sln |
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
4 changes: 2 additions & 2 deletions
4
...p-restsharp-net7.0-compareNetObjects.yaml → ...arp-restsharp-net8-compareNetObjects.yaml
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,9 +1,9 @@ | ||
generatorName: csharp | ||
outputDir: samples/client/petstore/csharp/restsharp/net7/Petstore | ||
outputDir: samples/client/petstore/csharp/restsharp/net8/Petstore | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/csharp | ||
additionalProperties: | ||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}' | ||
targetFramework: net7.0 | ||
targetFramework: net8.0 | ||
useCompareNetObjects: "true" | ||
equatable: true |
4 changes: 2 additions & 2 deletions
4
bin/configs/csharp-restsharp-echo-api.yaml → ...nfigs/csharp-restsharp-net8-echo-api.yaml
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,10 +1,10 @@ | ||
generatorName: csharp | ||
outputDir: samples/client/echo_api/csharp-restsharp | ||
outputDir: samples/client/echo_api/csharp/restsharp/net8/EchoApi | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/csharp | ||
additionalProperties: | ||
packageGuid: '{322C8CAF-0156-40C1-AE42-D59761FB9B6C}' | ||
targetFramework: net6.0 | ||
targetFramework: net8.0 | ||
setCompareNetObjects: "true" | ||
hideGenerationTimestamp: "true" | ||
equatable: 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
4 changes: 2 additions & 2 deletions
4
...-restsharp-net7.0-useDateTimeForDate.yaml → ...rp-restsharp-net8-useDateTimeForDate.yaml
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,9 +1,9 @@ | ||
# for .net standard | ||
generatorName: csharp | ||
outputDir: samples/client/petstore/csharp/restsharp/net7/UseDateTimeForDate | ||
outputDir: samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/csharp | ||
additionalProperties: | ||
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}' | ||
targetFramework: net7.0 | ||
targetFramework: net8.0 | ||
useDateTimeForDate: true |
4 changes: 2 additions & 2 deletions
4
bin/configs/csharp-restsharp-net7.0.yaml → bin/configs/csharp-restsharp-net8.yaml
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,14 +1,14 @@ | ||
# for .net standard | ||
generatorName: csharp | ||
outputDir: samples/client/petstore/csharp/restsharp/net7/EnumMappings | ||
outputDir: samples/client/petstore/csharp/restsharp/net8/EnumMappings | ||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml | ||
templateDir: modules/openapi-generator/src/main/resources/csharp | ||
additionalProperties: | ||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}' | ||
useCompareNetObjects: true | ||
disallowAdditionalPropertiesIfNotPresent: false | ||
useOneOfDiscriminatorLookup: true | ||
targetFramework: net7.0 | ||
targetFramework: net8.0 | ||
equatable: true | ||
enumNameMappings: | ||
delivered: Shipped |
2 changes: 0 additions & 2 deletions
2
samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/.editorconfig
This file was deleted.
Oops, something went wrong.
68 changes: 0 additions & 68 deletions
68
samples/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/CustomTest.cs
This file was deleted.
Oops, something went wrong.
82 changes: 0 additions & 82 deletions
82
...es/client/echo_api/csharp-restsharp/src/Org.OpenAPITools.Test/EchoServerResponseParser.cs
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.