mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 17:00:43 +00:00
Compare commits
14 Commits
filipe-sil
...
timcbaoth-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f37a431e49 | ||
|
|
f362ff1e88 | ||
|
|
ef50215438 | ||
|
|
f10a9939dd | ||
|
|
e1b3dbc683 | ||
|
|
08590cb7f3 | ||
|
|
2cacac8aea | ||
|
|
0596817264 | ||
|
|
5a988d719f | ||
|
|
9714f12d5d | ||
|
|
67a2ccc67f | ||
|
|
a9de1ef614 | ||
|
|
cb1f2dab3a | ||
|
|
80b6dd933f |
@@ -141,7 +141,7 @@ commands: # a reusable command with parameters
|
|||||||
jobs:
|
jobs:
|
||||||
node0:
|
node0:
|
||||||
machine:
|
machine:
|
||||||
image: ubuntu-2004:2024.01.1
|
image: ubuntu-2004:202201-02
|
||||||
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:2024.01.1
|
image: ubuntu-2004:202201-02
|
||||||
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:2024.01.1
|
image: ubuntu-2004:202201-02
|
||||||
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:2024.01.1
|
image: ubuntu-2004:202201-02
|
||||||
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/current",
|
"path": "/usr/local/sdkman/candidates/java/11.0.16.1-ms",
|
||||||
"sources": "/usr/local/sdkman/candidates/java/current/lib/src.zip",
|
"sources": "/usr/local/sdkman/candidates/java/11.0.16.1-ms/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"
|
||||||
}
|
}
|
||||||
11
.github/CODEOWNERS
vendored
11
.github/CODEOWNERS
vendored
@@ -12,11 +12,22 @@ modules/openapi-generator-core/**/* @OpenAPITools/generator-core-team
|
|||||||
# No need for auto-generated subdirectories (reduces noise)
|
# No need for auto-generated subdirectories (reduces noise)
|
||||||
docs/ @OpenAPITools/generator-core-team
|
docs/ @OpenAPITools/generator-core-team
|
||||||
|
|
||||||
|
## Individual interests
|
||||||
|
.github/**/* @jimschubert
|
||||||
|
scripts/**/* @jimschubert
|
||||||
|
website/**/* @jimschubert
|
||||||
|
bin/ci/**/* @jimschubert
|
||||||
|
|
||||||
## Build related
|
## Build related
|
||||||
CI/**/* @OpenAPITools/build
|
CI/**/* @OpenAPITools/build
|
||||||
.mvn/**/* @OpenAPITools/build
|
.mvn/**/* @OpenAPITools/build
|
||||||
bin/utils/**/* @OpenAPITools/build
|
bin/utils/**/* @OpenAPITools/build
|
||||||
|
|
||||||
|
## Module-specific
|
||||||
|
modules/openapi-generator-cli/**/* @jimschubert
|
||||||
|
modules/openapi-generator-gradle-plugin/**/* @jimschubert
|
||||||
|
modules/openapi-generator-maven-plugin/**/* @jimschubert
|
||||||
|
|
||||||
# cpp-qt-client technical committee
|
# cpp-qt-client technical committee
|
||||||
modules/openapi-generator/src/main/resources/cpp-qt-client/**/* @ravinikam
|
modules/openapi-generator/src/main/resources/cpp-qt-client/**/* @ravinikam
|
||||||
samples/client/petstore/cpp-qt/**/* @ravinikam
|
samples/client/petstore/cpp-qt/**/* @ravinikam
|
||||||
|
|||||||
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.6.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.1.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: 8.7
|
GRADLE_VERSION: 7.2
|
||||||
|
|
||||||
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.14.0
|
uses: s4u/setup-maven-action@v1.12.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.14.0
|
uses: s4u/setup-maven-action@v1.12.0
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
|
|||||||
1
.github/workflows/maven-plugin-tests.yaml
vendored
1
.github/workflows/maven-plugin-tests.yaml
vendored
@@ -39,7 +39,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
./mvnw clean install -DskipTests -Dmaven.javadoc.skip=true
|
./mvnw clean install -DskipTests -Dmaven.javadoc.skip=true
|
||||||
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/java-client.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||||
./mvnw --no-snapshot-updates --quiet clean install -f modules/openapi-generator-maven-plugin/examples/multi-module/sample-external-ref-schema/pom.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
|
||||||
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/multi-module/pom.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||||
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/kotlin.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/kotlin.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||||
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/spring.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
./mvnw --no-snapshot-updates --quiet clean compile -f modules/openapi-generator-maven-plugin/examples/spring.xml -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||||
|
|||||||
34
.github/workflows/openapi-generator.yaml
vendored
34
.github/workflows/openapi-generator.yaml
vendored
@@ -140,40 +140,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: openapi-generator-cli.jar
|
name: openapi-generator-cli.jar
|
||||||
path: modules/openapi-generator-cli/target
|
path: modules/openapi-generator-cli/target
|
||||||
- name: Delete samples that are entirely generated
|
|
||||||
run: |
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOf
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/FormModels
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/OneOf
|
|
||||||
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/UseDateTimeForDate
|
|
||||||
|
|
||||||
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
|
|
||||||
# when a sample is deleted, you have to generate it twice for all files to get created
|
|
||||||
bash bin/generate-samples.sh
|
|
||||||
- name: Verify git status
|
- name: Verify git status
|
||||||
run: |
|
run: |
|
||||||
if [[ "$(git status --porcelain)" != "" ]]; then
|
if [[ "$(git status --porcelain)" != "" ]]; then
|
||||||
|
|||||||
13
.github/workflows/samples-cpp-qt-client.yaml
vendored
13
.github/workflows/samples-cpp-qt-client.yaml
vendored
@@ -3,10 +3,10 @@ name: Samples cpp qt client
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "samples/client/petstore/cpp-qt/**"
|
- 'samples/client/petstore/cpp-qt/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "samples/client/petstore/cpp-qt/**"
|
- 'samples/client/petstore/cpp-qt/**'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GRADLE_VERSION: 6.9
|
GRADLE_VERSION: 6.9
|
||||||
@@ -16,6 +16,9 @@ jobs:
|
|||||||
name: Build cpp qt client
|
name: Build cpp qt client
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
|
qt-version:
|
||||||
|
- '5.15.2'
|
||||||
|
- '6.5.3'
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macOS-latest
|
- macOS-latest
|
||||||
@@ -24,10 +27,10 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Qt
|
- name: Install Qt
|
||||||
uses: jurplel/install-qt-action@v4
|
uses: jurplel/install-qt-action@v3
|
||||||
with:
|
with:
|
||||||
version: "6.7.1"
|
version: ${{ matrix.qt-version }}
|
||||||
target: "desktop"
|
tools: ${{ matrix.tools }}
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: "samples/client/petstore/cpp-qt"
|
working-directory: "samples/client/petstore/cpp-qt"
|
||||||
run: cmake . && cmake --build .
|
run: cmake . && cmake --build .
|
||||||
|
|||||||
42
.github/workflows/samples-dotnet-fx.yaml
vendored
42
.github/workflows/samples-dotnet-fx.yaml
vendored
@@ -1,42 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
# - samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/
|
# - samples/client/petstore/csharp/unityWebRequest/standard2.0/Petstore/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.1
|
- uses: actions/setup-dotnet@v4.0.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.*
|
dotnet-version: 3.1.*
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
2
.github/workflows/samples-dotnet.yaml
vendored
2
.github/workflows/samples-dotnet.yaml
vendored
@@ -34,7 +34,7 @@ jobs:
|
|||||||
- samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
- samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.1
|
- uses: actions/setup-dotnet@v4.0.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- samples/client/echo_api/csharp-restsharp/
|
- samples/client/echo_api/csharp-restsharp/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.1
|
- uses: actions/setup-dotnet@v4.0.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- name: Run echo server
|
- name: Run echo server
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- samples/client/petstore/csharp/restsharp/net6/ParameterMappings/
|
- samples/client/petstore/csharp/restsharp/net6/ParameterMappings/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.1
|
- uses: actions/setup-dotnet@v4.0.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- samples/server/petstore/aspnetcore-6.0-useSwashBuckle
|
- samples/server/petstore/aspnetcore-6.0-useSwashBuckle
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.1
|
- uses: actions/setup-dotnet@v4.0.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
36
.github/workflows/samples-dotnet8-server.yaml
vendored
36
.github/workflows/samples-dotnet8-server.yaml
vendored
@@ -1,36 +0,0 @@
|
|||||||
name: Samples C# .Net 8 Server
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- samples/server/petstore/aspnetcore-8.0/**
|
|
||||||
- samples/server/petstore/aspnetcore-8.0-*/**
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- samples/server/petstore/aspnetcore-8.0/**
|
|
||||||
- samples/server/petstore/aspnetcore-8.0-*/**
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build .Net 8 servers
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
sample:
|
|
||||||
- samples/server/petstore/aspnetcore-8.0
|
|
||||||
- samples/server/petstore/aspnetcore-8.0-NewtonsoftFalse
|
|
||||||
- samples/server/petstore/aspnetcore-8.0-nullableReferenceTypes
|
|
||||||
- samples/server/petstore/aspnetcore-8.0-pocoModels
|
|
||||||
- samples/server/petstore/aspnetcore-8.0-project4Models
|
|
||||||
- samples/server/petstore/aspnetcore-8.0-useSwashBuckle
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-dotnet@v4.0.1
|
|
||||||
with:
|
|
||||||
dotnet-version: '8.0.x'
|
|
||||||
- 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@v6
|
- uses: jorelali/setup-elm@v5
|
||||||
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,17 +6,15 @@ 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
|
||||||
@@ -25,7 +23,6 @@ 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
|
||||||
|
|||||||
3
.github/workflows/samples-haskell.yaml
vendored
3
.github/workflows/samples-haskell.yaml
vendored
@@ -5,13 +5,11 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- samples/server/petstore/haskell-yesod/**
|
- samples/server/petstore/haskell-yesod/**
|
||||||
- samples/server/petstore/haskell-servant/**
|
- samples/server/petstore/haskell-servant/**
|
||||||
- samples/server/others/haskell-servant-ping/**
|
|
||||||
- samples/client/petstore/haskell-http-client/**
|
- samples/client/petstore/haskell-http-client/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- samples/server/petstore/haskell-yesod/**
|
- samples/server/petstore/haskell-yesod/**
|
||||||
- samples/server/petstore/haskell-servant/**
|
- samples/server/petstore/haskell-servant/**
|
||||||
- samples/server/others/haskell-servant-ping/**
|
|
||||||
- samples/client/petstore/haskell-http-client/**
|
- samples/client/petstore/haskell-http-client/**
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
@@ -24,7 +22,6 @@ jobs:
|
|||||||
# servers
|
# servers
|
||||||
- samples/server/petstore/haskell-yesod/
|
- samples/server/petstore/haskell-yesod/
|
||||||
- samples/server/petstore/haskell-servant/
|
- samples/server/petstore/haskell-servant/
|
||||||
- samples/server/others/haskell-servant-ping/
|
|
||||||
- samples/client/petstore/haskell-http-client/
|
- samples/client/petstore/haskell-http-client/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
@@ -1,47 +0,0 @@
|
|||||||
name: Java Client (Echo API) JDK17
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- samples/client/echo_api/java/**
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- samples/client/echo_api/java/**
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build Java Client JDK17
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
sample:
|
|
||||||
# clients
|
|
||||||
- samples/client/echo_api/java/apache-httpclient
|
|
||||||
- samples/client/echo_api/java/native
|
|
||||||
- samples/client/echo_api/java/feign-gson
|
|
||||||
- samples/client/echo_api/java/resttemplate
|
|
||||||
- samples/client/echo_api/java/resteasy
|
|
||||||
- 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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ 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/**'
|
||||||
@@ -30,7 +29,6 @@ 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
|
||||||
@@ -75,12 +73,10 @@ jobs:
|
|||||||
- samples/client/petstore/java/resttemplate-swagger2/
|
- samples/client/petstore/java/resttemplate-swagger2/
|
||||||
- samples/openapi3/client/petstore/java/jersey2-java8-swagger2/
|
- samples/openapi3/client/petstore/java/jersey2-java8-swagger2/
|
||||||
- samples/client/others/java/okhttp-gson-oneOf/
|
- samples/client/others/java/okhttp-gson-oneOf/
|
||||||
- samples/client/echo_api/java/okhttp-gson-user-defined-templates/
|
|
||||||
- samples/client/others/java/resttemplate-useAbstractionForFiles/
|
- samples/client/others/java/resttemplate-useAbstractionForFiles/
|
||||||
- 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
|
||||||
@@ -97,4 +93,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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
29
.github/workflows/samples-java-client-jdk17.yaml
vendored
29
.github/workflows/samples-java-client-jdk17.yaml
vendored
@@ -5,12 +5,10 @@ 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
|
||||||
@@ -22,9 +20,6 @@ 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
|
||||||
@@ -39,27 +34,9 @@ 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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
- 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: ./gradlew build -x test
|
run: gradle clean build
|
||||||
|
|||||||
41
.github/workflows/samples-java-helidon-v3.yaml
vendored
41
.github/workflows/samples-java-helidon-v3.yaml
vendored
@@ -1,41 +0,0 @@
|
|||||||
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
39
.github/workflows/samples-java-helidon-v4.yaml
vendored
@@ -1,39 +0,0 @@
|
|||||||
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
Normal file
41
.github/workflows/samples-java-helidon.yaml
vendored
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
@@ -3,19 +3,20 @@ name: Samples Java Server
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
|
# java-camel is tested locally for the time being
|
||||||
|
#- 'samples/server/petstore/java-camel/**'
|
||||||
- 'samples/server/petstore/java-vertx-web/**'
|
- 'samples/server/petstore/java-vertx-web/**'
|
||||||
- 'samples/server/petstore/java-inflector/**'
|
- 'samples/server/petstore/java-inflector/**'
|
||||||
- '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-vertx-web/**'
|
- 'samples/server/petstore/java-vertx-web/**'
|
||||||
- '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
|
||||||
@@ -25,11 +26,11 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
sample:
|
sample:
|
||||||
# servers
|
# servers
|
||||||
|
#- samples/server/petstore/java-camel/
|
||||||
- samples/server/petstore/java-vertx-web/
|
- samples/server/petstore/java-vertx-web/
|
||||||
- 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
|
||||||
@@ -46,4 +47,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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
32
.github/workflows/samples-jdk17.yaml
vendored
32
.github/workflows/samples-jdk17.yaml
vendored
@@ -4,32 +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/v3/mp/**
|
- samples/client/petstore/java-helidon-client/mp/**
|
||||||
- samples/client/petstore/java-helidon-client/v3/se/**
|
- samples/client/petstore/java-helidon-client/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/**
|
||||||
- samples/client/petstore/java/microprofile-rest-client-outer-enum/**
|
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3/**
|
- samples/openapi3/server/petstore/springboot-3/**
|
||||||
- samples/server/petstore/java-camel/**
|
- 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/v3/mp/**
|
- samples/client/petstore/java-helidon-client/mp/**
|
||||||
- samples/client/petstore/java-helidon-client/v3/se/**
|
- samples/client/petstore/java-helidon-client/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/**
|
||||||
- samples/client/petstore/java/microprofile-rest-client-outer-enum/**
|
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3/**
|
- samples/openapi3/server/petstore/springboot-3/**
|
||||||
- samples/server/petstore/java-camel/**
|
- 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
|
||||||
@@ -40,17 +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/v3/mp/
|
- samples/client/petstore/java-helidon-client/mp
|
||||||
- samples/client/petstore/java-helidon-client/v3/se
|
- samples/client/petstore/java-helidon-client/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
|
||||||
- samples/client/petstore/java/microprofile-rest-client-outer-enum
|
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3
|
- samples/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/java-camel/
|
- 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:
|
||||||
@@ -69,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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
43
.github/workflows/samples-jdk21.yaml
vendored
43
.github/workflows/samples-jdk21.yaml
vendored
@@ -1,43 +0,0 @@
|
|||||||
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
|
|
||||||
2
.github/workflows/samples-julia.yaml
vendored
2
.github/workflows/samples-julia.yaml
vendored
@@ -30,7 +30,7 @@ jobs:
|
|||||||
# Using develop mode to install package so that it is easier to modify the package test files
|
# Using develop mode to install package so that it is easier to modify the package test files
|
||||||
julia -e "using Pkg; Pkg.develop(\"OpenAPI\");"
|
julia -e "using Pkg; Pkg.develop(\"OpenAPI\");"
|
||||||
cd ~/.julia/dev/OpenAPI
|
cd ~/.julia/dev/OpenAPI
|
||||||
git checkout v0.1.25
|
git checkout v0.1.14
|
||||||
cd $currdir
|
cd $currdir
|
||||||
rm -rf ~/.julia/dev/OpenAPI/test/client/openapigenerator_petstore_v3/petstore
|
rm -rf ~/.julia/dev/OpenAPI/test/client/openapigenerator_petstore_v3/petstore
|
||||||
rm -rf ~/.julia/dev/OpenAPI/test/server/openapigenerator_petstore_v3/petstore
|
rm -rf ~/.julia/dev/OpenAPI/test/server/openapigenerator_petstore_v3/petstore
|
||||||
|
|||||||
7
.github/workflows/samples-kotlin-client.yaml
vendored
7
.github/workflows/samples-kotlin-client.yaml
vendored
@@ -10,6 +10,9 @@ 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
|
||||||
@@ -62,6 +65,7 @@ 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:
|
||||||
@@ -69,7 +73,7 @@ jobs:
|
|||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 8
|
||||||
- name: Cache maven dependencies
|
- name: Cache maven dependencies
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
env:
|
env:
|
||||||
@@ -81,6 +85,7 @@ 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,7 +7,8 @@ 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
|
||||||
@@ -36,6 +37,7 @@ 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,18 +1,16 @@
|
|||||||
name: Samples Kotlin server (jdk17)
|
name: Samples Kotlin server
|
||||||
|
|
||||||
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/**
|
||||||
|
|
||||||
@@ -29,11 +27,8 @@ jobs:
|
|||||||
sample:
|
sample:
|
||||||
# server
|
# server
|
||||||
- samples/server/petstore/kotlin-springboot-3
|
- samples/server/petstore/kotlin-springboot-3
|
||||||
- samples/server/petstore/kotlin-springboot-delegate-nodefaults
|
|
||||||
- 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:
|
||||||
|
|||||||
@@ -1,45 +0,0 @@
|
|||||||
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
|
|
||||||
2
.github/workflows/samples-kotlin-server.yaml
vendored
2
.github/workflows/samples-kotlin-server.yaml
vendored
@@ -29,7 +29,6 @@ jobs:
|
|||||||
sample:
|
sample:
|
||||||
# server
|
# server
|
||||||
- samples/server/petstore/kotlin-springboot
|
- samples/server/petstore/kotlin-springboot
|
||||||
- samples/server/petstore/kotlin-springboot-multipart-request-model
|
|
||||||
- samples/server/petstore/kotlin-springboot-bigdecimal-default
|
- samples/server/petstore/kotlin-springboot-bigdecimal-default
|
||||||
- samples/server/petstore/kotlin-springboot-delegate
|
- samples/server/petstore/kotlin-springboot-delegate
|
||||||
- samples/server/petstore/kotlin-springboot-modelMutable
|
- samples/server/petstore/kotlin-springboot-modelMutable
|
||||||
@@ -44,7 +43,6 @@ 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
44
.github/workflows/samples-kotlin-wiremock.yaml
vendored
@@ -1,44 +0,0 @@
|
|||||||
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
|
|
||||||
3
.github/workflows/samples-php8.yaml
vendored
3
.github/workflows/samples-php8.yaml
vendored
@@ -4,11 +4,9 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- samples/server/petstore/php-symfony/SymfonyBundle-php/**
|
- samples/server/petstore/php-symfony/SymfonyBundle-php/**
|
||||||
- samples/server/petstore/php-flight/**
|
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- samples/server/petstore/php-symfony/SymfonyBundle-php/**
|
- samples/server/petstore/php-symfony/SymfonyBundle-php/**
|
||||||
- samples/server/petstore/php-flight/**
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build PHP projects
|
name: Build PHP projects
|
||||||
@@ -19,7 +17,6 @@ jobs:
|
|||||||
sample:
|
sample:
|
||||||
# servers
|
# servers
|
||||||
- samples/server/petstore/php-symfony/SymfonyBundle-php/
|
- samples/server/petstore/php-symfony/SymfonyBundle-php/
|
||||||
- samples/server/petstore/php-flight/
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup PHP with tools
|
- name: Setup PHP with tools
|
||||||
|
|||||||
@@ -4,7 +4,6 @@ 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:
|
||||||
@@ -18,11 +17,11 @@ jobs:
|
|||||||
- samples/client/echo_api/python
|
- samples/client/echo_api/python
|
||||||
- samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent
|
- samples/client/echo_api/python-disallowAdditionalPropertiesIfNotPresent
|
||||||
python-version:
|
python-version:
|
||||||
|
- "3.7"
|
||||||
- "3.8"
|
- "3.8"
|
||||||
- "3.9"
|
- "3.9"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
- "3.11"
|
- "3.11"
|
||||||
- "3.12"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
@@ -42,7 +41,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: python -m unittest discover
|
run: python -m pytest
|
||||||
|
|
||||||
- name: mypy
|
- name: mypy
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
|
- "3.7"
|
||||||
- "3.8"
|
- "3.8"
|
||||||
- "3.9"
|
- "3.9"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
|
- "3.7"
|
||||||
- "3.8"
|
- "3.8"
|
||||||
- "3.9"
|
- "3.9"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
|
|||||||
10
.github/workflows/samples-spring-jdk17.yaml
vendored
10
.github/workflows/samples-spring-jdk17.yaml
vendored
@@ -4,17 +4,11 @@ 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)
|
||||||
@@ -26,10 +20,8 @@ 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
|
||||||
@@ -46,4 +38,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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
40
.github/workflows/samples-spring.yaml
vendored
40
.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/client/petstore/spring-cloud-auth
|
|
||||||
- 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
|
||||||
- samples/openapi3/client/petstore/spring-cloud-async
|
- samples/client/petstore/spring-cloud-date-time
|
||||||
- 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/openapi3/server/petstore/springboot
|
|
||||||
- samples/openapi3/server/petstore/springboot-implicitHeaders
|
|
||||||
- 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-defaultInterface-unhandledException
|
|
||||||
- samples/server/petstore/springboot
|
- samples/server/petstore/springboot
|
||||||
|
- samples/openapi3/server/petstore/springboot
|
||||||
- samples/server/petstore/springboot-beanvalidation
|
- samples/server/petstore/springboot-beanvalidation
|
||||||
- samples/server/petstore/springboot-delegate
|
- samples/server/petstore/springboot-useoptional
|
||||||
- samples/server/petstore/springboot-delegate-no-response-entity
|
|
||||||
- samples/server/petstore/springboot-implicitHeaders
|
|
||||||
- samples/server/petstore/springboot-implicitHeaders-annotationLibrary
|
|
||||||
- samples/server/petstore/springboot-lombok-data
|
|
||||||
- samples/server/petstore/springboot-reactive
|
- samples/server/petstore/springboot-reactive
|
||||||
- samples/server/petstore/springboot-reactive-noResponseEntity
|
- samples/server/petstore/springboot-reactive-noResponseEntity
|
||||||
|
- samples/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/server/petstore/spring-boot-nullable-set
|
||||||
|
- samples/server/petstore/spring-boot-defaultInterface-unhandledException
|
||||||
|
- samples/openapi3/server/petstore/spring-boot-oneof
|
||||||
|
- samples/server/petstore/springboot-virtualan
|
||||||
|
- samples/server/petstore/springboot-implicitHeaders-annotationLibrary
|
||||||
- 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-useoptional
|
- samples/server/petstore/springboot-lombok-data
|
||||||
- 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 --no-transfer-progress
|
run: mvn clean package
|
||||||
|
|||||||
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.14.0
|
uses: s4u/setup-maven-action@v1.12.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
|
|||||||
6
.gitignore
vendored
6
.gitignore
vendored
@@ -1,5 +1,4 @@
|
|||||||
.mvn/.gradle-enterprise/
|
.mvn/.gradle-enterprise/
|
||||||
.mvn/.develocity/
|
|
||||||
.scannerwork/
|
.scannerwork/
|
||||||
.vscode
|
.vscode
|
||||||
*.iml
|
*.iml
|
||||||
@@ -86,11 +85,6 @@ samples/client/petstore/cpp-restsdk/CMakeCache.txt
|
|||||||
samples/client/petstore/cpp-restsdk/CMakeFiles/
|
samples/client/petstore/cpp-restsdk/CMakeFiles/
|
||||||
samples/client/petstore/cpp-restsdk/Makefile
|
samples/client/petstore/cpp-restsdk/Makefile
|
||||||
samples/client/petstore/cpp-restsdk/cmake_install.cmake
|
samples/client/petstore/cpp-restsdk/cmake_install.cmake
|
||||||
samples/client/petstore/cpp-restsdk/client/CMakeFiles
|
|
||||||
samples/client/petstore/cpp-restsdk/client/Makefile
|
|
||||||
samples/client/petstore/cpp-restsdk/client/cmake_install.cmake
|
|
||||||
samples/client/petstore/cpp-restsdk/client/CppRestPetstoreClientConfig.cmake
|
|
||||||
samples/client/petstore/cpp-restsdk/client/CMakeCache.txt
|
|
||||||
|
|
||||||
#Java/Android
|
#Java/Android
|
||||||
**/.gradle
|
**/.gradle
|
||||||
|
|||||||
@@ -1,45 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
||||||
|
|
||||||
<!-- Common develocity.xml configuration for Maven shared between CI agents and developers building locally.
|
|
||||||
|
|
||||||
The build cache credentials required for CI builds to write to the remote build cache are read from environment variables.
|
|
||||||
Possibly, the credentials are configured in Jenkins via Credentials plugin (https://plugins.jenkins.io/credentials/) and
|
|
||||||
Credentials Binding plugin (https://plugins.jenkins.io/credentials-binding/), or the credentials are injected using the
|
|
||||||
vendor-specific mechanism of the CI server running the build.
|
|
||||||
|
|
||||||
Note: In the XML configuration below, you need to adjust
|
|
||||||
|
|
||||||
- the server url of your Develocity server
|
|
||||||
- the name of the environment variable that reveals the build is running in a CI environment
|
|
||||||
- the names of the environment variables holding the build cache credentials
|
|
||||||
|
|
||||||
to the specifics of your CI server settings. -->
|
|
||||||
|
|
||||||
<develocity
|
|
||||||
xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
||||||
xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
|
|
||||||
<server>
|
|
||||||
<url>https://ge.openapi-generator.tech/</url>
|
|
||||||
<allowUntrusted>false</allowUntrusted>
|
|
||||||
</server>
|
|
||||||
<buildScan>
|
|
||||||
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider -->
|
|
||||||
<publishing>
|
|
||||||
<onlyIf>authenticated</onlyIf>
|
|
||||||
</publishing>
|
|
||||||
<obfuscation>
|
|
||||||
<!-- Use a redacted value.-->
|
|
||||||
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
|
|
||||||
</obfuscation>
|
|
||||||
</buildScan>
|
|
||||||
<buildCache>
|
|
||||||
<local>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
</local>
|
|
||||||
<remote>
|
|
||||||
<enabled>true</enabled>
|
|
||||||
<!-- Check credentials presence to avoid build cache errors on PR builds when credentials are not present -->
|
|
||||||
<storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_ACCESS_KEY'])}</storeEnabled>
|
|
||||||
</remote>
|
|
||||||
</buildCache>
|
|
||||||
</develocity>
|
|
||||||
@@ -2,12 +2,12 @@
|
|||||||
<extensions>
|
<extensions>
|
||||||
<extension>
|
<extension>
|
||||||
<groupId>com.gradle</groupId>
|
<groupId>com.gradle</groupId>
|
||||||
<artifactId>develocity-maven-extension</artifactId>
|
<artifactId>gradle-enterprise-maven-extension</artifactId>
|
||||||
<version>1.21.6</version>
|
<version>1.20.1</version>
|
||||||
</extension>
|
</extension>
|
||||||
<extension>
|
<extension>
|
||||||
<groupId>com.gradle</groupId>
|
<groupId>com.gradle</groupId>
|
||||||
<artifactId>common-custom-user-data-maven-extension</artifactId>
|
<artifactId>common-custom-user-data-maven-extension</artifactId>
|
||||||
<version>2.0</version>
|
<version>1.12.5</version>
|
||||||
</extension>
|
</extension>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|||||||
45
.mvn/gradle-enterprise.xml
Normal file
45
.mvn/gradle-enterprise.xml
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
|
||||||
|
<!-- Common gradle-enterprise.xml configuration for Maven shared between CI agents and developers building locally.
|
||||||
|
|
||||||
|
The build cache credentials required for CI builds to write to the remote build cache are read from environment variables.
|
||||||
|
Possibly, the credentials are configured in Jenkins via Credentials plugin (https://plugins.jenkins.io/credentials/) and
|
||||||
|
Credentials Binding plugin (https://plugins.jenkins.io/credentials-binding/), or the credentials are injected using the
|
||||||
|
vendor-specific mechanism of the CI server running the build.
|
||||||
|
|
||||||
|
Note: In the XML configuration below, you need to adjust
|
||||||
|
|
||||||
|
- the server url of your Gradle Enterprise server
|
||||||
|
- the name of the environment variable that reveals the build is running in a CI environment
|
||||||
|
- the names of the environment variables holding the build cache credentials
|
||||||
|
|
||||||
|
to the specifics of your CI server settings. -->
|
||||||
|
|
||||||
|
<gradleEnterprise
|
||||||
|
xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
|
||||||
|
<server>
|
||||||
|
<url>https://ge.openapi-generator.tech/</url> <!-- adjust to your GE server -->
|
||||||
|
<allowUntrusted>false</allowUntrusted> <!-- ensure a trusted certificate is configured -->
|
||||||
|
</server>
|
||||||
|
<buildScan>
|
||||||
|
<captureGoalInputFiles>true</captureGoalInputFiles>
|
||||||
|
<backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> <!-- adjust to your CI provider -->
|
||||||
|
<publish>ALWAYS</publish>
|
||||||
|
<publishIfAuthenticated>true</publishIfAuthenticated>
|
||||||
|
<obfuscation>
|
||||||
|
<!-- Use a redacted value.-->
|
||||||
|
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
|
||||||
|
</obfuscation>
|
||||||
|
</buildScan>
|
||||||
|
<buildCache>
|
||||||
|
<local>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
</local>
|
||||||
|
<remote>
|
||||||
|
<enabled>true</enabled>
|
||||||
|
<!-- Check credentials presence to avoid build cache errors on PR builds when credentials are not present -->
|
||||||
|
<storeEnabled>#{isTrue(env['CI']) and isTrue(env['GRADLE_ENTERPRISE_ACCESS_KEY'])}</storeEnabled>
|
||||||
|
</remote>
|
||||||
|
</buildCache>
|
||||||
|
</gradleEnterprise>
|
||||||
@@ -39,19 +39,10 @@ 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
|
||||||
|
|
||||||
@@ -79,7 +70,6 @@ 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)
|
||||||
@@ -120,6 +110,5 @@ 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,7 +31,7 @@ Please file the pull request against the correct branch, e.g. `master` for non-b
|
|||||||
|
|
||||||
All the code generators can be found in [modules/openapi-generator/src/main/java/org/openapitools/codegen/languages](https://github.com/openapitools/openapi-generator/tree/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages)
|
All the code generators can be found in [modules/openapi-generator/src/main/java/org/openapitools/codegen/languages](https://github.com/openapitools/openapi-generator/tree/master/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages)
|
||||||
|
|
||||||
If you want to add a new generator, follow the [new-generator](https://openapi-generator.tech/docs/new-generator) guide.
|
If you want to add a new generator, follow the [new-generator](https://openapi-generator.tech/docs/new-generator) guide.
|
||||||
|
|
||||||
### Templates
|
### Templates
|
||||||
|
|
||||||
@@ -84,26 +84,6 @@ For [Vendor Extensions](https://github.com/OAI/OpenAPI-Specification/blob/master
|
|||||||
- For language-specified vendor extension, put it in the form of `x-{lang}-{extension-name}`. e.g. `x-objc-operation-id`, `x-java-feign-retry-limit`
|
- For language-specified vendor extension, put it in the form of `x-{lang}-{extension-name}`. e.g. `x-objc-operation-id`, `x-java-feign-retry-limit`
|
||||||
- For a list of existing vendor extensions in use, please refer to https://github.com/openapitools/openapi-generator/wiki/Vendor-Extensions. If you've added new vendor extensions as part of your PR, please update the wiki page.
|
- For a list of existing vendor extensions in use, please refer to https://github.com/openapitools/openapi-generator/wiki/Vendor-Extensions. If you've added new vendor extensions as part of your PR, please update the wiki page.
|
||||||
|
|
||||||
### Building
|
|
||||||
|
|
||||||
The `openapi-generator-cli` can be built using the following command. This will generate the `openapi-generator-cli.jar` in the `modules/openapi-generator-cli/target` directory without running the tests and generating the Javadocs.
|
|
||||||
|
|
||||||
```shell
|
|
||||||
./mvnw clean install -DskipTests -Dmaven.javadoc.skip=true
|
|
||||||
```
|
|
||||||
|
|
||||||
Or on Windows:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
mvnw.cmd clean install -DskipTests -Dmaven.javadoc.skip=true
|
|
||||||
```
|
|
||||||
|
|
||||||
The binary can run via `java -jar`. For example:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help
|
|
||||||
```
|
|
||||||
|
|
||||||
### Testing
|
### Testing
|
||||||
|
|
||||||
To add test cases (optional) covering the change in the code generator, please refer to [modules/openapi-generator/src/test/java/org/openapitools/codegen](https://github.com/openapitools/openapi-generator/tree/master/modules/openapi-generator/src/test/java/org/openapitools/codegen)
|
To add test cases (optional) covering the change in the code generator, please refer to [modules/openapi-generator/src/test/java/org/openapitools/codegen](https://github.com/openapitools/openapi-generator/tree/master/modules/openapi-generator/src/test/java/org/openapitools/codegen)
|
||||||
@@ -132,5 +112,5 @@ See [OpenAPI Tools wiki](https://github.com/OpenAPITools/openapi-generator/wiki/
|
|||||||
- File a PR with meaningful title, description and commit messages
|
- File a PR with meaningful title, description and commit messages
|
||||||
- Make sure the option "Allow edits from maintainers" in the PR is selected so that the maintainers can update your PRs with minor fixes, if needed.
|
- Make sure the option "Allow edits from maintainers" in the PR is selected so that the maintainers can update your PRs with minor fixes, if needed.
|
||||||
- Recommended git settings
|
- Recommended git settings
|
||||||
- `git config core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
|
- `git config core.autocrlf input` to tell Git convert CRLF to LF on commit but not the other way around
|
||||||
- To close an issue (e.g. issue 1542) automatically after a PR is merged, use keywords "fix", "close", "resolve" in the PR description, e.g. `fix #1542`. (Ref: [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
|
- To close an issue (e.g. issue 1542) automatically after a PR is merged, use keywords "fix", "close", "resolve" in the PR description, e.g. `fix #1542`. (Ref: [closing issues using keywords](https://help.github.com/articles/closing-issues-using-keywords/))
|
||||||
|
|||||||
11
Dockerfile
11
Dockerfile
@@ -10,16 +10,6 @@ COPY ./LICENSE ${GEN_DIR}
|
|||||||
# Required to compile openapi-generator
|
# Required to compile openapi-generator
|
||||||
COPY ./google_checkstyle.xml ${GEN_DIR}
|
COPY ./google_checkstyle.xml ${GEN_DIR}
|
||||||
|
|
||||||
# All poms are copied, then we go offline, to allow for better caching of code changes without fetching all dependencies each time
|
|
||||||
COPY ./modules/openapi-generator-gradle-plugin/pom.xml ${GEN_DIR}/modules/openapi-generator-gradle-plugin/
|
|
||||||
COPY ./modules/openapi-generator-maven-plugin/pom.xml ${GEN_DIR}/modules/openapi-generator-maven-plugin/
|
|
||||||
COPY ./modules/openapi-generator-online/pom.xml ${GEN_DIR}/modules/openapi-generator-online/
|
|
||||||
COPY ./modules/openapi-generator-cli/pom.xml ${GEN_DIR}/modules/openapi-generator-cli/
|
|
||||||
COPY ./modules/openapi-generator-core/pom.xml ${GEN_DIR}/modules/openapi-generator-core/
|
|
||||||
COPY ./modules/openapi-generator/pom.xml ${GEN_DIR}/modules/openapi-generator/
|
|
||||||
COPY ./pom.xml ${GEN_DIR}
|
|
||||||
RUN mvn dependency:go-offline
|
|
||||||
|
|
||||||
# Modules are copied individually here to allow for caching of docker layers between major.minor versions
|
# Modules are copied individually here to allow for caching of docker layers between major.minor versions
|
||||||
COPY ./modules/openapi-generator-gradle-plugin ${GEN_DIR}/modules/openapi-generator-gradle-plugin
|
COPY ./modules/openapi-generator-gradle-plugin ${GEN_DIR}/modules/openapi-generator-gradle-plugin
|
||||||
COPY ./modules/openapi-generator-maven-plugin ${GEN_DIR}/modules/openapi-generator-maven-plugin
|
COPY ./modules/openapi-generator-maven-plugin ${GEN_DIR}/modules/openapi-generator-maven-plugin
|
||||||
@@ -27,6 +17,7 @@ COPY ./modules/openapi-generator-online ${GEN_DIR}/modules/openapi-generator-onl
|
|||||||
COPY ./modules/openapi-generator-cli ${GEN_DIR}/modules/openapi-generator-cli
|
COPY ./modules/openapi-generator-cli ${GEN_DIR}/modules/openapi-generator-cli
|
||||||
COPY ./modules/openapi-generator-core ${GEN_DIR}/modules/openapi-generator-core
|
COPY ./modules/openapi-generator-core ${GEN_DIR}/modules/openapi-generator-core
|
||||||
COPY ./modules/openapi-generator ${GEN_DIR}/modules/openapi-generator
|
COPY ./modules/openapi-generator ${GEN_DIR}/modules/openapi-generator
|
||||||
|
COPY ./pom.xml ${GEN_DIR}
|
||||||
|
|
||||||
# Pre-compile openapi-generator-cli
|
# Pre-compile openapi-generator-cli
|
||||||
RUN mvn -B -am -pl "modules/openapi-generator-cli" package
|
RUN mvn -B -am -pl "modules/openapi-generator-cli" package
|
||||||
|
|||||||
42
README.md
42
README.md
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.8.0`):
|
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.5.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,8 +69,6 @@ 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
|
||||||
@@ -84,13 +82,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, Spring 6 RestClient, 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** |
|
| **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** |
|
||||||
| **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** (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
|
||||||
|
|
||||||
@@ -128,8 +126,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.8.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/7.8.0-SNAPSHOT/) | 09.08.2024 | Minor release with breaking changes (with fallback) |
|
| 7.5.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/7.5.0-SNAPSHOT/) | 12.04.2024 | Minor release with breaking changes (with fallback) |
|
||||||
| [7.7.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.7.0) (latest stable release) | 02.07.2024 | Minor release with breaking changes (with fallback) |
|
| [7.4.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.4.0) (latest stable release) | 11.03.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) |
|
||||||
@@ -192,16 +190,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.7.0/openapi-generator-cli-7.7.0.jar`
|
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.4.0/openapi-generator-cli-7.4.0.jar`
|
||||||
|
|
||||||
For **Mac/Linux** users:
|
For **Mac/Linux** users:
|
||||||
```sh
|
```sh
|
||||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.7.0/openapi-generator-cli-7.7.0.jar -O openapi-generator-cli.jar
|
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.4.0/openapi-generator-cli-7.4.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.7.0/openapi-generator-cli-7.7.0.jar
|
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.4.0/openapi-generator-cli-7.4.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.
|
||||||
@@ -262,7 +260,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.8.8 or greater](https://maven.apache.org/) (optional)
|
* [Apache Maven 3.3.4 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/):
|
||||||
|
|
||||||
@@ -599,7 +597,6 @@ Here is a list of community-contributed IDE plug-ins that integrate with OpenAPI
|
|||||||
Here are some companies/projects (alphabetical order) using OpenAPI Generator in production. To add your company/project to the list, please visit [README.md](README.md) and click on the icon to edit the page.
|
Here are some companies/projects (alphabetical order) using OpenAPI Generator in production. To add your company/project to the list, please visit [README.md](README.md) and click on the icon to edit the page.
|
||||||
|
|
||||||
- [Aalborg University](https://www.aau.dk)
|
- [Aalborg University](https://www.aau.dk)
|
||||||
- [act coding](https://github.com/actcoding)
|
|
||||||
- [Adaptant Solutions AG](https://www.adaptant.io/)
|
- [Adaptant Solutions AG](https://www.adaptant.io/)
|
||||||
- [adesso SE](https://www.adesso.de/)
|
- [adesso SE](https://www.adesso.de/)
|
||||||
- [Adyen](https://www.adyen.com/)
|
- [Adyen](https://www.adyen.com/)
|
||||||
@@ -708,7 +705,6 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
|||||||
- [REST United](https://restunited.com)
|
- [REST United](https://restunited.com)
|
||||||
- [Robocorp](https://www.robocorp.com)
|
- [Robocorp](https://www.robocorp.com)
|
||||||
- [Robotinfra](https://www.robotinfra.com)
|
- [Robotinfra](https://www.robotinfra.com)
|
||||||
- [SearchApi](https://www.searchapi.io/)
|
|
||||||
- [SmartHR](https://smarthr.co.jp/)
|
- [SmartHR](https://smarthr.co.jp/)
|
||||||
- [Sony Interactive Entertainment](https://www.sie.com/en/index.html)
|
- [Sony Interactive Entertainment](https://www.sie.com/en/index.html)
|
||||||
- [Splitit](https://www.splitit.com/)
|
- [Splitit](https://www.splitit.com/)
|
||||||
@@ -933,10 +929,8 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
|||||||
- 2023-06-28 - [Generate API contract using OpenAPI Generator Maven plugin](https://huongdanjava.com/generate-api-contract-using-openapi-generator-maven-plugin.html) by [Khanh Nguyen](https://huongdanjava.com/)
|
- 2023-06-28 - [Generate API contract using OpenAPI Generator Maven plugin](https://huongdanjava.com/generate-api-contract-using-openapi-generator-maven-plugin.html) by [Khanh Nguyen](https://huongdanjava.com/)
|
||||||
- 2023-06-30 - [Generate Client SDKs with OpenApi Generator in Springboot](https://medium.com/@ramavathvinayak/generate-client-sdks-with-openapi-generator-in-springboot-f9f012e73c0b) by [Vinayak Ramavath](https://medium.com/@ramavathvinayak)
|
- 2023-06-30 - [Generate Client SDKs with OpenApi Generator in Springboot](https://medium.com/@ramavathvinayak/generate-client-sdks-with-openapi-generator-in-springboot-f9f012e73c0b) by [Vinayak Ramavath](https://medium.com/@ramavathvinayak)
|
||||||
- 2023-12-10 - [UnityでOpenAPI Generatorを使う](https://www.youtube.com/watch?v=CbNwKVV5LRM) by [Soup Tori](https://www.youtube.com/@souptori8417)
|
- 2023-12-10 - [UnityでOpenAPI Generatorを使う](https://www.youtube.com/watch?v=CbNwKVV5LRM) by [Soup Tori](https://www.youtube.com/@souptori8417)
|
||||||
- 2024-01-24 - [Comment générer des stubs wiremock avec openapi generator](https://www.youtube.com/watch?v=0jhONfBrcKw) by [Alexis Couvreur](https://github.com/acouvreur)
|
|
||||||
- 2024-03-04 - [Generating TypeScript Types with OpenAPI for REST API Consumption](https://www.pullrequest.com/blog/generating-typescript-types-with-openapi-for-rest-api-consumption/) by [PullRequest](https://www.pullrequest.com/)
|
- 2024-03-04 - [Generating TypeScript Types with OpenAPI for REST API Consumption](https://www.pullrequest.com/blog/generating-typescript-types-with-openapi-for-rest-api-consumption/) by [PullRequest](https://www.pullrequest.com/)
|
||||||
- 2024-03-07 - [Fully typed Web Apps with OpenAPI (Part 1)](https://medium.com/@gfox1984/fully-typed-web-apps-with-openapi-part-1-595d55766670) by [Guillaume Renard](https://medium.com/@gfox1984)
|
- 2024-03-07 - [Fully typed Web Apps with OpenAPI (Part 1)](https://medium.com/@gfox1984/fully-typed-web-apps-with-openapi-part-1-595d55766670) by [Guillaume Renard](https://medium.com/@gfox1984)
|
||||||
- 2024-03-08 - [Laravel OpenAPIによる "辛くない" スキーマ駆動開発](https://fortee.jp/phperkaigi-2024/proposal/9e2e6c38-d078-4efa-99b4-83ebf9033b34) by [KentarouTakeda](https://twitter.com/KentarouTakeda)
|
|
||||||
|
|
||||||
## [6 - About Us](#table-of-contents)
|
## [6 - About Us](#table-of-contents)
|
||||||
|
|
||||||
@@ -998,7 +992,6 @@ Here is a list of template creators:
|
|||||||
* Java (okhttp-gson): @xhh
|
* Java (okhttp-gson): @xhh
|
||||||
* Java (RestTemplate): @nbruno
|
* Java (RestTemplate): @nbruno
|
||||||
* Java (Spring 5 WebClient): @daonomic
|
* Java (Spring 5 WebClient): @daonomic
|
||||||
* Java (Spring 6 RestClient): @nicklas2751
|
|
||||||
* Java (RESTEasy): @gayathrigs
|
* Java (RESTEasy): @gayathrigs
|
||||||
* Java (Vertx): @lopesmcc
|
* Java (Vertx): @lopesmcc
|
||||||
* Java (Google APIs Client Library): @charlescapps
|
* Java (Google APIs Client Library): @charlescapps
|
||||||
@@ -1087,7 +1080,6 @@ Here is a list of template creators:
|
|||||||
* Java Vert.x: @lwlee2608
|
* Java Vert.x: @lwlee2608
|
||||||
* Java Micronaut: @andriy-dmytruk
|
* Java Micronaut: @andriy-dmytruk
|
||||||
* Java Helidon: @spericas @tjquinno @tvallin
|
* Java Helidon: @spericas @tjquinno @tvallin
|
||||||
* Java WireMock: [@acouvreur](https://github.com/acouvreur)
|
|
||||||
* JAX-RS RestEasy: @chameleon82
|
* JAX-RS RestEasy: @chameleon82
|
||||||
* JAX-RS CXF: @hiveship
|
* JAX-RS CXF: @hiveship
|
||||||
* JAX-RS CXF (CDI): @nickcmaynard
|
* JAX-RS CXF (CDI): @nickcmaynard
|
||||||
@@ -1097,9 +1089,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 Laravel: @renepardon
|
* PHP Laravel: @renepardon
|
||||||
* PHP Lumen: @abcsun
|
* PHP Lumen: @abcsun
|
||||||
* PHP Mezzio (with Path Handler): @Articus
|
* PHP Mezzio (with Path Handler): @Articus
|
||||||
@@ -1191,7 +1181,7 @@ If you want to join the committee, please kindly apply by sending an email to te
|
|||||||
| JMeter | @kannkyo (2021/01) |
|
| JMeter | @kannkyo (2021/01) |
|
||||||
| Jetbrains HTTP Client | @jlengrand (2023/01) |
|
| Jetbrains HTTP Client | @jlengrand (2023/01) |
|
||||||
| Julia | @tanmaykm (2023/01) |
|
| Julia | @tanmaykm (2023/01) |
|
||||||
| Kotlin | @dr4ke616 (2018/08) @karismann (2019/03) @Zomzog (2019/04) @andrewemery (2019/10) @4brunu (2019/11) @yutaka0m (2020/03) @stefankoppier (2022/06) |
|
| Kotlin | @jimschubert (2017/09) [:heart:](https://www.patreon.com/jimschubert), @dr4ke616 (2018/08) @karismann (2019/03) @Zomzog (2019/04) @andrewemery (2019/10) @4brunu (2019/11) @yutaka0m (2020/03) @stefankoppier (2022/06) |
|
||||||
| Lua | @daurnimator (2017/08) |
|
| Lua | @daurnimator (2017/08) |
|
||||||
| N4JS | @mmews-n4 (2023/03) |
|
| N4JS | @mmews-n4 (2023/03) |
|
||||||
| Nim | |
|
| Nim | |
|
||||||
@@ -1205,7 +1195,7 @@ If you want to join the committee, please kindly apply by sending an email to te
|
|||||||
| R | @Ramanth (2019/07) @saigiridhar21 (2019/07) |
|
| R | @Ramanth (2019/07) @saigiridhar21 (2019/07) |
|
||||||
| Ruby | @cliffano (2017/07) @zlx (2017/09) @autopp (2019/02) |
|
| Ruby | @cliffano (2017/07) @zlx (2017/09) @autopp (2019/02) |
|
||||||
| Rust | @frol (2017/07) @farcaller (2017/08) @richardwhiuk (2019/07) @paladinzh (2020/05) @jacob-pro (2022/10) |
|
| Rust | @frol (2017/07) @farcaller (2017/08) @richardwhiuk (2019/07) @paladinzh (2020/05) @jacob-pro (2022/10) |
|
||||||
| Scala | @clasnake (2017/07), @shijinkui (2018/01), @ramzimaalej (2018/03), @chameleon82 (2020/03), @Bouillie (2020/04) @fish86 (2023/06) |
|
| Scala | @clasnake (2017/07), @jimschubert (2017/09) [:heart:](https://www.patreon.com/jimschubert), @shijinkui (2018/01), @ramzimaalej (2018/03), @chameleon82 (2020/03), @Bouillie (2020/04) @fish86 (2023/06) |
|
||||||
| Swift | @jgavris (2017/07) @ehyche (2017/08) @Edubits (2017/09) @jaz-ah (2017/09) @4brunu (2019/11) @dydus0x14 (2023/06) |
|
| Swift | @jgavris (2017/07) @ehyche (2017/08) @Edubits (2017/09) @jaz-ah (2017/09) @4brunu (2019/11) @dydus0x14 (2023/06) |
|
||||||
| TypeScript | @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02) @davidgamero (2022/03) @mkusaka (2022/04) |
|
| TypeScript | @TiFu (2017/07) @taxpon (2017/07) @sebastianhaas (2017/07) @kenisteward (2017/07) @Vrolijkx (2017/09) @macjohnny (2018/01) @topce (2018/10) @akehir (2019/07) @petejohansonxo (2019/11) @amakhrov (2020/02) @davidgamero (2022/03) @mkusaka (2022/04) |
|
||||||
| Xojo | @Topheee (2023/04) |
|
| Xojo | @Topheee (2023/04) |
|
||||||
|
|||||||
17
appveyor.yml
17
appveyor.yml
@@ -54,25 +54,8 @@ 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
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
generatorName: aspnetcore
|
|
||||||
outputDir: samples/server/petstore/aspnetcore-8.0-NewtonsoftFalse
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
|
|
||||||
aspnetCoreVersion: "8.0"
|
|
||||||
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
|
|
||||||
useNewtonsoft: false
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
generatorName: aspnetcore
|
|
||||||
outputDir: samples/server/petstore/aspnetcore-8.0-nullableReferenceTypes
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
|
|
||||||
aspnetCoreVersion: "8.0"
|
|
||||||
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
|
|
||||||
nullableReferenceTypes: true
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
generatorName: aspnetcore
|
|
||||||
outputDir: samples/server/petstore/aspnetcore-8.0-pocoModels
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
|
|
||||||
aspnetCoreVersion: "8.0"
|
|
||||||
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
|
|
||||||
pocoModels: true
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
generatorName: aspnetcore
|
|
||||||
outputDir: samples/server/petstore/aspnetcore-8.0-project4Models
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
|
|
||||||
aspnetCoreVersion: "8.0"
|
|
||||||
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
|
|
||||||
useSeparateModelProject: true
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
generatorName: aspnetcore
|
|
||||||
outputDir: samples/server/petstore/aspnetcore-8.0-useSwashBuckle
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
|
|
||||||
aspnetCoreVersion: "8.0"
|
|
||||||
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
|
|
||||||
useSwashBuckle: false
|
|
||||||
buildTarget: library
|
|
||||||
isLibrary: true
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
generatorName: aspnetcore
|
|
||||||
outputDir: samples/server/petstore/aspnetcore-8.0
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/aspnetcore/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/aspnetcore/3.0
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{3C799344-F285-4669-8FD5-7ED9B795D5C5}'
|
|
||||||
aspnetCoreVersion: "8.0"
|
|
||||||
userSecretsGuid: 'cb87e868-8646-48ef-9bb6-344b537d0d37'
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
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"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
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/3_0/cpp-restsdk/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/2_0/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
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
# 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,6 +12,5 @@ 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,4 +11,3 @@ additionalProperties:
|
|||||||
useSourceGeneration: true
|
useSourceGeneration: true
|
||||||
equatable: true
|
equatable: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
modelPropertySorting: alphabetical
|
|
||||||
|
|||||||
@@ -11,4 +11,3 @@ additionalProperties:
|
|||||||
nullableReferenceTypes: true
|
nullableReferenceTypes: true
|
||||||
equatable: true
|
equatable: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
modelPropertySorting: alphabetical
|
|
||||||
|
|||||||
@@ -8,4 +8,3 @@ 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,4 +11,3 @@ additionalProperties:
|
|||||||
nullableReferenceTypes: false
|
nullableReferenceTypes: false
|
||||||
equatable: true
|
equatable: true
|
||||||
targetFramework: net8.0
|
targetFramework: net8.0
|
||||||
modelPropertySorting: alphabetical
|
|
||||||
|
|||||||
@@ -10,4 +10,3 @@ additionalProperties:
|
|||||||
disallowAdditionalPropertiesIfNotPresent: false
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
targetFramework: netstandard2.0
|
targetFramework: netstandard2.0
|
||||||
equatable: true
|
equatable: true
|
||||||
modelPropertySorting: alphabetical
|
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
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"
|
|
||||||
@@ -15,7 +15,6 @@ additionalProperties:
|
|||||||
packageName: petstore
|
packageName: petstore
|
||||||
disallowAdditionalPropertiesIfNotPresent: false
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
generateInterfaces: true
|
generateInterfaces: true
|
||||||
useDefaultValuesForRequiredVars: "true"
|
|
||||||
enumNameMappings:
|
enumNameMappings:
|
||||||
delivered: SHIPPED
|
delivered: SHIPPED
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +0,0 @@
|
|||||||
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,4 +0,0 @@
|
|||||||
generatorName: haskell
|
|
||||||
outputDir: samples/server/others/haskell-servant-ping
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/ping.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/haskell-servant
|
|
||||||
13
bin/configs/java-helidon-client-mp.yaml
Normal file
13
bin/configs/java-helidon-client-mp.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
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"
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
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"
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
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"
|
|
||||||
13
bin/configs/java-helidon-client-se.yaml
Normal file
13
bin/configs/java-helidon-client-se.yaml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
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"
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
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"
|
|
||||||
12
bin/configs/java-helidon-server-mp.yaml
Normal file
12
bin/configs/java-helidon-server-mp.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
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"
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
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"
|
|
||||||
@@ -1,13 +0,0 @@
|
|||||||
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"
|
|
||||||
9
bin/configs/java-helidon-server-se.yaml
Normal file
9
bin/configs/java-helidon-server-se.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
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"
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user