forked from loafle/openapi-generator-original
Compare commits
252 Commits
appdescrip
...
normalizer
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
21872b47b1 | ||
|
|
0da60def01 | ||
|
|
7dac40e31c | ||
|
|
81feb4ba78 | ||
|
|
38d189b159 | ||
|
|
045b6012b3 | ||
|
|
da7105bc6a | ||
|
|
6aa825bcf7 | ||
|
|
ba9ac74237 | ||
|
|
5532203f9f | ||
|
|
861e8f0656 | ||
|
|
0368f4e031 | ||
|
|
c0be6ba9df | ||
|
|
c5daf8193b | ||
|
|
d5f42500ab | ||
|
|
1064cb6a68 | ||
|
|
4e89436177 | ||
|
|
640ef9d944 | ||
|
|
e5ae07c2b4 | ||
|
|
7747cc93e0 | ||
|
|
cf303d4e03 | ||
|
|
9919c23267 | ||
|
|
5bc7aa3cd6 | ||
|
|
da57701569 | ||
|
|
c3a2fe0592 | ||
|
|
a4b577ddc7 | ||
|
|
a4d43a8376 | ||
|
|
819083b1ba | ||
|
|
abc4461e88 | ||
|
|
18b4bcba0d | ||
|
|
793aba724a | ||
|
|
c806ea51b3 | ||
|
|
129e4dc9c9 | ||
|
|
989a79811a | ||
|
|
6f9ad31df3 | ||
|
|
ec8998b39f | ||
|
|
3d93862c6d | ||
|
|
642b1a3a95 | ||
|
|
13facdaab5 | ||
|
|
a40673acb9 | ||
|
|
0aac363ca0 | ||
|
|
cc24106832 | ||
|
|
8bac93e23b | ||
|
|
01fec76ab1 | ||
|
|
f36590051f | ||
|
|
ea0190324e | ||
|
|
788fd6f725 | ||
|
|
26a164e57f | ||
|
|
1765efc1ff | ||
|
|
3abe2512c5 | ||
|
|
fc0105e214 | ||
|
|
ef7654958e | ||
|
|
7084e87140 | ||
|
|
37ea82b2c7 | ||
|
|
e8bbfe23b4 | ||
|
|
7f34e11a7f | ||
|
|
8357cc313b | ||
|
|
00f2cd573c | ||
|
|
80bb3dde0b | ||
|
|
f517bf7b98 | ||
|
|
2851838f7f | ||
|
|
0cc9644120 | ||
|
|
a5a99585ef | ||
|
|
5adf1ff522 | ||
|
|
dc81339ef1 | ||
|
|
4be5971e0f | ||
|
|
3aba42733b | ||
|
|
6ae8a8f4c7 | ||
|
|
d1254ccfda | ||
|
|
36ade65993 | ||
|
|
0621d3462d | ||
|
|
f97706d29b | ||
|
|
b7a4a47270 | ||
|
|
880df7a7a4 | ||
|
|
446e168f43 | ||
|
|
2fcf825e19 | ||
|
|
17a08d2646 | ||
|
|
86f23e13e5 | ||
|
|
45bc9c9e2f | ||
|
|
aef4d75fd5 | ||
|
|
42c78403cb | ||
|
|
1c787babad | ||
|
|
a574d9e09c | ||
|
|
35a882076f | ||
|
|
91a1931bd9 | ||
|
|
ed2aad6756 | ||
|
|
051abb82dc | ||
|
|
713aa92b22 | ||
|
|
c08afa37e4 | ||
|
|
4ae4bc5f5d | ||
|
|
2b9949a66b | ||
|
|
f540e003f5 | ||
|
|
8d398719c9 | ||
|
|
6a3d406690 | ||
|
|
ca94559fb6 | ||
|
|
84ce2bfd14 | ||
|
|
8783ad8a18 | ||
|
|
e2258fb790 | ||
|
|
66126a8ae4 | ||
|
|
6a6f39d6f4 | ||
|
|
368110a631 | ||
|
|
353320cb04 | ||
|
|
1c7e5c4726 | ||
|
|
b19fc67a53 | ||
|
|
2471ba2d2e | ||
|
|
edaace9323 | ||
|
|
48919ba3d2 | ||
|
|
56f301632e | ||
|
|
1c94576da7 | ||
|
|
c1d0e7c24a | ||
|
|
74a9509e0c | ||
|
|
9c999b6559 | ||
|
|
258b7af727 | ||
|
|
e6964482b8 | ||
|
|
ee3ff39225 | ||
|
|
af090fd526 | ||
|
|
6a9b10075e | ||
|
|
5e8b589bea | ||
|
|
0daf9ffa5b | ||
|
|
728abafdfa | ||
|
|
77365c34fa | ||
|
|
e6fcbcbde0 | ||
|
|
e6f372992e | ||
|
|
22f18fad91 | ||
|
|
746961d07a | ||
|
|
7bc2a66065 | ||
|
|
7d3258f155 | ||
|
|
f49efe02fd | ||
|
|
235b57e499 | ||
|
|
00c1ceffcd | ||
|
|
63d1564637 | ||
|
|
a230588aca | ||
|
|
3a232611d2 | ||
|
|
638af0fe37 | ||
|
|
8860537e2b | ||
|
|
d0a8726580 | ||
|
|
1d96c770f9 | ||
|
|
ea7609f35b | ||
|
|
bfa26ea6be | ||
|
|
9398c6444a | ||
|
|
73598b9dbb | ||
|
|
ede6458d19 | ||
|
|
27120357aa | ||
|
|
9a35914f0c | ||
|
|
9222231832 | ||
|
|
56cc4828a2 | ||
|
|
741bf0c035 | ||
|
|
ab7d0cb74f | ||
|
|
ef0d10df8d | ||
|
|
33617ee867 | ||
|
|
9b0ca06442 | ||
|
|
3d15864eac | ||
|
|
8924083d73 | ||
|
|
e9f961e36e | ||
|
|
57dceae4ad | ||
|
|
62238c6886 | ||
|
|
2fe397cb3e | ||
|
|
7e94c873f7 | ||
|
|
70130edaab | ||
|
|
014cd2cb2b | ||
|
|
affb6bc1f7 | ||
|
|
a9b1f93d65 | ||
|
|
1fa2d474b4 | ||
|
|
4e61738348 | ||
|
|
cc5c50b227 | ||
|
|
09be19cef7 | ||
|
|
ed33b86205 | ||
|
|
926a07fe4d | ||
|
|
d5559d5e65 | ||
|
|
51ef8683fb | ||
|
|
2f734515a1 | ||
|
|
edbb021aad | ||
|
|
4a872a8d69 | ||
|
|
2a15270589 | ||
|
|
b23dcbd190 | ||
|
|
2f9b487779 | ||
|
|
cefeded745 | ||
|
|
0e05cf26d9 | ||
|
|
4b56fd281a | ||
|
|
970424678e | ||
|
|
365fcd3fb4 | ||
|
|
eec30f2cda | ||
|
|
d4d4c77fee | ||
|
|
2a3f63f9e3 | ||
|
|
3d96a404e6 | ||
|
|
4637658f78 | ||
|
|
42536932da | ||
|
|
65bdb99f96 | ||
|
|
40c7adccd8 | ||
|
|
4368eb45e8 | ||
|
|
3805cf366c | ||
|
|
854e521a06 | ||
|
|
29cfa3335d | ||
|
|
75dd531e65 | ||
|
|
98f9c07bc4 | ||
|
|
5614eef995 | ||
|
|
89c2664e4c | ||
|
|
03389dfdbd | ||
|
|
b67a019cf9 | ||
|
|
4441ab303f | ||
|
|
8226ff8f96 | ||
|
|
9db0e3237c | ||
|
|
ac649b2e2f | ||
|
|
8f6a2860bf | ||
|
|
06499605e1 | ||
|
|
2d967ccae8 | ||
|
|
9929d35166 | ||
|
|
be94c22d08 | ||
|
|
dec8a430df | ||
|
|
dc63444789 | ||
|
|
2fb41ac529 | ||
|
|
228b47a953 | ||
|
|
cefbf62060 | ||
|
|
b1fac19a75 | ||
|
|
f145b8962d | ||
|
|
296a6ac516 | ||
|
|
fde8c772fb | ||
|
|
d3b156d694 | ||
|
|
38b8f60e54 | ||
|
|
73f2d8289b | ||
|
|
06b00e657c | ||
|
|
0e809d4800 | ||
|
|
67a504a2f3 | ||
|
|
8cb23db8c0 | ||
|
|
30dc35de44 | ||
|
|
ef2fa03e96 | ||
|
|
d573f00e84 | ||
|
|
9f57684dad | ||
|
|
230e8ce887 | ||
|
|
10897caf37 | ||
|
|
afd3a78e20 | ||
|
|
5e40fe7f8f | ||
|
|
2a1b4f90df | ||
|
|
98d026118c | ||
|
|
0768ddcd7c | ||
|
|
a4cf255dce | ||
|
|
e36172090e | ||
|
|
81fab15a33 | ||
|
|
bd02e65f88 | ||
|
|
8faa77cd1c | ||
|
|
5f136557ba | ||
|
|
7070255dc5 | ||
|
|
06ed7c8205 | ||
|
|
f8d91510a9 | ||
|
|
519eaf6bf3 | ||
|
|
c16f7f0aad | ||
|
|
1751163f36 | ||
|
|
a5ccd7a77e | ||
|
|
fd90aa6347 | ||
|
|
a5d463d90f | ||
|
|
1f9373eb4d | ||
|
|
f06204b5ca |
@@ -141,7 +141,7 @@ commands: # a reusable command with parameters
|
|||||||
jobs:
|
jobs:
|
||||||
node0:
|
node0:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:202201-02
|
image: ubuntu-2004:2024.01.1
|
||||||
working_directory: ~/OpenAPITools/openapi-generator
|
working_directory: ~/OpenAPITools/openapi-generator
|
||||||
shell: /bin/bash --login
|
shell: /bin/bash --login
|
||||||
environment:
|
environment:
|
||||||
@@ -154,7 +154,7 @@ jobs:
|
|||||||
nodeNo: "0"
|
nodeNo: "0"
|
||||||
node1:
|
node1:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:202201-02
|
image: ubuntu-2004:2024.01.1
|
||||||
working_directory: ~/OpenAPITools/openapi-generator
|
working_directory: ~/OpenAPITools/openapi-generator
|
||||||
shell: /bin/bash --login
|
shell: /bin/bash --login
|
||||||
environment:
|
environment:
|
||||||
@@ -167,7 +167,7 @@ jobs:
|
|||||||
nodeNo: "1"
|
nodeNo: "1"
|
||||||
node2:
|
node2:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:202201-02
|
image: ubuntu-2004:2024.01.1
|
||||||
working_directory: ~/OpenAPITools/openapi-generator
|
working_directory: ~/OpenAPITools/openapi-generator
|
||||||
shell: /bin/bash --login
|
shell: /bin/bash --login
|
||||||
environment:
|
environment:
|
||||||
@@ -180,7 +180,7 @@ jobs:
|
|||||||
nodeNo: "2"
|
nodeNo: "2"
|
||||||
node3:
|
node3:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:202201-02
|
image: ubuntu-2004:2024.01.1
|
||||||
working_directory: ~/OpenAPITools/openapi-generator
|
working_directory: ~/OpenAPITools/openapi-generator
|
||||||
shell: /bin/bash --login
|
shell: /bin/bash --login
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -26,8 +26,8 @@
|
|||||||
"java.configuration.runtimes": [
|
"java.configuration.runtimes": [
|
||||||
{
|
{
|
||||||
"name": "JavaSE-11",
|
"name": "JavaSE-11",
|
||||||
"path": "/usr/local/sdkman/candidates/java/11.0.16.1-ms",
|
"path": "/usr/local/sdkman/candidates/java/current",
|
||||||
"sources": "/usr/local/sdkman/candidates/java/11.0.16.1-ms/lib/src.zip",
|
"sources": "/usr/local/sdkman/candidates/java/current/lib/src.zip",
|
||||||
"javadoc": "https://docs.oracle.com/en/java/javase/11/docs/api",
|
"javadoc": "https://docs.oracle.com/en/java/javase/11/docs/api",
|
||||||
"default": true
|
"default": true
|
||||||
}
|
}
|
||||||
@@ -50,4 +50,4 @@
|
|||||||
// "postCreateCommand": "mvn clean package -DskipTests",
|
// "postCreateCommand": "mvn clean package -DskipTests",
|
||||||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
||||||
"remoteUser": "vscode"
|
"remoteUser": "vscode"
|
||||||
}
|
}
|
||||||
|
|||||||
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
2
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -17,5 +17,5 @@
|
|||||||
These must match the expectations made by your contribution.
|
These must match the expectations made by your contribution.
|
||||||
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example `./bin/generate-samples.sh bin/configs/java*`.
|
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example `./bin/generate-samples.sh bin/configs/java*`.
|
||||||
IMPORTANT: Do **NOT** purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
|
IMPORTANT: Do **NOT** purge/delete any folders/files (e.g. tests) when regenerating the samples as manually written tests may be removed.
|
||||||
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (upcoming 7.1.0 minor release - breaking changes with fallbacks), `8.0.x` (breaking changes without fallbacks)
|
- [ ] File the PR against the [correct branch](https://github.com/OpenAPITools/openapi-generator/wiki/Git-Branches): `master` (upcoming 7.6.0 minor release - breaking changes with fallbacks), `8.0.x` (breaking changes without fallbacks)
|
||||||
- [ ] If your PR is targeting a particular programming language, @mention the [technical committee](https://github.com/openapitools/openapi-generator/#62---openapi-generator-technical-committee) members, so they are more likely to review the pull request.
|
- [ ] If your PR is targeting a particular programming language, @mention the [technical committee](https://github.com/openapitools/openapi-generator/#62---openapi-generator-technical-committee) members, so they are more likely to review the pull request.
|
||||||
|
|||||||
2
.github/workflows/gradle-test.yaml
vendored
2
.github/workflows/gradle-test.yaml
vendored
@@ -10,7 +10,7 @@ on:
|
|||||||
- 'samples/client/petstore/java/**'
|
- 'samples/client/petstore/java/**'
|
||||||
- 'samples/openapi3/client/petstore/java/**'
|
- 'samples/openapi3/client/petstore/java/**'
|
||||||
env:
|
env:
|
||||||
GRADLE_VERSION: 7.2
|
GRADLE_VERSION: 8.7
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
4
.github/workflows/linux.yaml
vendored
4
.github/workflows/linux.yaml
vendored
@@ -45,7 +45,7 @@ jobs:
|
|||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Setup Maven
|
- name: Setup Maven
|
||||||
uses: s4u/setup-maven-action@v1.12.0
|
uses: s4u/setup-maven-action@v1.13.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
@@ -87,7 +87,7 @@ jobs:
|
|||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Setup Maven
|
- name: Setup Maven
|
||||||
uses: s4u/setup-maven-action@v1.12.0
|
uses: s4u/setup-maven-action@v1.13.0
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
|
|||||||
17
.github/workflows/openapi-generator.yaml
vendored
17
.github/workflows/openapi-generator.yaml
vendored
@@ -151,7 +151,24 @@ jobs:
|
|||||||
rm -rf samples/client/petstore/csharp/generichost/net8/Petstore
|
rm -rf samples/client/petstore/csharp/generichost/net8/Petstore
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/SourceGeneration
|
rm -rf samples/client/petstore/csharp/generichost/net8/SourceGeneration
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
rm -rf samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
||||||
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/standard2.0/Petstore
|
rm -rf samples/client/petstore/csharp/generichost/standard2.0/Petstore
|
||||||
|
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.8/AllOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.8/AnyOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.8/FormModels
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.8/OneOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.8/Petstore
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
|
||||||
|
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.7/AllOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.7/AnyOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.7/FormModels
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.7/OneOf
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.7/Petstore
|
||||||
|
rm -rf samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
|
||||||
- name: Generate samples
|
- name: Generate samples
|
||||||
run: |
|
run: |
|
||||||
bash bin/generate-samples.sh
|
bash bin/generate-samples.sh
|
||||||
|
|||||||
2
.github/workflows/samples-cpp-qt-client.yaml
vendored
2
.github/workflows/samples-cpp-qt-client.yaml
vendored
@@ -27,7 +27,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v3
|
uses: jurplel/install-qt-action@v4
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.qt-version }}
|
version: ${{ matrix.qt-version }}
|
||||||
tools: ${{ matrix.tools }}
|
tools: ${{ matrix.tools }}
|
||||||
|
|||||||
42
.github/workflows/samples-dotnet-fx.yaml
vendored
Normal file
42
.github/workflows/samples-dotnet-fx.yaml
vendored
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
name: Samples C# .Net Framework Clients
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/**
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/**
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/**
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/**
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build .Net projects
|
||||||
|
runs-on: windows-2019
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/AllOf
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/AnyOf
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/FormModels
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/OneOf
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/Petstore
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
|
||||||
|
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/AllOf
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/AnyOf
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/FormModels
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/OneOf
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/Petstore
|
||||||
|
- samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: dotnet build Org.OpenAPITools.sln
|
||||||
|
- name: Test
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: dotnet test Org.OpenAPITools.sln
|
||||||
2
.github/workflows/samples-elm.yaml
vendored
2
.github/workflows/samples-elm.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- samples/openapi3/client/elm
|
- samples/openapi3/client/elm
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: jorelali/setup-elm@v5
|
- uses: jorelali/setup-elm@v6
|
||||||
with:
|
with:
|
||||||
elm-version: 0.19.1
|
elm-version: 0.19.1
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
7
.github/workflows/samples-go.yaml
vendored
7
.github/workflows/samples-go.yaml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Samples Go
|
name: Samples Go
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -6,15 +6,17 @@ on:
|
|||||||
- 'samples/server/petstore/go-echo-server/**'
|
- 'samples/server/petstore/go-echo-server/**'
|
||||||
- 'samples/server/petstore/go-api-server/**'
|
- 'samples/server/petstore/go-api-server/**'
|
||||||
- 'samples/server/petstore/go-chi-server/**'
|
- 'samples/server/petstore/go-chi-server/**'
|
||||||
|
- 'samples/server/others/go-server/no-body-path-params/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'samples/server/petstore/go-echo-server/**'
|
- 'samples/server/petstore/go-echo-server/**'
|
||||||
- 'samples/server/petstore/go-api-server/**'
|
- 'samples/server/petstore/go-api-server/**'
|
||||||
- 'samples/server/petstore/go-chi-server/**'
|
- 'samples/server/petstore/go-chi-server/**'
|
||||||
|
- 'samples/server/others/go-server/no-body-path-params/**'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Go
|
name: Build Go
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -23,6 +25,7 @@ jobs:
|
|||||||
- samples/server/petstore/go-echo-server/
|
- samples/server/petstore/go-echo-server/
|
||||||
- samples/server/petstore/go-api-server/
|
- samples/server/petstore/go-api-server/
|
||||||
- samples/server/petstore/go-chi-server/
|
- samples/server/petstore/go-chi-server/
|
||||||
|
- samples/server/others/go-server/no-body-path-params/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v5
|
||||||
|
|||||||
@@ -43,4 +43,4 @@ jobs:
|
|||||||
(cd http-echo-server && npm install && npm start &)
|
(cd http-echo-server && npm install && npm start &)
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
42
.github/workflows/samples-java-client-echo-api-jdk17.yaml
vendored
Normal file
42
.github/workflows/samples-java-client-echo-api-jdk17.yaml
vendored
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
name: Java Client (Echo API) JDK17
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- samples/client/echo_api/java/restclient
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- samples/client/echo_api/java/restclient
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Java Client JDK17
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
# clients
|
||||||
|
- samples/client/echo_api/java/restclient
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: 17
|
||||||
|
- name: Cache maven dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: maven-repository
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.m2
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
|
- name: Setup node.js
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
- 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: mvn clean package --no-transfer-progress
|
||||||
@@ -50,4 +50,4 @@ jobs:
|
|||||||
(cd http-echo-server && npm install && npm start &)
|
(cd http-echo-server && npm install && npm start &)
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ on:
|
|||||||
- samples/client/others/java/webclient-useAbstractionForFiles/**
|
- samples/client/others/java/webclient-useAbstractionForFiles/**
|
||||||
- samples/client/others/java/jersey2-oneOf-duplicates/**
|
- samples/client/others/java/jersey2-oneOf-duplicates/**
|
||||||
- samples/client/others/java/jersey2-oneOf-Mixed/**
|
- samples/client/others/java/jersey2-oneOf-Mixed/**
|
||||||
|
- samples/client/others/java/resttemplate-list-schema-validation/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'samples/client/petstore/java/**'
|
- 'samples/client/petstore/java/**'
|
||||||
@@ -29,6 +30,7 @@ on:
|
|||||||
- samples/client/others/java/webclient-useAbstractionForFiles/**
|
- samples/client/others/java/webclient-useAbstractionForFiles/**
|
||||||
- samples/client/others/java/jersey2-oneOf-duplicates/**
|
- samples/client/others/java/jersey2-oneOf-duplicates/**
|
||||||
- samples/client/others/java/jersey2-oneOf-Mixed/**
|
- samples/client/others/java/jersey2-oneOf-Mixed/**
|
||||||
|
- samples/client/others/java/resttemplate-list-schema-validation/**
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Java Client JDK11
|
name: Build Java Client JDK11
|
||||||
@@ -78,6 +80,7 @@ jobs:
|
|||||||
- samples/client/others/java/webclient-useAbstractionForFiles/
|
- samples/client/others/java/webclient-useAbstractionForFiles/
|
||||||
- samples/client/others/java/jersey2-oneOf-duplicates/
|
- samples/client/others/java/jersey2-oneOf-duplicates/
|
||||||
- samples/client/others/java/jersey2-oneOf-Mixed/
|
- samples/client/others/java/jersey2-oneOf-Mixed/
|
||||||
|
- samples/client/others/java/resttemplate-list-schema-validation/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
@@ -94,4 +97,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
29
.github/workflows/samples-java-client-jdk17.yaml
vendored
29
.github/workflows/samples-java-client-jdk17.yaml
vendored
@@ -5,10 +5,12 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- samples/client/petstore/java/resttemplate-jakarta/**
|
- samples/client/petstore/java/resttemplate-jakarta/**
|
||||||
- samples/client/petstore/java/webclient-jakarta/**
|
- samples/client/petstore/java/webclient-jakarta/**
|
||||||
|
- samples/client/petstore/java/restclient-*/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- samples/client/petstore/java/resttemplate-jakarta/**
|
- samples/client/petstore/java/resttemplate-jakarta/**
|
||||||
- samples/client/petstore/java/webclient-jakarta/**
|
- samples/client/petstore/java/webclient-jakarta/**
|
||||||
|
- samples/client/petstore/java/restclient-*/**
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Java Client JDK17
|
name: Build Java Client JDK17
|
||||||
@@ -20,6 +22,9 @@ jobs:
|
|||||||
# clients
|
# clients
|
||||||
- samples/client/petstore/java/resttemplate-jakarta
|
- samples/client/petstore/java/resttemplate-jakarta
|
||||||
- samples/client/petstore/java/webclient-jakarta
|
- samples/client/petstore/java/webclient-jakarta
|
||||||
|
- samples/client/petstore/java/restclient
|
||||||
|
- samples/client/petstore/java/restclient-nullable-arrays
|
||||||
|
- samples/client/petstore/java/restclient-swagger2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
@@ -34,9 +39,27 @@ jobs:
|
|||||||
path: |
|
path: |
|
||||||
~/.m2
|
~/.m2
|
||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
- name: Build with Gradle
|
|
||||||
|
- name: Cache gradle dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: gradle-caches
|
||||||
|
with:
|
||||||
|
path: ~/.gradle/caches
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/*.gradle', '**/*.gradle.kts') }}
|
||||||
|
|
||||||
|
- name: Cache gradle wrapper
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: gradle-wrapper
|
||||||
|
with:
|
||||||
|
path: ~/.gradle/wrapper
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
|
||||||
|
|
||||||
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: gradle clean build
|
run: ./gradlew build -x test
|
||||||
|
|||||||
41
.github/workflows/samples-java-helidon-v3.yaml
vendored
Normal file
41
.github/workflows/samples-java-helidon-v3.yaml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
name: Samples Java Helidon v3
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/java-helidon-client/v3/**
|
||||||
|
- samples/server/petstore/java-helidon-server/v3/**
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/java-helidon-client/v3/**
|
||||||
|
- samples/server/petstore/java-helidon-server/v3/**
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Java Helidon
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
- samples/client/petstore/java-helidon-client/v3/mp
|
||||||
|
- samples/client/petstore/java-helidon-client/v3/se
|
||||||
|
- samples/server/petstore/java-helidon-server/v3/mp
|
||||||
|
- samples/server/petstore/java-helidon-server/v3/se
|
||||||
|
version: [17]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: ${{ matrix.version }}
|
||||||
|
- name: Cache maven dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: maven-repository
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.m2
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: mvn clean package --no-transfer-progress
|
||||||
39
.github/workflows/samples-java-helidon-v4.yaml
vendored
Normal file
39
.github/workflows/samples-java-helidon-v4.yaml
vendored
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
name: Samples Java Helidon v4
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/java-helidon-client/v4/**
|
||||||
|
- samples/server/petstore/java-helidon-server/v4/**
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/java-helidon-client/v4/**
|
||||||
|
- samples/server/petstore/java-helidon-server/v4/**
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Java Helidon
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
- samples/client/petstore/java-helidon-client/v4/mp
|
||||||
|
- samples/server/petstore/java-helidon-server/v4/mp
|
||||||
|
version: [21]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: ${{ matrix.version }}
|
||||||
|
- name: Cache maven dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: maven-repository
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.m2
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: mvn clean package --no-transfer-progress
|
||||||
41
.github/workflows/samples-java-helidon.yaml
vendored
41
.github/workflows/samples-java-helidon.yaml
vendored
@@ -1,41 +0,0 @@
|
|||||||
name: Samples Java Helidon
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- samples/client/petstore/java-helidon-client/**
|
|
||||||
- samples/server/petstore/java-helidon-server/**
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- samples/client/petstore/java-helidon-client/**
|
|
||||||
- samples/server/petstore/java-helidon-server/**
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build Java Helidon
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
sample:
|
|
||||||
- samples/client/petstore/java-helidon-client/mp
|
|
||||||
- samples/client/petstore/java-helidon-client/se
|
|
||||||
- samples/server/petstore/java-helidon-server/mp
|
|
||||||
- samples/server/petstore/java-helidon-server/se
|
|
||||||
version: [17]
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: 'temurin'
|
|
||||||
java-version: ${{ matrix.version }}
|
|
||||||
- name: Cache maven dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
env:
|
|
||||||
cache-name: maven-repository
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.m2
|
|
||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
|
||||||
- name: Build
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
||||||
run: mvn clean package
|
|
||||||
@@ -44,4 +44,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ on:
|
|||||||
- 'samples/server/petstore/java-pkmst/**'
|
- 'samples/server/petstore/java-pkmst/**'
|
||||||
# test in circleci instead
|
# test in circleci instead
|
||||||
- 'samples/server/petstore/java-undertow/**'
|
- 'samples/server/petstore/java-undertow/**'
|
||||||
|
- 'samples/server/petstore/java-microprofile/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
#- 'samples/server/petstore/java-camel/**'
|
#- 'samples/server/petstore/java-camel/**'
|
||||||
@@ -17,6 +18,7 @@ on:
|
|||||||
- 'samples/server/petstore/java-inflector/**'
|
- 'samples/server/petstore/java-inflector/**'
|
||||||
- 'samples/server/petstore/java-pkmst/**'
|
- 'samples/server/petstore/java-pkmst/**'
|
||||||
#- 'samples/server/petstore/java-undertow/**'
|
#- 'samples/server/petstore/java-undertow/**'
|
||||||
|
- 'samples/server/petstore/java-microprofile/**'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Java Server
|
name: Build Java Server
|
||||||
@@ -31,6 +33,7 @@ jobs:
|
|||||||
- samples/server/petstore/java-inflector/
|
- samples/server/petstore/java-inflector/
|
||||||
- samples/server/petstore/java-pkmst/
|
- samples/server/petstore/java-pkmst/
|
||||||
#- samples/server/petstore/java-undertow/
|
#- samples/server/petstore/java-undertow/
|
||||||
|
- samples/server/petstore/java-microprofile/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
@@ -47,4 +50,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
2
.github/workflows/samples-java-wiremock.yaml
vendored
2
.github/workflows/samples-java-wiremock.yaml
vendored
@@ -32,4 +32,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
2
.github/workflows/samples-jaxrs-jdk11.yaml
vendored
2
.github/workflows/samples-jaxrs-jdk11.yaml
vendored
@@ -33,4 +33,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
2
.github/workflows/samples-jaxrs.yaml
vendored
2
.github/workflows/samples-jaxrs.yaml
vendored
@@ -53,4 +53,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
26
.github/workflows/samples-jdk17.yaml
vendored
26
.github/workflows/samples-jdk17.yaml
vendored
@@ -4,28 +4,28 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
# clients
|
# clients
|
||||||
- samples/openapi3/client/petstore/spring-cloud-3/**
|
- samples/openapi3/client/petstore/spring-cloud-3/**
|
||||||
- samples/client/petstore/java-helidon-client/mp/**
|
- samples/client/petstore/java-helidon-client/v3/mp/**
|
||||||
- samples/client/petstore/java-helidon-client/se/**
|
- samples/client/petstore/java-helidon-client/v3/se/**
|
||||||
- samples/client/petstore/spring-http-interface-reactive/**
|
- samples/client/petstore/spring-http-interface-reactive/**
|
||||||
- samples/client/petstore/spring-http-interface/**
|
- samples/client/petstore/spring-http-interface/**
|
||||||
- samples/client/petstore/java/webclient-jakarta/**
|
- samples/client/petstore/java/webclient-jakarta/**
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3/**
|
- samples/openapi3/server/petstore/springboot-3/**
|
||||||
- samples/server/petstore/java-helidon-server/mp/**
|
- samples/server/petstore/java-helidon-server/v3/mp/**
|
||||||
- samples/server/petstore/java-helidon-server/se/**
|
- samples/server/petstore/java-helidon-server/v3/se/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
# clients
|
# clients
|
||||||
- samples/openapi3/client/petstore/spring-cloud-3/**
|
- samples/openapi3/client/petstore/spring-cloud-3/**
|
||||||
- samples/client/petstore/java-helidon-client/mp/**
|
- samples/client/petstore/java-helidon-client/v3/mp/**
|
||||||
- samples/client/petstore/java-helidon-client/se/**
|
- samples/client/petstore/java-helidon-client/v3/se/**
|
||||||
- samples/client/petstore/spring-http-interface-reactive/**
|
- samples/client/petstore/spring-http-interface-reactive/**
|
||||||
- samples/client/petstore/spring-http-interface/**
|
- samples/client/petstore/spring-http-interface/**
|
||||||
- samples/client/petstore/java/webclient-jakarta/**
|
- samples/client/petstore/java/webclient-jakarta/**
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3/**
|
- samples/openapi3/server/petstore/springboot-3/**
|
||||||
- samples/server/petstore/java-helidon-server/mp/**
|
- samples/server/petstore/java-helidon-server/v3/mp/**
|
||||||
- samples/server/petstore/java-helidon-server/se/**
|
- samples/server/petstore/java-helidon-server/v3/se/**
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build with JDK17
|
name: Build with JDK17
|
||||||
@@ -36,15 +36,15 @@ jobs:
|
|||||||
sample:
|
sample:
|
||||||
# clients
|
# clients
|
||||||
- samples/openapi3/client/petstore/spring-cloud-3
|
- samples/openapi3/client/petstore/spring-cloud-3
|
||||||
- samples/client/petstore/java-helidon-client/mp
|
- samples/client/petstore/java-helidon-client/v3/mp/
|
||||||
- samples/client/petstore/java-helidon-client/se
|
- samples/client/petstore/java-helidon-client/v3/se
|
||||||
- samples/client/petstore/spring-http-interface-reactive
|
- samples/client/petstore/spring-http-interface-reactive
|
||||||
- samples/client/petstore/spring-http-interface
|
- samples/client/petstore/spring-http-interface
|
||||||
- samples/client/petstore/java/webclient-jakarta
|
- samples/client/petstore/java/webclient-jakarta
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3
|
- samples/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/java-helidon-server/mp
|
- samples/server/petstore/java-helidon-server/v3/mp/
|
||||||
- samples/server/petstore/java-helidon-server/se
|
- samples/server/petstore/java-helidon-server/v3/se
|
||||||
- samples/client/petstore/spring-http-interface-reactive
|
- samples/client/petstore/spring-http-interface-reactive
|
||||||
- samples/client/petstore/spring-http-interface
|
- samples/client/petstore/spring-http-interface
|
||||||
steps:
|
steps:
|
||||||
@@ -63,4 +63,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
43
.github/workflows/samples-jdk21.yaml
vendored
Normal file
43
.github/workflows/samples-jdk21.yaml
vendored
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
name: Samples JDK21
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
# clients
|
||||||
|
- samples/client/petstore/java-helidon-client/v4/mp/**
|
||||||
|
# servers
|
||||||
|
- samples/server/petstore/java-helidon-server/v4/mp/**
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
# clients
|
||||||
|
- samples/client/petstore/java-helidon-client/v4/mp/**
|
||||||
|
# servers
|
||||||
|
- samples/server/petstore/java-helidon-server/v4/mp/**
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build with JDK21
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
# clients
|
||||||
|
- samples/client/petstore/java-helidon-client/v4/mp/
|
||||||
|
# servers
|
||||||
|
- samples/server/petstore/java-helidon-server/v4/mp/
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: 21
|
||||||
|
- name: Cache maven dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: maven-repository
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.m2
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: mvn clean package --no-transfer-progress
|
||||||
7
.github/workflows/samples-kotlin-client.yaml
vendored
7
.github/workflows/samples-kotlin-client.yaml
vendored
@@ -10,9 +10,6 @@ on:
|
|||||||
- 'samples/client/petstore/kotlin*/**'
|
- 'samples/client/petstore/kotlin*/**'
|
||||||
- 'samples/client/others/kotlin-jvm-okhttp-parameter-tests/**'
|
- 'samples/client/others/kotlin-jvm-okhttp-parameter-tests/**'
|
||||||
|
|
||||||
env:
|
|
||||||
GRADLE_VERSION: 6.9
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Kotlin client
|
name: Build Kotlin client
|
||||||
@@ -65,7 +62,6 @@ jobs:
|
|||||||
- samples/client/echo_api/kotlin-jvm-spring-3-webclient
|
- samples/client/echo_api/kotlin-jvm-spring-3-webclient
|
||||||
- samples/client/petstore/kotlin-jvm-spring-3-restclient
|
- samples/client/petstore/kotlin-jvm-spring-3-restclient
|
||||||
- samples/client/echo_api/kotlin-jvm-spring-3-restclient
|
- samples/client/echo_api/kotlin-jvm-spring-3-restclient
|
||||||
- samples/client/petstore/kotlin-spring-cloud
|
|
||||||
- samples/client/petstore/kotlin-name-parameter-mappings
|
- samples/client/petstore/kotlin-name-parameter-mappings
|
||||||
- samples/client/others/kotlin-jvm-okhttp-parameter-tests
|
- samples/client/others/kotlin-jvm-okhttp-parameter-tests
|
||||||
steps:
|
steps:
|
||||||
@@ -73,7 +69,7 @@ jobs:
|
|||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 11
|
||||||
- name: Cache maven dependencies
|
- name: Cache maven dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
env:
|
env:
|
||||||
@@ -85,7 +81,6 @@ jobs:
|
|||||||
- name: Install Gradle wrapper
|
- name: Install Gradle wrapper
|
||||||
uses: eskatos/gradle-command-action@v3
|
uses: eskatos/gradle-command-action@v3
|
||||||
with:
|
with:
|
||||||
gradle-version: ${{ env.GRADLE_VERSION }}
|
|
||||||
build-root-directory: ${{ matrix.sample }}
|
build-root-directory: ${{ matrix.sample }}
|
||||||
arguments: wrapper
|
arguments: wrapper
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -7,8 +7,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- samples/client/echo_api/kotlin**
|
- samples/client/echo_api/kotlin**
|
||||||
env:
|
|
||||||
GRADLE_VERSION: 7.4
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Kotlin Client JDK17
|
name: Build Kotlin Client JDK17
|
||||||
@@ -37,7 +36,6 @@ jobs:
|
|||||||
- name: Install Gradle wrapper
|
- name: Install Gradle wrapper
|
||||||
uses: eskatos/gradle-command-action@v3
|
uses: eskatos/gradle-command-action@v3
|
||||||
with:
|
with:
|
||||||
gradle-version: ${{ env.GRADLE_VERSION }}
|
|
||||||
build-root-directory: ${{ matrix.sample }}
|
build-root-directory: ${{ matrix.sample }}
|
||||||
arguments: wrapper
|
arguments: wrapper
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
name: Samples Kotlin server
|
name: Samples Kotlin server (jdk17)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'samples/server/petstore/kotlin-springboot-3*/**'
|
- 'samples/server/petstore/kotlin-springboot-3*/**'
|
||||||
- 'samples/server/petstore/kotlin-server/javalin/**'
|
- 'samples/server/petstore/kotlin-server/javalin/**'
|
||||||
|
- 'samples/server/petstore/kotlin-server/javalin-6/**'
|
||||||
# comment out due to gradle build failure
|
# comment out due to gradle build failure
|
||||||
# - samples/server/petstore/kotlin-spring-default/**
|
# - samples/server/petstore/kotlin-spring-default/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'samples/server/petstore/kotlin-springboot-3*/**'
|
- 'samples/server/petstore/kotlin-springboot-3*/**'
|
||||||
- 'samples/server/petstore/kotlin-server/javalin/**'
|
- 'samples/server/petstore/kotlin-server/javalin/**'
|
||||||
|
- 'samples/server/petstore/kotlin-server/javalin-6/**'
|
||||||
# comment out due to gradle build failure
|
# comment out due to gradle build failure
|
||||||
# - samples/server/petstore/kotlin-spring-default/**
|
# - samples/server/petstore/kotlin-spring-default/**
|
||||||
|
|
||||||
@@ -28,7 +30,9 @@ jobs:
|
|||||||
# server
|
# server
|
||||||
- samples/server/petstore/kotlin-springboot-3
|
- samples/server/petstore/kotlin-springboot-3
|
||||||
- samples/server/petstore/kotlin-springboot-request
|
- samples/server/petstore/kotlin-springboot-request
|
||||||
|
- samples/server/petstore/kotlin-springboot-request-cookie
|
||||||
- samples/server/petstore/kotlin-server/javalin
|
- samples/server/petstore/kotlin-server/javalin
|
||||||
|
- samples/server/petstore/kotlin-server/javalin-6
|
||||||
# comment out due to gradle build failure
|
# comment out due to gradle build failure
|
||||||
# - samples/server/petstore/kotlin-spring-default/
|
# - samples/server/petstore/kotlin-spring-default/
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
45
.github/workflows/samples-kotlin-server-jdk21.yaml
vendored
Normal file
45
.github/workflows/samples-kotlin-server-jdk21.yaml
vendored
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
name: Samples Kotlin server (jdk21)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'samples/server/petstore/kotlin-server/javalin-6/**'
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- 'samples/server/petstore/kotlin-server/javalin-6/**'
|
||||||
|
|
||||||
|
env:
|
||||||
|
GRADLE_VERSION: 8.8
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Kotlin server
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
- samples/server/petstore/kotlin-server/javalin-6
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: 21
|
||||||
|
- name: Cache maven dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: maven-repository
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.gradle
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
|
- name: Install Gradle wrapper
|
||||||
|
uses: eskatos/gradle-command-action@v3
|
||||||
|
with:
|
||||||
|
gradle-version: ${{ env.GRADLE_VERSION }}
|
||||||
|
build-root-directory: ${{ matrix.sample }}
|
||||||
|
arguments: wrapper
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: ./gradlew build -x test
|
||||||
1
.github/workflows/samples-kotlin-server.yaml
vendored
1
.github/workflows/samples-kotlin-server.yaml
vendored
@@ -43,6 +43,7 @@ jobs:
|
|||||||
- samples/server/petstore/kotlin-server/javalin
|
- samples/server/petstore/kotlin-server/javalin
|
||||||
- samples/server/others/kotlin-server/jaxrs-spec
|
- samples/server/others/kotlin-server/jaxrs-spec
|
||||||
- samples/server/others/kotlin-server/jaxrs-spec-array-response
|
- samples/server/others/kotlin-server/jaxrs-spec-array-response
|
||||||
|
- samples/server/petstore/kotlin-spring-cloud
|
||||||
# comment out due to gradle build failure
|
# comment out due to gradle build failure
|
||||||
#- samples/server/petstore/kotlin-spring-default
|
#- samples/server/petstore/kotlin-spring-default
|
||||||
# no build.gradle file
|
# no build.gradle file
|
||||||
|
|||||||
44
.github/workflows/samples-kotlin-wiremock.yaml
vendored
Normal file
44
.github/workflows/samples-kotlin-wiremock.yaml
vendored
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
name: Samples Kotlin WireMock
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- samples/server/petstore/kotlin-wiremock/**
|
||||||
|
- samples/server/echo_api/kotlin-wiremock/**
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- samples/server/petstore/kotlin-wiremock/**
|
||||||
|
- samples/server/echo_api/kotlin-wiremock/**
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Kotlin WireMock
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
- samples/server/petstore/kotlin-wiremock
|
||||||
|
- samples/server/echo_api/kotlin-wiremock
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-java@v4
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: 11
|
||||||
|
- name: Cache maven dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
env:
|
||||||
|
cache-name: maven-repository
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.gradle
|
||||||
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
|
- name: Install Gradle wrapper
|
||||||
|
uses: eskatos/gradle-command-action@v3
|
||||||
|
with:
|
||||||
|
build-root-directory: ${{ matrix.sample }}
|
||||||
|
arguments: wrapper
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: ./gradlew build -x test
|
||||||
@@ -4,6 +4,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- samples/client/echo_api/python/**
|
- samples/client/echo_api/python/**
|
||||||
|
- samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent/**
|
||||||
- .github/workflows/samples-python-client-echo-api.yaml
|
- .github/workflows/samples-python-client-echo-api.yaml
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
10
.github/workflows/samples-spring-jdk17.yaml
vendored
10
.github/workflows/samples-spring-jdk17.yaml
vendored
@@ -4,11 +4,17 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
||||||
|
- samples/openapi3/server/petstore/springboot-3
|
||||||
|
- samples/server/petstore/springboot-lombok-data
|
||||||
|
- samples/server/petstore/springboot-lombok-tostring
|
||||||
|
- samples/server/petstore/springboot-file-delegate-optional
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
||||||
|
- samples/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/springboot-lombok-data
|
- samples/server/petstore/springboot-lombok-data
|
||||||
- samples/server/petstore/springboot-lombok-tostring
|
- samples/server/petstore/springboot-lombok-tostring
|
||||||
|
- samples/server/petstore/springboot-file-delegate-optional
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Java Spring (JDK17)
|
name: Build Java Spring (JDK17)
|
||||||
@@ -20,8 +26,10 @@ jobs:
|
|||||||
# clients
|
# clients
|
||||||
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
||||||
# servers
|
# servers
|
||||||
|
- samples/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/springboot-lombok-data
|
- samples/server/petstore/springboot-lombok-data
|
||||||
- samples/server/petstore/springboot-lombok-tostring
|
- samples/server/petstore/springboot-lombok-tostring
|
||||||
|
- samples/server/petstore/springboot-file-delegate-optional
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
@@ -38,4 +46,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
36
.github/workflows/samples-spring.yaml
vendored
36
.github/workflows/samples-spring.yaml
vendored
@@ -25,40 +25,40 @@ jobs:
|
|||||||
sample:
|
sample:
|
||||||
# clients
|
# clients
|
||||||
- samples/client/petstore/spring-cloud
|
- samples/client/petstore/spring-cloud
|
||||||
- samples/openapi3/client/petstore/spring-cloud
|
- samples/client/petstore/spring-cloud-auth
|
||||||
- samples/client/petstore/spring-cloud-date-time
|
- samples/client/petstore/spring-cloud-date-time
|
||||||
|
- samples/client/petstore/spring-cloud-deprecated
|
||||||
|
- samples/client/petstore/spring-cloud-tags
|
||||||
|
- samples/openapi3/client/petstore/spring-cloud
|
||||||
|
- samples/openapi3/client/petstore/spring-cloud-async
|
||||||
- samples/openapi3/client/petstore/spring-cloud-date-time
|
- samples/openapi3/client/petstore/spring-cloud-date-time
|
||||||
- samples/openapi3/client/petstore/spring-cloud-http-basic
|
- samples/openapi3/client/petstore/spring-cloud-http-basic
|
||||||
|
- samples/openapi3/client/petstore/spring-cloud-spring-pageable
|
||||||
- samples/openapi3/client/petstore/spring-stubs
|
- samples/openapi3/client/petstore/spring-stubs
|
||||||
- samples/openapi3/client/petstore/spring-stubs-skip-default-interface
|
- samples/openapi3/client/petstore/spring-stubs-skip-default-interface
|
||||||
- samples/openapi3/client/petstore/spring-cloud-async
|
|
||||||
- samples/openapi3/client/petstore/spring-cloud-spring-pageable
|
|
||||||
- samples/client/petstore/spring-cloud-tags
|
|
||||||
- samples/client/petstore/spring-cloud-auth
|
|
||||||
- samples/client/petstore/spring-cloud-deprecated
|
|
||||||
# servers
|
# servers
|
||||||
- samples/server/petstore/springboot
|
|
||||||
- samples/openapi3/server/petstore/springboot
|
- samples/openapi3/server/petstore/springboot
|
||||||
- samples/server/petstore/springboot-beanvalidation
|
|
||||||
- samples/server/petstore/springboot-useoptional
|
|
||||||
- samples/server/petstore/springboot-reactive
|
|
||||||
- samples/server/petstore/springboot-reactive-noResponseEntity
|
|
||||||
- samples/server/petstore/springboot-implicitHeaders
|
|
||||||
- samples/openapi3/server/petstore/springboot-implicitHeaders
|
- samples/openapi3/server/petstore/springboot-implicitHeaders
|
||||||
- samples/server/petstore/springboot-delegate
|
|
||||||
- samples/server/petstore/springboot-delegate-no-response-entity
|
|
||||||
- samples/openapi3/server/petstore/springboot-delegate
|
- samples/openapi3/server/petstore/springboot-delegate
|
||||||
|
- samples/openapi3/server/petstore/spring-boot-oneof
|
||||||
- samples/server/petstore/spring-boot-nullable-set
|
- samples/server/petstore/spring-boot-nullable-set
|
||||||
- samples/server/petstore/spring-boot-defaultInterface-unhandledException
|
- samples/server/petstore/spring-boot-defaultInterface-unhandledException
|
||||||
- samples/openapi3/server/petstore/spring-boot-oneof
|
- samples/server/petstore/springboot
|
||||||
- samples/server/petstore/springboot-virtualan
|
- samples/server/petstore/springboot-beanvalidation
|
||||||
|
- samples/server/petstore/springboot-delegate
|
||||||
|
- samples/server/petstore/springboot-delegate-no-response-entity
|
||||||
|
- samples/server/petstore/springboot-implicitHeaders
|
||||||
- samples/server/petstore/springboot-implicitHeaders-annotationLibrary
|
- samples/server/petstore/springboot-implicitHeaders-annotationLibrary
|
||||||
|
- samples/server/petstore/springboot-lombok-data
|
||||||
|
- samples/server/petstore/springboot-reactive
|
||||||
|
- samples/server/petstore/springboot-reactive-noResponseEntity
|
||||||
- samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8
|
- samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8
|
||||||
- samples/server/petstore/springboot-spring-pageable-delegatePattern
|
- samples/server/petstore/springboot-spring-pageable-delegatePattern
|
||||||
- samples/server/petstore/springboot-spring-pageable-without-j8
|
- samples/server/petstore/springboot-spring-pageable-without-j8
|
||||||
- samples/server/petstore/springboot-spring-pageable
|
- samples/server/petstore/springboot-spring-pageable
|
||||||
- samples/server/petstore/springboot-spring-provide-args
|
- samples/server/petstore/springboot-spring-provide-args
|
||||||
- samples/server/petstore/springboot-lombok-data
|
- samples/server/petstore/springboot-useoptional
|
||||||
|
- samples/server/petstore/springboot-virtualan
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
@@ -75,4 +75,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/pom.xml') }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: mvn clean package
|
run: mvn clean package --no-transfer-progress
|
||||||
|
|||||||
2
.github/workflows/windows.yaml
vendored
2
.github/workflows/windows.yaml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
${{ runner.os }}-build-${{ env.cache-name }}-
|
${{ runner.os }}-build-${{ env.cache-name }}-
|
||||||
${{ runner.os }}-build-
|
${{ runner.os }}-build-
|
||||||
- name: Setup Maven
|
- name: Setup Maven
|
||||||
uses: s4u/setup-maven-action@v1.12.0
|
uses: s4u/setup-maven-action@v1.13.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
|
|||||||
@@ -39,10 +39,19 @@ elif [ "$NODE_INDEX" = "2" ]; then
|
|||||||
export PATH="/usr/local/go1.18/go/bin:$PATH"
|
export PATH="/usr/local/go1.18/go/bin:$PATH"
|
||||||
go version
|
go version
|
||||||
|
|
||||||
|
# install cpprestsdk
|
||||||
|
sudo apt-get install libcpprest-dev
|
||||||
|
wget "https://github.com/aminya/setup-cpp/releases/download/v0.37.0/setup-cpp-x64-linux"
|
||||||
|
chmod +x ./setup-cpp-x64-linux
|
||||||
|
sudo ./setup-cpp-x64-linux --compiler llvm --cmake true --ninja true
|
||||||
|
source ~/.cpprc # activate cpp environment variables
|
||||||
|
|
||||||
# run go integration tests
|
# run go integration tests
|
||||||
(cd samples/client/petstore/go && mvn integration-test)
|
(cd samples/client/petstore/go && mvn integration-test)
|
||||||
(cd samples/openapi3/client/petstore/go && mvn integration-test)
|
(cd samples/openapi3/client/petstore/go && mvn integration-test)
|
||||||
(cd samples/openapi3/client/petstore/go-petstore-generateMarshalJSON-false && mvn integration-test)
|
(cd samples/openapi3/client/petstore/go-petstore-generateMarshalJSON-false && mvn integration-test)
|
||||||
|
(cd samples/client/others/go/allof_multiple_ref_and_discriminator && mvn integration-test)
|
||||||
|
(cd samples/client/petstore/cpp-restsdk/client && mvn integration-test)
|
||||||
|
|
||||||
elif [ "$NODE_INDEX" = "3" ]; then
|
elif [ "$NODE_INDEX" = "3" ]; then
|
||||||
|
|
||||||
@@ -70,6 +79,7 @@ elif [ "$NODE_INDEX" = "3" ]; then
|
|||||||
(cd samples/client/petstore/typescript-angular-v15-provided-in-root && mvn integration-test)
|
(cd samples/client/petstore/typescript-angular-v15-provided-in-root && mvn integration-test)
|
||||||
(cd samples/client/petstore/typescript-angular-v16-provided-in-root && mvn integration-test)
|
(cd samples/client/petstore/typescript-angular-v16-provided-in-root && mvn integration-test)
|
||||||
(cd samples/client/petstore/typescript-angular-v17-provided-in-root && mvn integration-test)
|
(cd samples/client/petstore/typescript-angular-v17-provided-in-root && mvn integration-test)
|
||||||
|
(cd samples/client/petstore/typescript-angular-v18-provided-in-root && mvn integration-test)
|
||||||
(cd samples/openapi3/client/petstore/typescript/builds/default && mvn integration-test)
|
(cd samples/openapi3/client/petstore/typescript/builds/default && mvn integration-test)
|
||||||
(cd samples/openapi3/client/petstore/typescript/tests/default && mvn integration-test)
|
(cd samples/openapi3/client/petstore/typescript/tests/default && mvn integration-test)
|
||||||
(cd samples/openapi3/client/petstore/typescript/builds/jquery && mvn integration-test)
|
(cd samples/openapi3/client/petstore/typescript/builds/jquery && mvn integration-test)
|
||||||
@@ -110,5 +120,6 @@ else
|
|||||||
(cd samples/client/petstore/java/resteasy && mvn integration-test)
|
(cd samples/client/petstore/java/resteasy && mvn integration-test)
|
||||||
(cd samples/client/petstore/java-micronaut-client && mvn integration-test)
|
(cd samples/client/petstore/java-micronaut-client && mvn integration-test)
|
||||||
(cd samples/client/petstore/java/apache-httpclient && mvn integration-test)
|
(cd samples/client/petstore/java/apache-httpclient && mvn integration-test)
|
||||||
|
(cd samples/client/petstore/java/resttemplate-jakarta && mvn integration-test)
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|||||||
31
README.md
31
README.md
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.6.0`):
|
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.7.0`):
|
||||||
[](https://app.travis-ci.com/github/OpenAPITools/openapi-generator/builds)
|
[](https://app.travis-ci.com/github/OpenAPITools/openapi-generator/builds)
|
||||||
[](https://circleci.com/gh/OpenAPITools/openapi-generator)
|
[](https://circleci.com/gh/OpenAPITools/openapi-generator)
|
||||||
[](https://ci.appveyor.com/project/WilliamCheng/openapi-generator)
|
[](https://ci.appveyor.com/project/WilliamCheng/openapi-generator)
|
||||||
@@ -69,6 +69,8 @@ If you find OpenAPI Generator useful for work, please consider asking your compa
|
|||||||
[<img src="https://openapi-generator.tech/img/companies/svix.png" width="128" height="128">](https://www.svix.com/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
[<img src="https://openapi-generator.tech/img/companies/svix.png" width="128" height="128">](https://www.svix.com/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
||||||
[<img src="https://openapi-generator.tech/img/companies/litslink.png" width="128" height="128">](https://litslink.com/services/artificial-intelligence?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
[<img src="https://openapi-generator.tech/img/companies/litslink.png" width="128" height="128">](https://litslink.com/services/artificial-intelligence?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
||||||
[<img src="https://openapi-generator.tech/img/companies/designli.jpg" width="128" height="128">](https://designli.co?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
[<img src="https://openapi-generator.tech/img/companies/designli.jpg" width="128" height="128">](https://designli.co?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
||||||
|
[<img src="https://openapi-generator.tech/img/companies/itm.png" width="128" height="128">](https://opensource.muenchen.de?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
||||||
|
[<img src="https://openapi-generator.tech/img/companies/kong.png" width="128" height="128">](https://konghq.com/products/kong-konnect?utm_medium=referral&utm_source=github&utm_campaign=platform&utm_content=openapi-generator)
|
||||||
|
|
||||||
|
|
||||||
#### Thank you GoDaddy for sponsoring the domain names, Linode for sponsoring the VPS, Checkly for sponsoring the API monitoring and Gradle for sponsoring Develocity
|
#### Thank you GoDaddy for sponsoring the domain names, Linode for sponsoring the VPS, Checkly for sponsoring the API monitoring and Gradle for sponsoring Develocity
|
||||||
@@ -82,13 +84,13 @@ If you find OpenAPI Generator useful for work, please consider asking your compa
|
|||||||
|
|
||||||
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an [OpenAPI Spec](https://github.com/OAI/OpenAPI-Specification) (both 2.0 and 3.0 are supported). Currently, the following languages/frameworks are supported:
|
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an [OpenAPI Spec](https://github.com/OAI/OpenAPI-Specification) (both 2.0 and 3.0 are supported). Currently, the following languages/frameworks are supported:
|
||||||
|
|
||||||
| | Languages/Frameworks |
|
| | Languages/Frameworks |
|
||||||
| -------------------------------- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
| -------------------------------- |-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| **API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C**, **C#** (.net 2.0, 3.5 or later, .NET Standard 1.3 - 2.1, .NET Core 3.1, .NET 5.0. Libraries: RestSharp, GenericHost, HttpClient), **C++** (Arduino, cpp-restsdk, Qt5, Tizen, Unreal Engine 4), **Clojure**, **Crystal**, **Dart**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Apache HttpClient 4.x, Apache HttpClient 5.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client, MicroProfile Rest Client, Helidon), **Jetbrains HTTP Client**, **Julia**, **k6**, **Kotlin**, **Lua**, **N4JS**, **Nim**, **Node.js/JavaScript** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types, Apollo GraphQL DataStore), **Objective-C**, **OCaml**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (hyper, reqwest, rust-server), **Scala** (akka, http4s, scalaz, sttp, swagger-async-httpclient, pekko), **Swift** (2.x, 3.x, 4.x, 5.x), **Typescript** (AngularJS, Angular (9.x - 17.x), Aurelia, Axios, Fetch, Inversify, jQuery, Nestjs, Node, redux-query, Rxjs), **XoJo**, **Zapier** |
|
| **API clients** | **ActionScript**, **Ada**, **Apex**, **Bash**, **C**, **C#** (.net 2.0, 3.5 or later, .NET Standard 1.3 - 2.1, .NET Core 3.1, .NET 5.0. Libraries: RestSharp, GenericHost, HttpClient), **C++** (Arduino, cpp-restsdk, Qt5, Tizen, Unreal Engine 4), **Clojure**, **Crystal**, **Dart**, **Elixir**, **Elm**, **Eiffel**, **Erlang**, **Go**, **Groovy**, **Haskell** (http-client, Servant), **Java** (Apache HttpClient 4.x, Apache HttpClient 5.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client, MicroProfile Rest Client, Helidon), **Jetbrains HTTP Client**, **Julia**, **k6**, **Kotlin**, **Lua**, **N4JS**, **Nim**, **Node.js/JavaScript** (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types, Apollo GraphQL DataStore), **Objective-C**, **OCaml**, **Perl**, **PHP**, **PowerShell**, **Python**, **R**, **Ruby**, **Rust** (hyper, reqwest, rust-server), **Scala** (akka, http4s, scalaz, sttp, swagger-async-httpclient, pekko), **Swift** (2.x, 3.x, 4.x, 5.x), **Typescript** (AngularJS, Angular (9.x - 18.x), Aurelia, Axios, Fetch, Inversify, jQuery, Nestjs, Node, redux-query, Rxjs), **XoJo**, **Zapier** |
|
||||||
| **Server stubs** | **Ada**, **C#** (ASP.NET Core, Azure Functions), **C++** (Pistache, Restbed, Qt5 QHTTPEngine), **Erlang**, **F#** (Giraffe), **Go** (net/http, Gin, Echo), **Haskell** (Servant, Yesod), **Java** (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, Jersey, RestEasy, Play Framework, [PKMST](https://github.com/ProKarma-Inc/pkmst-getting-started-examples), [Vert.x](https://vertx.io/), [Apache Camel](https://camel.apache.org/), [Helidon](https://helidon.io/)), **Julia**, **Kotlin** (Spring Boot, [Ktor](https://github.com/ktorio/ktor), [Vert.x](https://vertx.io/)), **PHP** ([Flight](https://docs.flightphp.com/), Laravel, Lumen, [Mezzio (fka Zend Expressive)](https://github.com/mezzio/mezzio), Slim, Silex, [Symfony](https://symfony.com/)), **Python** (FastAPI, Flask), **NodeJS**, **Ruby** (Sinatra, Rails5), **Rust** ([rust-server](https://openapi-generator.tech/docs/generators/rust-server/)), **Scala** (Akka, [Finch](https://github.com/finagle/finch), [Lagom](https://github.com/lagom/lagom), [Play](https://www.playframework.com/), [Cask](https://github.com/com-lihaoyi/cask), Scalatra) |
|
| **Server stubs** | **Ada**, **C#** (ASP.NET Core, Azure Functions), **C++** (Pistache, Restbed, Qt5 QHTTPEngine), **Erlang**, **F#** (Giraffe), **Go** (net/http, Gin, Echo), **Haskell** (Servant, Yesod), **Java** (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, Jersey, RestEasy, Play Framework, [PKMST](https://github.com/ProKarma-Inc/pkmst-getting-started-examples), [Vert.x](https://vertx.io/), [Apache Camel](https://camel.apache.org/), [Helidon](https://helidon.io/)), **Julia**, **Kotlin** (Spring Boot, [Ktor](https://github.com/ktorio/ktor), [Vert.x](https://vertx.io/)), **PHP** ([Flight](https://docs.flightphp.com/), Laravel, Lumen, [Mezzio (fka Zend Expressive)](https://github.com/mezzio/mezzio), Slim, Silex, [Symfony](https://symfony.com/)), **Python** (FastAPI, Flask), **NodeJS**, **Ruby** (Sinatra, Rails5), **Rust** ([rust-server](https://openapi-generator.tech/docs/generators/rust-server/)), **Scala** (Akka, [Finch](https://github.com/finagle/finch), [Lagom](https://github.com/lagom/lagom), [Play](https://www.playframework.com/), [Cask](https://github.com/com-lihaoyi/cask), Scalatra) |
|
||||||
| **API documentation generators** | **HTML**, **Confluence Wiki**, **Asciidoc**, **Markdown**, **PlantUML** |
|
| **API documentation generators** | **HTML**, **Confluence Wiki**, **Asciidoc**, **Markdown**, **PlantUML** |
|
||||||
| **Configuration files** | [**Apache2**](https://httpd.apache.org/) |
|
| **Configuration files** | [**Apache2**](https://httpd.apache.org/) |
|
||||||
| **Others** | **GraphQL**, **JMeter**, **Ktorm**, **MySQL Schema**, **Postman Collection**, **Protocol Buffer**, **WSDL** |
|
| **Others** | **GraphQL**, **JMeter**, **Ktorm**, **MySQL Schema**, **Postman Collection**, **Protocol Buffer**, **WSDL** |
|
||||||
|
|
||||||
## Table of contents
|
## Table of contents
|
||||||
|
|
||||||
@@ -126,8 +128,8 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20
|
|||||||
|
|
||||||
| OpenAPI Generator Version | Release Date | Notes |
|
| OpenAPI Generator Version | Release Date | Notes |
|
||||||
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------------------------------------- |
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | ------------------------------------------------- |
|
||||||
| 7.6.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/7.6.0-SNAPSHOT/) | 17.54.2024 | Minor release with breaking changes (with fallback) |
|
| 7.7.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/7.7.0-SNAPSHOT/) | 20.06.2024 | Minor release with breaking changes (with fallback) |
|
||||||
| [7.5.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.5.0) (latest stable release) | 17.04.2024 | Minor release with breaking changes (with fallback) |
|
| [7.6.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.6.0) (latest stable release) | 20.05.2024 | Minor release with breaking changes (with fallback) |
|
||||||
| [6.6.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v6.6.0) | 11.05.2023 | Minor release with breaking changes (with fallback) |
|
| [6.6.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v6.6.0) | 11.05.2023 | Minor release with breaking changes (with fallback) |
|
||||||
| [5.4.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.4.0) | 31.01.2022 | Minor release with breaking changes (with fallback) |
|
| [5.4.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v5.4.0) | 31.01.2022 | Minor release with breaking changes (with fallback) |
|
||||||
| [4.3.1](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.3.1) | 06.05.2020 | Patch release (enhancements, bug fixes, etc) |
|
| [4.3.1](https://github.com/OpenAPITools/openapi-generator/releases/tag/v4.3.1) | 06.05.2020 | Patch release (enhancements, bug fixes, etc) |
|
||||||
@@ -190,16 +192,16 @@ See the different versions of the [openapi-generator-cli](https://search.maven.o
|
|||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 11 runtime at a minimum):
|
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 11 runtime at a minimum):
|
||||||
|
|
||||||
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.5.0/openapi-generator-cli-7.5.0.jar`
|
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.6.0/openapi-generator-cli-7.6.0.jar`
|
||||||
|
|
||||||
For **Mac/Linux** users:
|
For **Mac/Linux** users:
|
||||||
```sh
|
```sh
|
||||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.5.0/openapi-generator-cli-7.5.0.jar -O openapi-generator-cli.jar
|
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.6.0/openapi-generator-cli-7.6.0.jar -O openapi-generator-cli.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g.
|
For **Windows** users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g.
|
||||||
```
|
```
|
||||||
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.5.0/openapi-generator-cli-7.5.0.jar
|
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.6.0/openapi-generator-cli-7.6.0.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
|
After downloading the JAR, run `java -jar openapi-generator-cli.jar help` to show the usage.
|
||||||
@@ -260,7 +262,7 @@ To build from source, you need the following installed and available in your `$P
|
|||||||
|
|
||||||
* [Java 11](https://adoptium.net/)
|
* [Java 11](https://adoptium.net/)
|
||||||
|
|
||||||
* [Apache Maven 3.3.4 or greater](https://maven.apache.org/) (optional)
|
* [Apache Maven 3.8.8 or greater](https://maven.apache.org/) (optional)
|
||||||
|
|
||||||
After cloning the project, you can build it from source using [maven wrapper](https://maven.apache.org/wrapper/):
|
After cloning the project, you can build it from source using [maven wrapper](https://maven.apache.org/wrapper/):
|
||||||
|
|
||||||
@@ -1091,6 +1093,7 @@ Here is a list of template creators:
|
|||||||
* Kotlin (Spring Boot): @dr4ke616
|
* Kotlin (Spring Boot): @dr4ke616
|
||||||
* Kotlin (Vertx): @Wooyme
|
* Kotlin (Vertx): @Wooyme
|
||||||
* Kotlin (JAX-RS): @anttileppa
|
* Kotlin (JAX-RS): @anttileppa
|
||||||
|
* Kotlin WireMock: @stefankoppier
|
||||||
* NodeJS Express: @YishTish
|
* NodeJS Express: @YishTish
|
||||||
* PHP Flight: @daniel-sc
|
* PHP Flight: @daniel-sc
|
||||||
* PHP Laravel: @renepardon
|
* PHP Laravel: @renepardon
|
||||||
|
|||||||
17
appveyor.yml
17
appveyor.yml
@@ -54,8 +54,25 @@ test_script:
|
|||||||
- dotnet test samples\client\petstore\csharp\generichost\net8\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\generichost\net8\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\net8\SourceGeneration\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\generichost\net8\SourceGeneration\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\net8\UseDateTimeForDate\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\generichost\net8\UseDateTimeForDate\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\standard2.0\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\generichost\standard2.0\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.8\AllOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.8\AnyOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.8\AnyOfNoCompare\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.8\FormModels\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.8\OneOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.8\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.8\UseDateTimeForDate\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.7\AllOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.7\AnyOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.7\AnyOfNoCompare\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.7\FormModels\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.7\OneOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.7\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
- dotnet test samples\client\petstore\csharp\generichost\net4.7\UseDateTimeForDate\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
|
||||||
- dotnet test samples\client\petstore\csharp\httpclient\standard2.0\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\httpclient\standard2.0\Petstore\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
|
||||||
- dotnet test samples\client\petstore\csharp\restsharp\net4.7\MultipleFrameworks\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\restsharp\net4.7\MultipleFrameworks\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
generatorName: cpp-pistache-server
|
||||||
|
outputDir: samples/server/petstore/cpp-pistache-everything
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/issues-anytype-object-set-petstore-everything.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/cpp-pistache-server
|
||||||
|
additionalProperties:
|
||||||
|
useStructModel: "false"
|
||||||
|
addExternalLibs: "true"
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
generatorName: cpp-pistache-server
|
||||||
|
outputDir: samples/server/petstore/cpp-pistache-nested-schema-refs
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/nested-schema-refs.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/cpp-pistache-server
|
||||||
|
additionalProperties:
|
||||||
|
useStructModel: "false"
|
||||||
|
addExternalLibs: "true"
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
generatorName: cpp-restsdk
|
generatorName: cpp-restsdk
|
||||||
outputDir: samples/client/petstore/cpp-restsdk/client
|
outputDir: samples/client/petstore/cpp-restsdk/client
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/cpp-restsdk/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/cpp-rest-sdk-client
|
templateDir: modules/openapi-generator/src/main/resources/cpp-rest-sdk-client
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageName: CppRestPetstoreClient
|
packageName: CppRestPetstoreClient
|
||||||
|
|||||||
13
bin/configs/csharp-generichost-net4.7-allOf.yaml
Normal file
13
bin/configs/csharp-generichost-net4.7-allOf.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/AllOf
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net47
|
||||||
13
bin/configs/csharp-generichost-net4.7-anyOf.yaml
Normal file
13
bin/configs/csharp-generichost-net4.7-anyOf.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/AnyOf
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net47
|
||||||
13
bin/configs/csharp-generichost-net4.7-anyOfNoCompare.yaml
Normal file
13
bin/configs/csharp-generichost-net4.7-anyOfNoCompare.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: false
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net47
|
||||||
17
bin/configs/csharp-generichost-net4.7-formModels.yaml
Normal file
17
bin/configs/csharp-generichost-net4.7-formModels.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/FormModels
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net47
|
||||||
|
skipFormModel: false
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
|
inlineSchemaOptions:
|
||||||
|
RESOLVE_INLINE_ENUMS: true
|
||||||
13
bin/configs/csharp-generichost-net4.7-oneOf.yaml
Normal file
13
bin/configs/csharp-generichost-net4.7-oneOf.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/OneOf
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net47
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
||||||
|
useDateTimeForDate: true
|
||||||
|
targetFramework: net47
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
14
bin/configs/csharp-generichost-net4.7.yaml
Normal file
14
bin/configs/csharp-generichost-net4.7.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/Petstore
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net47
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
13
bin/configs/csharp-generichost-net4.8-allOf.yaml
Normal file
13
bin/configs/csharp-generichost-net4.8-allOf.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/AllOf
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net48
|
||||||
13
bin/configs/csharp-generichost-net4.8-anyOf.yaml
Normal file
13
bin/configs/csharp-generichost-net4.8-anyOf.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/AnyOf
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net48
|
||||||
13
bin/configs/csharp-generichost-net4.8-anyOfNoCompare.yaml
Normal file
13
bin/configs/csharp-generichost-net4.8-anyOfNoCompare.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: false
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net48
|
||||||
17
bin/configs/csharp-generichost-net4.8-formModels.yaml
Normal file
17
bin/configs/csharp-generichost-net4.8-formModels.yaml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/FormModels
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net48
|
||||||
|
skipFormModel: false
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
|
inlineSchemaOptions:
|
||||||
|
RESOLVE_INLINE_ENUMS: true
|
||||||
13
bin/configs/csharp-generichost-net4.8-oneOf.yaml
Normal file
13
bin/configs/csharp-generichost-net4.8-oneOf.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/OneOf
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net48
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
||||||
|
useDateTimeForDate: true
|
||||||
|
targetFramework: net48
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
14
bin/configs/csharp-generichost-net4.8.yaml
Normal file
14
bin/configs/csharp-generichost-net4.8.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
# for csharp generichost
|
||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/Petstore
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
||||||
|
library: generichost
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
nullableReferenceTypes: false
|
||||||
|
equatable: true
|
||||||
|
targetFramework: net48
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
@@ -12,5 +12,6 @@ additionalProperties:
|
|||||||
equatable: true
|
equatable: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
skipFormModel: false
|
skipFormModel: false
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
inlineSchemaOptions:
|
inlineSchemaOptions:
|
||||||
RESOLVE_INLINE_ENUMS: true
|
RESOLVE_INLINE_ENUMS: true
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ additionalProperties:
|
|||||||
useSourceGeneration: true
|
useSourceGeneration: true
|
||||||
equatable: true
|
equatable: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ additionalProperties:
|
|||||||
nullableReferenceTypes: true
|
nullableReferenceTypes: true
|
||||||
equatable: true
|
equatable: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
|
|||||||
@@ -8,3 +8,4 @@ additionalProperties:
|
|||||||
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
||||||
useDateTimeForDate: true
|
useDateTimeForDate: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
|
|||||||
@@ -11,3 +11,4 @@ additionalProperties:
|
|||||||
nullableReferenceTypes: false
|
nullableReferenceTypes: false
|
||||||
equatable: true
|
equatable: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ additionalProperties:
|
|||||||
disallowAdditionalPropertiesIfNotPresent: false
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
targetFramework: netstandard2.0
|
targetFramework: netstandard2.0
|
||||||
equatable: true
|
equatable: true
|
||||||
|
modelPropertySorting: alphabetical
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
generatorName: go
|
||||||
|
outputDir: samples/client/others/go/allof_multiple_ref_and_discriminator
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/go/allof_multiple_ref_and_discriminator.yaml
|
||||||
|
additionalProperties:
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
8
bin/configs/go-server-no-body-path-params.yaml
Normal file
8
bin/configs/go-server-no-body-path-params.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
generatorName: go-server
|
||||||
|
outputDir: samples/server/others/go-server/no-body-path-params
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/go-server/no-body-path-params.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/go-server
|
||||||
|
additionalProperties:
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
packageName: petstoreserver
|
||||||
|
addResponseHeaders: true
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
generatorName: java-helidon-client
|
|
||||||
library: mp
|
|
||||||
outputDir: samples/client/petstore/java-helidon-client/mp
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: petstore-helidon-client-mp
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
configureAuth: "false"
|
|
||||||
build: "all"
|
|
||||||
test: "spock"
|
|
||||||
requiredPropertiesInConstructor: "false"
|
|
||||||
visitable: "true"
|
|
||||||
fullProject: "true"
|
|
||||||
14
bin/configs/java-helidon-client-mp_3.yaml
Normal file
14
bin/configs/java-helidon-client-mp_3.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
generatorName: java-helidon-client
|
||||||
|
library: mp
|
||||||
|
outputDir: samples/client/petstore/java-helidon-client/v3/mp
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
additionalProperties:
|
||||||
|
helidonVersion: 3.2.7
|
||||||
|
artifactId: petstore-helidon-client-mp
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
configureAuth: "false"
|
||||||
|
build: "all"
|
||||||
|
test: "spock"
|
||||||
|
requiredPropertiesInConstructor: "false"
|
||||||
|
visitable: "true"
|
||||||
|
fullProject: "true"
|
||||||
14
bin/configs/java-helidon-client-mp_4.yaml
Normal file
14
bin/configs/java-helidon-client-mp_4.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
generatorName: java-helidon-client
|
||||||
|
library: mp
|
||||||
|
outputDir: samples/client/petstore/java-helidon-client/v4/mp
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
additionalProperties:
|
||||||
|
helidonVersion: 4.0.8
|
||||||
|
artifactId: petstore-helidon-client-mp
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
configureAuth: "false"
|
||||||
|
build: "all"
|
||||||
|
test: "spock"
|
||||||
|
requiredPropertiesInConstructor: "false"
|
||||||
|
visitable: "true"
|
||||||
|
fullProject: "true"
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
generatorName: java-helidon-client
|
|
||||||
library: se
|
|
||||||
outputDir: samples/client/petstore/java-helidon-client/se
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: petstore-helidon-client-se
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
configureAuth: "false"
|
|
||||||
build: "all"
|
|
||||||
test: "spock"
|
|
||||||
requiredPropertiesInConstructor: "false"
|
|
||||||
visitable: "true"
|
|
||||||
fullProject: "true"
|
|
||||||
14
bin/configs/java-helidon-client-se_3.yaml
Normal file
14
bin/configs/java-helidon-client-se_3.yaml
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
generatorName: java-helidon-client
|
||||||
|
library: se
|
||||||
|
outputDir: samples/client/petstore/java-helidon-client/v3/se
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
additionalProperties:
|
||||||
|
helidonVersion: 3.2.7
|
||||||
|
artifactId: petstore-helidon-client-se
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
configureAuth: "false"
|
||||||
|
build: "all"
|
||||||
|
test: "spock"
|
||||||
|
requiredPropertiesInConstructor: "false"
|
||||||
|
visitable: "true"
|
||||||
|
fullProject: "true"
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
generatorName: java-helidon-server
|
|
||||||
library: mp
|
|
||||||
outputDir: samples/server/petstore/java-helidon-server/mp
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/java-helidon/server
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: petstore-helidon-server-mp
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
build: "all"
|
|
||||||
test: "spock"
|
|
||||||
useAuth: "false"
|
|
||||||
fullProject: "true"
|
|
||||||
13
bin/configs/java-helidon-server-mp_3.yaml
Normal file
13
bin/configs/java-helidon-server-mp_3.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
generatorName: java-helidon-server
|
||||||
|
library: mp
|
||||||
|
outputDir: samples/server/petstore/java-helidon-server/v3/mp
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/java-helidon/server
|
||||||
|
additionalProperties:
|
||||||
|
helidonVersion: 3.2.7
|
||||||
|
artifactId: petstore-helidon-server-mp
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
build: "all"
|
||||||
|
test: "spock"
|
||||||
|
useAuth: "false"
|
||||||
|
fullProject: "true"
|
||||||
13
bin/configs/java-helidon-server-mp_4.yaml
Normal file
13
bin/configs/java-helidon-server-mp_4.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
generatorName: java-helidon-server
|
||||||
|
library: mp
|
||||||
|
outputDir: samples/server/petstore/java-helidon-server/v4/mp
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/java-helidon/server
|
||||||
|
additionalProperties:
|
||||||
|
helidonVersion: 4.0.8
|
||||||
|
artifactId: petstore-helidon-server-mp
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
build: "all"
|
||||||
|
test: "spock"
|
||||||
|
useAuth: "false"
|
||||||
|
fullProject: "true"
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
generatorName: java-helidon-server
|
|
||||||
library: se
|
|
||||||
outputDir: samples/server/petstore/java-helidon-server/se
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/java-helidon/server
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: petstore-helidon-server-se
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
fullProject: "true"
|
|
||||||
10
bin/configs/java-helidon-server-se_3.yaml
Normal file
10
bin/configs/java-helidon-server-se_3.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
generatorName: java-helidon-server
|
||||||
|
library: se
|
||||||
|
outputDir: samples/server/petstore/java-helidon-server/v3/se
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/java-helidon/server
|
||||||
|
additionalProperties:
|
||||||
|
helidonVersion: 3.2.7
|
||||||
|
artifactId: petstore-helidon-server-se
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
fullProject: "true"
|
||||||
@@ -10,6 +10,4 @@ additionalProperties:
|
|||||||
dateLibrary: java8
|
dateLibrary: java8
|
||||||
useOneOfDiscriminatorLookup: true
|
useOneOfDiscriminatorLookup: true
|
||||||
disallowAdditionalPropertiesIfNotPresent: false
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
systemProperties:
|
validateSpec: false
|
||||||
skipValidateSpec: "false"
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ outputDir: samples/client/petstore/java/microprofile-rest-client-3.0-jackson-wit
|
|||||||
library: microprofile
|
library: microprofile
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/Java
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
withXml: true
|
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
serializationLibrary: jackson
|
serializationLibrary: jackson
|
||||||
artifactId: microprofile-rest-client-3-jackson-with-xml
|
artifactId: microprofile-rest-client-3-jackson-with-xml
|
||||||
configKey: petstore
|
configKey: petstore
|
||||||
microprofileRestClientVersion: "3.0"
|
microprofileRestClientVersion: "3.0"
|
||||||
hideGenerationTimestamp: true
|
hideGenerationTimestamp: true
|
||||||
|
withXml: true
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
generatorName: java
|
generatorName: java
|
||||||
outputDir: samples/client/petstore/java/microprofile-rest-client
|
outputDir: samples/client/petstore/java/microprofile-rest-client
|
||||||
library: microprofile
|
library: microprofile
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/Java
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
artifactId: microprofile-rest-client
|
artifactId: microprofile-rest-client
|
||||||
configKey: petstore
|
configKeyFromClassName: true
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
generatorName: java-microprofile
|
||||||
|
outputDir: samples/server/petstore/java-microprofile
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-multiple-2xx-responses.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
|
additionalProperties:
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
microprofileMutiny: "true"
|
||||||
|
serializationLibrary: "jackson"
|
||||||
@@ -6,3 +6,4 @@ templateDir: modules/openapi-generator/src/main/resources/Java
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
artifactId: petstore-native
|
artifactId: petstore-native
|
||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
|
generateBuilders: true
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ templateDir: modules/openapi-generator/src/main/resources/Java
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
files:
|
files:
|
||||||
README.md:
|
README.mustache:
|
||||||
destinationFilename: info.md
|
destinationFilename: info.md
|
||||||
api_doc.mustache:
|
api_doc.mustache:
|
||||||
templateType: APIDocs
|
templateType: APIDocs
|
||||||
|
|||||||
13
bin/configs/java-restclient-echo-api.yaml
Normal file
13
bin/configs/java-restclient-echo-api.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
generatorName: java
|
||||||
|
outputDir: samples/client/echo_api/java/restclient
|
||||||
|
library: restclient
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
|
additionalProperties:
|
||||||
|
artifactId: echo-api-native
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
|
||||||
|
typeMappings:
|
||||||
|
OffsetDateTime: "Instant"
|
||||||
|
importMappings:
|
||||||
|
OffsetDateTime: "java.time.Instant"
|
||||||
8
bin/configs/java-restclient-nullable-array.yaml
Normal file
8
bin/configs/java-restclient-nullable-array.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
generatorName: java
|
||||||
|
outputDir: samples/client/petstore/java/restclient-nullable-arrays
|
||||||
|
library: restclient
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/schema-with-nullable-arrays.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
|
additionalProperties:
|
||||||
|
artifactId: petstore-restclient-nullable-arrays
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
10
bin/configs/java-restclient-swagger2.yaml
Normal file
10
bin/configs/java-restclient-swagger2.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
generatorName: java
|
||||||
|
outputDir: samples/client/petstore/java/restclient-swagger2
|
||||||
|
library: restclient
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
|
additionalProperties:
|
||||||
|
artifactId: petstore-restclient
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
containerDefaultToNull: "true"
|
||||||
|
annotationLibrary: "swagger2"
|
||||||
9
bin/configs/java-restclient-useAbstractionForFiles.yaml
Normal file
9
bin/configs/java-restclient-useAbstractionForFiles.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
generatorName: java
|
||||||
|
outputDir: samples/client/others/java/restclient-useAbstractionForFiles
|
||||||
|
library: restclient
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/issue13146_file_abstraction_response.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
|
additionalProperties:
|
||||||
|
artifactId: file-restclient
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
useAbstractionForFiles: true
|
||||||
9
bin/configs/java-restclient.yaml
Normal file
9
bin/configs/java-restclient.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
generatorName: java
|
||||||
|
outputDir: samples/client/petstore/java/restclient
|
||||||
|
library: restclient
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
|
additionalProperties:
|
||||||
|
artifactId: petstore-restclient
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
containerDefaultToNull: "true"
|
||||||
@@ -8,3 +8,4 @@ additionalProperties:
|
|||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
java8: true
|
java8: true
|
||||||
useJakartaEe: true
|
useJakartaEe: true
|
||||||
|
generateConstructorWithAllArgs: true
|
||||||
|
|||||||
11
bin/configs/java-resttemplate-list-schema-validation.yaml
Normal file
11
bin/configs/java-resttemplate-list-schema-validation.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
generatorName: java
|
||||||
|
outputDir: samples/client/others/java/resttemplate-list-schema-validation
|
||||||
|
library: resttemplate
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_1/issue-17485.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/Java
|
||||||
|
additionalProperties:
|
||||||
|
artifactId: java-resttemplate-list-schema-validation
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
useBeanValidation: true
|
||||||
|
generateConstructorWithAllArgs: true
|
||||||
|
|
||||||
@@ -8,3 +8,5 @@ additionalProperties:
|
|||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
java8: true
|
java8: true
|
||||||
containerDefaultToNull: true
|
containerDefaultToNull: true
|
||||||
|
generateConstructorWithAllArgs: true
|
||||||
|
generateBuilders: true
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
generatorName: jaxrs-spec
|
generatorName: jaxrs-spec
|
||||||
outputDir: samples/server/petstore/jaxrs-spec
|
outputDir: samples/server/petstore/jaxrs-spec
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/jaxrs-spec/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/JavaJaxRS/spec
|
templateDir: modules/openapi-generator/src/main/resources/JavaJaxRS/spec
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
artifactId: jaxrs-spec-petstore-server
|
artifactId: jaxrs-spec-petstore-server
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
generatorName: kotlin
|
generatorName: kotlin
|
||||||
outputDir: samples/client/echo_api/kotlin-jvm-spring-3-webclient
|
outputDir: samples/client/echo_api/kotlin-jvm-spring-3-webclient
|
||||||
library: jvm-spring-restclient
|
library: jvm-spring-webclient
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
|||||||
@@ -11,5 +11,6 @@ additionalProperties:
|
|||||||
library: jvm-retrofit2
|
library: jvm-retrofit2
|
||||||
enumPropertyNaming: UPPERCASE
|
enumPropertyNaming: UPPERCASE
|
||||||
serializationLibrary: gson
|
serializationLibrary: gson
|
||||||
|
generateOneOfAnyOfWrappers: true
|
||||||
openapiNormalizer:
|
openapiNormalizer:
|
||||||
SIMPLIFY_ONEOF_ANYOF: false
|
SIMPLIFY_ONEOF_ANYOF: false
|
||||||
|
|||||||
7
bin/configs/kotlin-server-javalin-6.yaml
Normal file
7
bin/configs/kotlin-server-javalin-6.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
generatorName: kotlin-server
|
||||||
|
outputDir: samples/server/petstore/kotlin-server/javalin-6
|
||||||
|
library: javalin6
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-server
|
||||||
|
additionalProperties:
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
@@ -11,3 +11,4 @@ additionalProperties:
|
|||||||
serializableModel: "true"
|
serializableModel: "true"
|
||||||
beanValidations: "true"
|
beanValidations: "true"
|
||||||
useSpringBoot3: "true"
|
useSpringBoot3: "true"
|
||||||
|
requestMappingMode: api_interface
|
||||||
|
|||||||
@@ -9,3 +9,4 @@ additionalProperties:
|
|||||||
useSwaggerUI: "true"
|
useSwaggerUI: "true"
|
||||||
delegatePattern: "true"
|
delegatePattern: "true"
|
||||||
beanValidations: "true"
|
beanValidations: "true"
|
||||||
|
requestMappingMode: none
|
||||||
|
|||||||
@@ -10,3 +10,4 @@ additionalProperties:
|
|||||||
serviceImplementation: "true"
|
serviceImplementation: "true"
|
||||||
serializableModel: "true"
|
serializableModel: "true"
|
||||||
beanValidations: "true"
|
beanValidations: "true"
|
||||||
|
requestMappingMode: controller
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
generatorName: kotlin-spring
|
generatorName: kotlin-spring
|
||||||
outputDir: samples/client/petstore/kotlin-spring-cloud
|
outputDir: samples/server/petstore/kotlin-spring-cloud
|
||||||
library: spring-cloud
|
library: spring-cloud
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-spring
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-spring
|
||||||
|
|||||||
4
bin/configs/kotlin-wiremock-echo-api.yaml
Normal file
4
bin/configs/kotlin-wiremock-echo-api.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
generatorName: kotlin-wiremock
|
||||||
|
outputDir: samples/server/echo_api/kotlin-wiremock
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/kotlin/echo_api.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-wiremock
|
||||||
4
bin/configs/kotlin-wiremock.yaml
Normal file
4
bin/configs/kotlin-wiremock.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
generatorName: kotlin-wiremock
|
||||||
|
outputDir: samples/server/petstore/kotlin-wiremock
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-wiremock
|
||||||
9
bin/configs/manual/rust-axum-header-uuid.yaml
Normal file
9
bin/configs/manual/rust-axum-header-uuid.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
generatorName: rust-axum
|
||||||
|
outputDir: samples/server/petstore/rust-axum/output/rust-axum-header-uuid
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust-axum/rust-axum-header-uuid.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/rust-axum
|
||||||
|
generateAliasAsModel: true
|
||||||
|
additionalProperties:
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
packageName: rust-axum-header-uui
|
||||||
|
enablePostProcessFile: true
|
||||||
10
bin/configs/manual/rust-axum-validation.yaml
Normal file
10
bin/configs/manual/rust-axum-validation.yaml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
generatorName: rust-axum
|
||||||
|
outputDir: samples/server/petstore/rust-axum/output/rust-axum-validation-test
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/rust-axum-validation-test.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/rust-axum
|
||||||
|
generateAliasAsModel: true
|
||||||
|
additionalProperties:
|
||||||
|
hideGenerationTimestamp: "true"
|
||||||
|
packageName: rust-axum-validation-test
|
||||||
|
disableValidator: "true"
|
||||||
|
enablePostProcessFile: true
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user