-
-
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.
Merge branch 'master' of github.com:OpenAPITools/openapi-generator in…
…to refactor-dart-dio
- Loading branch information
Showing
8,161 changed files
with
360,153 additions
and
284,255 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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
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
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
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,27 @@ | ||
name: Samples c libcurl client | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'samples/client/petstore/c/**' | ||
pull_request: | ||
paths: | ||
- 'samples/client/petstore/c/**' | ||
|
||
jobs: | ||
build: | ||
name: Build c libcurl client | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Prepare | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libssl-dev libcurl4-openssl-dev | ||
- name: Build | ||
working-directory: "samples/client/petstore/c" | ||
run: | | ||
mkdir build | ||
cd build | ||
cmake .. | ||
make |
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 |
---|---|---|
|
@@ -3,10 +3,10 @@ name: Samples C# .Net Standard | |
on: | ||
push: | ||
paths: | ||
- 'samples/client/petstore/csharp-netcore/**netstandard**/' | ||
- 'samples/client/petstore/csharp/**netstandard**/' | ||
pull_request: | ||
paths: | ||
- 'samples/client/petstore/csharp-netcore/**netstandard**/' | ||
- 'samples/client/petstore/csharp/**netstandard**/' | ||
jobs: | ||
build: | ||
name: Build .Net projects | ||
|
@@ -16,7 +16,7 @@ jobs: | |
matrix: | ||
sample: | ||
# clients | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0 | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Samples C# .Net 6 | ||
|
||
on: | ||
push: | ||
paths: | ||
- samples/client/echo_api/csharp-restsharp/** | ||
pull_request: | ||
paths: | ||
- samples/client/echo_api/csharp-restsharp/** | ||
jobs: | ||
build: | ||
name: Build .Net clients | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
sample: | ||
# clients | ||
- samples/client/echo_api/csharp-restsharp/ | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
dotnet-version: '6.0.x' | ||
- name: Run echo server | ||
run: | | ||
git clone https://github.com/wing328/http-echo-server -b openapi-generator-test-server | ||
(cd http-echo-server && npm install && npm start &) | ||
- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,41 +4,45 @@ on: | |
push: | ||
paths: | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/** | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/** | ||
# build C# API client (httpclient) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/** | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | ||
# build C# API client (generichost) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/** | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/** | ||
# build C# API client (netcore) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient/** | ||
- samples/client/petstore/csharp-netcore/OpenAPIClientCore/** | ||
- samples/client/petstore/csharp/OpenAPIClient/** | ||
- samples/client/petstore/csharp/OpenAPIClientCore/** | ||
# build C# API client (.net framework 4.7) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net47/** | ||
- samples/client/petstore/csharp/OpenAPIClient-net47/** | ||
# build C# API client (.net framework 4.8) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net48/** | ||
- samples/client/petstore/csharp/OpenAPIClient-net48/** | ||
# build C# API client (.net 5.0) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/** | ||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/** | ||
# build C# API client (.net 5.0 with ConditionalSerialization) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-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: | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/** | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/** | ||
# build C# API client (httpclient) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/** | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/** | ||
# build C# API client (generichost) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/** | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/** | ||
# build C# API client (netcore) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient/** | ||
- samples/client/petstore/csharp-netcore/OpenAPIClientCore/** | ||
- samples/client/petstore/csharp/OpenAPIClient/** | ||
- samples/client/petstore/csharp/OpenAPIClientCore/** | ||
# build C# API client (.net framework 4.7) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net47/** | ||
- samples/client/petstore/csharp/OpenAPIClient-net47/** | ||
# build C# API client (.net framework 4.8) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net48/** | ||
- samples/client/petstore/csharp/OpenAPIClient-net48/** | ||
# build C# API client (.net 5.0) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/** | ||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/** | ||
# build C# API client (.net 5.0 with ConditionalSerialization) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/** | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/** | ||
# build C# API client (property, parameter name mappings) | ||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/** | ||
jobs: | ||
build: | ||
name: Build .Net clients | ||
|
@@ -49,22 +53,24 @@ jobs: | |
sample: | ||
# clients | ||
# build C# API client (multiple frameworks) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClientCoreAndNet47/ | ||
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/ | ||
# build C# API client (httpclient) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-httpclient/ | ||
- samples/client/petstore/csharp/OpenAPIClient-httpclient/ | ||
# build C# API client (generichost) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-generichost-netstandard2.0/ | ||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/ | ||
# build C# API client (netcore) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient/ | ||
- samples/client/petstore/csharp-netcore/OpenAPIClientCore/ | ||
- samples/client/petstore/csharp/OpenAPIClient/ | ||
- samples/client/petstore/csharp/OpenAPIClientCore/ | ||
# build C# API client (.net framework 4.7) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net47/ | ||
- samples/client/petstore/csharp/OpenAPIClient-net47/ | ||
# build C# API client (.net framework 4.8) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net48/ | ||
- samples/client/petstore/csharp/OpenAPIClient-net48/ | ||
# build C# API client (.net 5.0) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-net5.0/ | ||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/ | ||
# build C# API client (.net 5.0 with ConditionalSerialization) | ||
- samples/client/petstore/csharp-netcore/OpenAPIClient-ConditionalSerialization/ | ||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/ | ||
# build C# API client (property, parameter name mappings) | ||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- 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
Oops, something went wrong.