forked from loafle/openapi-generator-original
Compare commits
2 Commits
lowercase-
...
csharp-net
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f702631649 | ||
|
|
178f4fbad8 |
@@ -9,12 +9,7 @@
|
|||||||
"ghcr.io/devcontainers/features/node:1": {
|
"ghcr.io/devcontainers/features/node:1": {
|
||||||
"version": "lts"
|
"version": "lts"
|
||||||
},
|
},
|
||||||
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {},
|
"ghcr.io/snebjorn/devcontainer-feature/chromium:latest": {}
|
||||||
"docker-in-docker": {
|
|
||||||
"version": "latest",
|
|
||||||
"moby": true,
|
|
||||||
"dockerDashComposeVersion": "v1"
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
// Configure tool-specific properties.
|
// Configure tool-specific properties.
|
||||||
"customizations": {
|
"customizations": {
|
||||||
@@ -49,4 +44,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"
|
||||||
}
|
}
|
||||||
|
|||||||
6
.github/CODEOWNERS
vendored
6
.github/CODEOWNERS
vendored
@@ -29,5 +29,7 @@ modules/openapi-generator-gradle-plugin/**/* @jimschubert
|
|||||||
modules/openapi-generator-maven-plugin/**/* @jimschubert
|
modules/openapi-generator-maven-plugin/**/* @jimschubert
|
||||||
|
|
||||||
# Martin Delille
|
# Martin Delille
|
||||||
modules/openapi-generator/src/main/resources/cpp-qt-client/**/* @martindelille
|
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CppQtClientCodegen.java @martindelille
|
||||||
samples/client/petstore/cpp-qt/**/* @martindelille
|
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/CppQtAbstractCodegen.java @martindelille
|
||||||
|
/Users/martin/dev/clone/openapi-generator/modules/openapi-generator/src/main/resources/cpp-qt-client @martindelille
|
||||||
|
/Users/martin/dev/clone/openapi-generator/samples/client/petstore/cpp-qt @martindelille
|
||||||
|
|||||||
13
.github/workflows/docker.yaml
vendored
13
.github/workflows/docker.yaml
vendored
@@ -9,8 +9,6 @@ on:
|
|||||||
- pom.xml
|
- pom.xml
|
||||||
- modules/openapi-generator-online/pom.xml
|
- modules/openapi-generator-online/pom.xml
|
||||||
- modules/openapi-generator-online/Dockerfile
|
- modules/openapi-generator-online/Dockerfile
|
||||||
- modules/openapi-generator-cli/pom.xml
|
|
||||||
- modules/openapi-generator-cli/Dockerfile
|
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- Dockerfile
|
- Dockerfile
|
||||||
@@ -18,8 +16,6 @@ on:
|
|||||||
- pom.xml
|
- pom.xml
|
||||||
- modules/openapi-generator-online/pom.xml
|
- modules/openapi-generator-online/pom.xml
|
||||||
- modules/openapi-generator-online/Dockerfile
|
- modules/openapi-generator-online/Dockerfile
|
||||||
- modules/openapi-generator-cli/pom.xml
|
|
||||||
- modules/openapi-generator-cli/Dockerfile
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: 'Build: Docker'
|
name: 'Build: Docker'
|
||||||
@@ -42,12 +38,3 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
docker build modules/openapi-generator-online/ -t test
|
docker build modules/openapi-generator-online/ -t test
|
||||||
- name: Build and test modules/openapi-generator-cli
|
|
||||||
shell: bash
|
|
||||||
run: |
|
|
||||||
cp docker-entrypoint.sh ./modules/openapi-generator-cli
|
|
||||||
docker build modules/openapi-generator-cli/ -t cli-test
|
|
||||||
docker run --rm -v "${PWD}:/local" cli-test generate \
|
|
||||||
-i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml \
|
|
||||||
-g go \
|
|
||||||
-o /local/out/go
|
|
||||||
|
|||||||
2
.github/workflows/gradle-plugin-tests.yaml
vendored
2
.github/workflows/gradle-plugin-tests.yaml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
|||||||
2
.github/workflows/gradle-test.yaml
vendored
2
.github/workflows/gradle-test.yaml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- samples/client/petstore/java/webclient-swagger2
|
- samples/client/petstore/java/webclient-swagger2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|||||||
10
.github/workflows/linux.yaml
vendored
10
.github/workflows/linux.yaml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Set up JDK ${{ matrix.java }}
|
- name: Set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
@@ -45,7 +45,7 @@ jobs:
|
|||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Setup Maven
|
- name: Setup Maven
|
||||||
uses: s4u/setup-maven-action@v1.11.0
|
uses: s4u/setup-maven-action@v1.10.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
@@ -57,7 +57,7 @@ jobs:
|
|||||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
|
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
|
||||||
|
|
||||||
- name: Upload Maven build artifact
|
- name: Upload Maven build artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
if: matrix.java == '11' && matrix.os == 'ubuntu-latest'
|
if: matrix.java == '11' && matrix.os == 'ubuntu-latest'
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: artifact
|
||||||
@@ -87,12 +87,12 @@ 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.11.0
|
uses: s4u/setup-maven-action@v1.10.0
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
- name: Download build artifact
|
- name: Download build artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: artifact
|
name: artifact
|
||||||
- name: Run Ensures Script
|
- name: Run Ensures Script
|
||||||
|
|||||||
2
.github/workflows/maven-plugin-tests.yaml
vendored
2
.github/workflows/maven-plugin-tests.yaml
vendored
@@ -15,7 +15,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
|||||||
16
.github/workflows/openapi-generator.yaml
vendored
16
.github/workflows/openapi-generator.yaml
vendored
@@ -17,7 +17,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
@@ -41,7 +41,7 @@ jobs:
|
|||||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
|
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
|
||||||
- run: ls -la modules/openapi-generator-cli/target
|
- run: ls -la modules/openapi-generator-cli/target
|
||||||
- name: Upload openapi-generator-cli.jar artifact
|
- name: Upload openapi-generator-cli.jar artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: openapi-generator-cli.jar
|
name: openapi-generator-cli.jar
|
||||||
path: modules/openapi-generator-cli/target/openapi-generator-cli.jar
|
path: modules/openapi-generator-cli/target/openapi-generator-cli.jar
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
@@ -79,7 +79,7 @@ jobs:
|
|||||||
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
|
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
|
||||||
- name: Publish unit test reports
|
- name: Publish unit test reports
|
||||||
if: ${{ always() }}
|
if: ${{ always() }}
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: surefire-test-results
|
name: surefire-test-results
|
||||||
path: '**/surefire-reports/TEST-*.xml'
|
path: '**/surefire-reports/TEST-*.xml'
|
||||||
@@ -92,12 +92,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Download openapi-generator-cli.jar artifact
|
- name: Download openapi-generator-cli.jar artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: openapi-generator-cli.jar
|
name: openapi-generator-cli.jar
|
||||||
path: modules/openapi-generator-cli/target
|
path: modules/openapi-generator-cli/target
|
||||||
@@ -131,12 +131,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 11
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
- name: Download openapi-generator-cli.jar artifact
|
- name: Download openapi-generator-cli.jar artifact
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: openapi-generator-cli.jar
|
name: openapi-generator-cli.jar
|
||||||
path: modules/openapi-generator-cli/target
|
path: modules/openapi-generator-cli/target
|
||||||
|
|||||||
8
.github/workflows/samples-cpp-qt-client.yaml
vendored
8
.github/workflows/samples-cpp-qt-client.yaml
vendored
@@ -18,16 +18,18 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
qt-version:
|
qt-version:
|
||||||
- '5.15.2'
|
- '5.15.2'
|
||||||
- '6.5.3'
|
- '6.4.2'
|
||||||
os:
|
os:
|
||||||
- ubuntu-latest
|
- ubuntu-latest
|
||||||
- macOS-latest
|
- macOS-latest
|
||||||
- windows-latest
|
- windows-latest
|
||||||
|
include:
|
||||||
|
- os: windows-latest
|
||||||
|
tools: 'tools_openssl_x64'
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Install Qt
|
- uses: jurplel/install-qt-action@v4
|
||||||
uses: jurplel/install-qt-action@v3
|
|
||||||
with:
|
with:
|
||||||
version: ${{ matrix.qt-version }}
|
version: ${{ matrix.qt-version }}
|
||||||
tools: ${{ matrix.tools }}
|
tools: ${{ matrix.tools }}
|
||||||
|
|||||||
2
.github/workflows/samples-dart.yaml
vendored
2
.github/workflows/samples-dart.yaml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0
|
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.0
|
- uses: actions/setup-dotnet@v3.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.*
|
dotnet-version: 3.1.*
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
4
.github/workflows/samples-dotnet.yaml
vendored
4
.github/workflows/samples-dotnet.yaml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Samples C# .Net 7
|
name: Samples C# .Net 8
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
- samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes
|
- samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.0
|
- uses: actions/setup-dotnet@v3.2.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.0
|
- uses: actions/setup-dotnet@v3.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- name: Run echo server
|
- name: Run echo server
|
||||||
|
|||||||
20
.github/workflows/samples-dotnet6-client.yaml
vendored
20
.github/workflows/samples-dotnet6-client.yaml
vendored
@@ -16,9 +16,9 @@ on:
|
|||||||
- samples/client/petstore/csharp/OpenAPIClient-net47/**
|
- samples/client/petstore/csharp/OpenAPIClient-net47/**
|
||||||
# build C# API client (.net framework 4.8)
|
# build C# API client (.net framework 4.8)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-net48/**
|
- samples/client/petstore/csharp/OpenAPIClient-net48/**
|
||||||
# build C# API client (.net 5.0)
|
# build C# API client (.net 7.0)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/**
|
- samples/client/petstore/csharp/OpenAPIClient-net7.0/**
|
||||||
# build C# API client (.net 5.0 with ConditionalSerialization)
|
# build C# API client (.net 7.0 with ConditionalSerialization)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/**
|
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/**
|
||||||
# build C# API client (property, parameter name mappings)
|
# build C# API client (property, parameter name mappings)
|
||||||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/**
|
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/**
|
||||||
@@ -37,9 +37,9 @@ on:
|
|||||||
- samples/client/petstore/csharp/OpenAPIClient-net47/**
|
- samples/client/petstore/csharp/OpenAPIClient-net47/**
|
||||||
# build C# API client (.net framework 4.8)
|
# build C# API client (.net framework 4.8)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-net48/**
|
- samples/client/petstore/csharp/OpenAPIClient-net48/**
|
||||||
# build C# API client (.net 5.0)
|
# build C# API client (.net 7.0)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/**
|
- samples/client/petstore/csharp/OpenAPIClient-net7.0/**
|
||||||
# build C# API client (.net 5.0 with ConditionalSerialization)
|
# build C# API client (.net 7.0 with ConditionalSerialization)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/**
|
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/**
|
||||||
# build C# API client (property, parameter name mappings)
|
# build C# API client (property, parameter name mappings)
|
||||||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/**
|
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/**
|
||||||
@@ -65,15 +65,15 @@ jobs:
|
|||||||
- samples/client/petstore/csharp/OpenAPIClient-net47/
|
- samples/client/petstore/csharp/OpenAPIClient-net47/
|
||||||
# build C# API client (.net framework 4.8)
|
# build C# API client (.net framework 4.8)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-net48/
|
- samples/client/petstore/csharp/OpenAPIClient-net48/
|
||||||
# build C# API client (.net 5.0)
|
# build C# API client (.net 7.0)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-net5.0/
|
- samples/client/petstore/csharp/OpenAPIClient-net7.0/
|
||||||
# build C# API client (.net 5.0 with ConditionalSerialization)
|
# build C# API client (.net 7.0 with ConditionalSerialization)
|
||||||
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/
|
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/
|
||||||
# build C# API client (property, parameter name mappings)
|
# build C# API client (property, parameter name mappings)
|
||||||
- samples/client/petstore/csharp-restsharp-name-parameter-mappings
|
- samples/client/petstore/csharp-restsharp-name-parameter-mappings
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.0
|
- uses: actions/setup-dotnet@v3.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes
|
- samples/server/petstore/aspnetcore-6.0-nullableReferenceTypes
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.0.0
|
- uses: actions/setup-dotnet@v3.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
|||||||
81
.github/workflows/samples-dotnet7-client.yaml
vendored
Normal file
81
.github/workflows/samples-dotnet7-client.yaml
vendored
Normal file
@@ -0,0 +1,81 @@
|
|||||||
|
name: Samples C# .Net 7
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
# build C# API client (multiple frameworks)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/**
|
||||||
|
# build C# API client (httpclient)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-httpclient/**
|
||||||
|
# build C# API client (generichost)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/**
|
||||||
|
# build C# API client (netcore)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient/**
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClientCore/**
|
||||||
|
# build C# API client (.net framework 4.7)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net47/**
|
||||||
|
# build C# API client (.net framework 4.8)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net48/**
|
||||||
|
# build C# API client (.net 7.0)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net7.0/**
|
||||||
|
# build C# API client (.net 7.0 with ConditionalSerialization)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/**
|
||||||
|
# build C# API client (property, parameter name mappings)
|
||||||
|
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/**
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
# build C# API client (multiple frameworks)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/**
|
||||||
|
# build C# API client (httpclient)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-httpclient/**
|
||||||
|
# build C# API client (generichost)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/**
|
||||||
|
# build C# API client (netcore)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient/**
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClientCore/**
|
||||||
|
# build C# API client (.net framework 4.7)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net47/**
|
||||||
|
# build C# API client (.net framework 4.8)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net48/**
|
||||||
|
# build C# API client (.net 7.0)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net7.0/**
|
||||||
|
# build C# API client (.net 7.0 with ConditionalSerialization)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/**
|
||||||
|
# build C# API client (property, parameter name mappings)
|
||||||
|
- samples/client/petstore/csharp-restsharp-name-parameter-mappings/**
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build .Net clients
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
# clients
|
||||||
|
# build C# API client (multiple frameworks)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClientCoreAndNet47/
|
||||||
|
# build C# API client (httpclient)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-httpclient/
|
||||||
|
# build C# API client (generichost)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-generichost-netstandard2.0/
|
||||||
|
# build C# API client (netcore)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient/
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClientCore/
|
||||||
|
# build C# API client (.net framework 4.7)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net47/
|
||||||
|
# build C# API client (.net framework 4.8)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net48/
|
||||||
|
# build C# API client (.net 7.0)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-net7.0/
|
||||||
|
# build C# API client (.net 7.0 with ConditionalSerialization)
|
||||||
|
- samples/client/petstore/csharp/OpenAPIClient-ConditionalSerialization/
|
||||||
|
# build C# API client (property, parameter name mappings)
|
||||||
|
- samples/client/petstore/csharp-restsharp-name-parameter-mappings
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: actions/setup-dotnet@v3.2.0
|
||||||
|
with:
|
||||||
|
dotnet-version: '7.0.x'
|
||||||
|
- name: Build
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: dotnet build Org.OpenAPITools.sln
|
||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
- samples/client/echo_api/go
|
- samples/client/echo_api/go
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "stable"
|
go-version: "stable"
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
|
|||||||
2
.github/workflows/samples-go.yaml
vendored
2
.github/workflows/samples-go.yaml
vendored
@@ -25,7 +25,7 @@ jobs:
|
|||||||
- samples/server/petstore/go-chi-server/
|
- samples/server/petstore/go-chi-server/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-go@v5
|
- uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: "stable"
|
go-version: "stable"
|
||||||
- run: go version
|
- run: go version
|
||||||
|
|||||||
2
.github/workflows/samples-groovy.yaml
vendored
2
.github/workflows/samples-groovy.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- samples/client/petstore/groovy
|
- samples/client/petstore/groovy
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- samples/client/echo_api/java/resttemplate
|
- samples/client/echo_api/java/resttemplate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
- samples/client/echo_api/java/resttemplate
|
- samples/client/echo_api/java/resttemplate
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
@@ -56,7 +56,6 @@ jobs:
|
|||||||
- samples/client/petstore/java/microprofile-rest-client-3.0
|
- samples/client/petstore/java/microprofile-rest-client-3.0
|
||||||
- samples/client/petstore/java/microprofile-rest-client-3.0-jackson
|
- samples/client/petstore/java/microprofile-rest-client-3.0-jackson
|
||||||
- samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml
|
- samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml
|
||||||
- samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter
|
|
||||||
- samples/client/petstore/java/apache-httpclient
|
- samples/client/petstore/java/apache-httpclient
|
||||||
- samples/client/petstore/java/feign
|
- samples/client/petstore/java/feign
|
||||||
- samples/client/petstore/java/okhttp-gson-awsv4signature
|
- samples/client/petstore/java/okhttp-gson-awsv4signature
|
||||||
@@ -73,7 +72,7 @@ jobs:
|
|||||||
- samples/client/others/java/webclient-useAbstractionForFiles/
|
- samples/client/others/java/webclient-useAbstractionForFiles/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ jobs:
|
|||||||
- samples/client/petstore/java/webclient-jakarta
|
- samples/client/petstore/java/webclient-jakarta
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|||||||
2
.github/workflows/samples-java-helidon.yaml
vendored
2
.github/workflows/samples-java-helidon.yaml
vendored
@@ -24,7 +24,7 @@ jobs:
|
|||||||
version: [17]
|
version: [17]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: ${{ matrix.version }}
|
java-version: ${{ matrix.version }}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
- samples/server/petstore/java-play-framework-no-wrap-calls
|
- samples/server/petstore/java-play-framework-no-wrap-calls
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
#- samples/server/petstore/java-undertow/
|
#- samples/server/petstore/java-undertow/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
2
.github/workflows/samples-jaxrs-jdk11.yaml
vendored
2
.github/workflows/samples-jaxrs-jdk11.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- samples/server/petstore/jaxrs/jersey3
|
- samples/server/petstore/jaxrs/jersey3
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|||||||
2
.github/workflows/samples-jaxrs.yaml
vendored
2
.github/workflows/samples-jaxrs.yaml
vendored
@@ -39,7 +39,7 @@ jobs:
|
|||||||
- samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations
|
- samples/server/petstore/jaxrs-spec-microprofile-openapi-annotations
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
5
.github/workflows/samples-jdk17.yaml
vendored
5
.github/workflows/samples-jdk17.yaml
vendored
@@ -8,7 +8,6 @@ on:
|
|||||||
- samples/client/petstore/java-helidon-client/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/**
|
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3/**
|
- samples/openapi3/server/petstore/springboot-3/**
|
||||||
- samples/server/petstore/java-helidon-server/mp/**
|
- samples/server/petstore/java-helidon-server/mp/**
|
||||||
@@ -21,7 +20,6 @@ on:
|
|||||||
- samples/client/petstore/java-helidon-client/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/**
|
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3/**
|
- samples/openapi3/server/petstore/springboot-3/**
|
||||||
- samples/server/petstore/java-helidon-server/mp/**
|
- samples/server/petstore/java-helidon-server/mp/**
|
||||||
@@ -40,7 +38,6 @@ jobs:
|
|||||||
- samples/client/petstore/java-helidon-client/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
|
|
||||||
# servers
|
# servers
|
||||||
- samples/openapi3/server/petstore/springboot-3
|
- samples/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/java-helidon-server/mp
|
- samples/server/petstore/java-helidon-server/mp
|
||||||
@@ -49,7 +46,7 @@ jobs:
|
|||||||
- samples/client/petstore/spring-http-interface
|
- samples/client/petstore/spring-http-interface
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|||||||
5
.github/workflows/samples-kotlin-client.yaml
vendored
5
.github/workflows/samples-kotlin-client.yaml
vendored
@@ -31,7 +31,6 @@ jobs:
|
|||||||
- samples/client/petstore/kotlin-jvm-volley
|
- samples/client/petstore/kotlin-jvm-volley
|
||||||
- samples/client/petstore/kotlin-moshi-codegen
|
- samples/client/petstore/kotlin-moshi-codegen
|
||||||
- samples/client/petstore/kotlin-multiplatform
|
- samples/client/petstore/kotlin-multiplatform
|
||||||
- samples/client/petstore/kotlin-multiplatform-kotlinx-datetime
|
|
||||||
- samples/client/petstore/kotlin-nonpublic
|
- samples/client/petstore/kotlin-nonpublic
|
||||||
- samples/client/petstore/kotlin-nullable
|
- samples/client/petstore/kotlin-nullable
|
||||||
- samples/client/petstore/kotlin-okhttp3
|
- samples/client/petstore/kotlin-okhttp3
|
||||||
@@ -40,7 +39,6 @@ jobs:
|
|||||||
- samples/client/petstore/kotlin-retrofit2-rx3
|
- samples/client/petstore/kotlin-retrofit2-rx3
|
||||||
- samples/client/petstore/kotlin-string
|
- samples/client/petstore/kotlin-string
|
||||||
- samples/client/petstore/kotlin-threetenbp
|
- samples/client/petstore/kotlin-threetenbp
|
||||||
- samples/client/petstore/kotlin-kotlinx-datetime
|
|
||||||
- samples/client/petstore/kotlin-uppercase-enum
|
- samples/client/petstore/kotlin-uppercase-enum
|
||||||
- samples/client/petstore/kotlin-default-values-jvm-okhttp3
|
- samples/client/petstore/kotlin-default-values-jvm-okhttp3
|
||||||
- samples/client/petstore/kotlin-default-values-jvm-okhttp4
|
- samples/client/petstore/kotlin-default-values-jvm-okhttp4
|
||||||
@@ -63,13 +61,12 @@ jobs:
|
|||||||
- samples/client/petstore/kotlin-jvm-vertx-moshi
|
- samples/client/petstore/kotlin-jvm-vertx-moshi
|
||||||
- samples/client/petstore/kotlin-jvm-spring-2-webclient
|
- samples/client/petstore/kotlin-jvm-spring-2-webclient
|
||||||
- samples/client/petstore/kotlin-jvm-spring-3-webclient
|
- samples/client/petstore/kotlin-jvm-spring-3-webclient
|
||||||
- samples/client/petstore/kotlin-jvm-spring-3-restclient
|
|
||||||
- samples/client/petstore/kotlin-spring-cloud
|
- 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:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
# - samples/server/petstore/kotlin-spring-default/
|
# - samples/server/petstore/kotlin-spring-default/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|||||||
2
.github/workflows/samples-kotlin-server.yaml
vendored
2
.github/workflows/samples-kotlin-server.yaml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
#- samples/server/petstore/kotlin-vertx-modelMutable
|
#- samples/server/petstore/kotlin-vertx-modelMutable
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- "3.11"
|
- "3.11"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
SWAGGER_BASE_PATH: /v2
|
SWAGGER_BASE_PATH: /v2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v4
|
||||||
id: py
|
id: py
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- "3.11"
|
- "3.11"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- name: Setup node.js
|
- name: Setup node.js
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ jobs:
|
|||||||
SWAGGER_BASE_PATH: /v2
|
SWAGGER_BASE_PATH: /v2
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v4
|
||||||
id: py
|
id: py
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
|
|||||||
8
.github/workflows/samples-python-server.yaml
vendored
8
.github/workflows/samples-python-server.yaml
vendored
@@ -3,10 +3,10 @@ name: Python Server
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- samples/server/petstore/python-aiohttp-srclayout/**
|
- samples/server/petstore/python-aiohttp/**
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- samples/server/petstore/python-aiohttp-srclayout/**
|
- samples/server/petstore/python-aiohttp/**
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Test Python server
|
name: Test Python server
|
||||||
@@ -16,10 +16,10 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
sample:
|
sample:
|
||||||
# servers
|
# servers
|
||||||
- samples/server/petstore/python-aiohttp-srclayout/
|
- samples/server/petstore/python-aiohttp/
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.7'
|
python-version: '3.7'
|
||||||
- name: Test
|
- name: Test
|
||||||
|
|||||||
43
.github/workflows/samples-ruby.yaml
vendored
43
.github/workflows/samples-ruby.yaml
vendored
@@ -1,43 +0,0 @@
|
|||||||
name: Samples Ruby
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- 'samples/client/echo_api/ruby-httpx/**'
|
|
||||||
- 'samples/client/echo_api/ruby-faraday/**'
|
|
||||||
- 'samples/client/echo_api/ruby-typhoeus/**'
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- 'samples/client/echo_api/ruby-httpx/**'
|
|
||||||
- 'samples/client/echo_api/ruby-faraday/**'
|
|
||||||
- 'samples/client/echo_api/ruby-typhoeus/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build Ruby
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
sample:
|
|
||||||
- 'samples/client/echo_api/ruby-httpx/'
|
|
||||||
- 'samples/client/echo_api/ruby-faraday/'
|
|
||||||
- 'samples/client/echo_api/ruby-typhoeus/'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- 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 &)
|
|
||||||
- uses: actions/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: 3.0
|
|
||||||
bundler-cache: true
|
|
||||||
- name: Install bundle
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
||||||
run: bundle install
|
|
||||||
- name: Run rspec
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
||||||
run: rspec
|
|
||||||
2
.github/workflows/samples-scala.yaml
vendored
2
.github/workflows/samples-scala.yaml
vendored
@@ -32,7 +32,7 @@ jobs:
|
|||||||
- samples/server/petstore/scala-finch # cannot be tested with jdk11
|
- samples/server/petstore/scala-finch # cannot be tested with jdk11
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
2
.github/workflows/samples-spring-jdk17.yaml
vendored
2
.github/workflows/samples-spring-jdk17.yaml
vendored
@@ -19,7 +19,7 @@ jobs:
|
|||||||
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
- samples/openapi3/client/petstore/spring-cloud-3-with-optional
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 17
|
java-version: 17
|
||||||
|
|||||||
3
.github/workflows/samples-spring.yaml
vendored
3
.github/workflows/samples-spring.yaml
vendored
@@ -28,7 +28,6 @@ jobs:
|
|||||||
- samples/openapi3/client/petstore/spring-cloud
|
- samples/openapi3/client/petstore/spring-cloud
|
||||||
- samples/client/petstore/spring-cloud-date-time
|
- 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-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-async
|
||||||
@@ -59,7 +58,7 @@ jobs:
|
|||||||
- samples/server/petstore/springboot-spring-provide-args
|
- samples/server/petstore/springboot-spring-provide-args
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 8
|
java-version: 8
|
||||||
|
|||||||
2
.github/workflows/sonar.yml
vendored
2
.github/workflows/sonar.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 11
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
java-version: 11
|
java-version: 11
|
||||||
|
|||||||
4
.github/workflows/windows.yaml
vendored
4
.github/workflows/windows.yaml
vendored
@@ -20,7 +20,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Set up JDK ${{ matrix.java }}
|
- name: Set up JDK ${{ matrix.java }}
|
||||||
uses: actions/setup-java@v4
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
@@ -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.11.0
|
uses: s4u/setup-maven-action@v1.10.0
|
||||||
with:
|
with:
|
||||||
java-version: ${{ matrix.java }}
|
java-version: ${{ matrix.java }}
|
||||||
maven-version: 3.8.8
|
maven-version: 3.8.8
|
||||||
|
|||||||
98
CI/.drone.yml
Normal file
98
CI/.drone.yml
Normal file
@@ -0,0 +1,98 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: java11-test
|
||||||
|
steps:
|
||||||
|
# test Java 11 HTTP client
|
||||||
|
- name: java11-test
|
||||||
|
image: openjdk:11.0
|
||||||
|
commands:
|
||||||
|
- ./mvnw --quiet clean install -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||||
|
- ./mvnw --quiet verify -Psamples.droneio -Dorg.slf4j.simpleLogger.defaultLogLevel=error
|
||||||
|
# test java native client
|
||||||
|
- ./mvnw clean test -f samples/client/petstore/java/native/pom.xml
|
||||||
|
- ./mvnw clean test -f samples/client/petstore/java/native-async/pom.xml
|
||||||
|
- ./mvnw clean test -f samples/openapi3/client/petstore/java/native/pom.xml
|
||||||
|
# test all generators with fake petstore spec (2.0, 3.0)
|
||||||
|
- /bin/bash bin/utils/test-fake-petstore-for-all.sh
|
||||||
|
# generate test scripts
|
||||||
|
- /bin/bash bin/tests/run-all-test
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: nim-client-test
|
||||||
|
steps:
|
||||||
|
# test nim client
|
||||||
|
- name: nim-client-test
|
||||||
|
image: nimlang/nim
|
||||||
|
commands:
|
||||||
|
- (cd samples/client/petstore/nim/ && nim c sample_client.nim)
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: protobuf-schema-test
|
||||||
|
steps:
|
||||||
|
# test protobuf schema generator
|
||||||
|
- name: protobuf-schema-test
|
||||||
|
image: nanoservice/protobuf-go
|
||||||
|
commands:
|
||||||
|
- protoc --version
|
||||||
|
- mkdir /var/tmp/go/
|
||||||
|
- cd samples/config/petstore/protobuf-schema
|
||||||
|
- protoc --go_out=/var/tmp/go/ services/*
|
||||||
|
- protoc --go_out=/var/tmp/go/ models/*
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: aspnetcore-test
|
||||||
|
steps:
|
||||||
|
# test aspnetcore 3.x
|
||||||
|
- name: aspnetcore-test
|
||||||
|
image: mcr.microsoft.com/dotnet/core/sdk:3.1
|
||||||
|
commands:
|
||||||
|
- (cd samples/server/petstore/aspnetcore-3.1/ && /bin/sh build.sh)
|
||||||
|
- (cd samples/server/petstore/aspnetcore-3.0/ && /bin/sh build.sh)
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: ocaml-test
|
||||||
|
steps:
|
||||||
|
# test ocaml petstore client
|
||||||
|
- name: ocaml-test
|
||||||
|
image: ocaml/opam2:4.07
|
||||||
|
commands:
|
||||||
|
- sudo apt-get -y install m4
|
||||||
|
- cd samples/client/petstore/ocaml
|
||||||
|
- opam install ppx_deriving_yojson cohttp ppx_deriving cohttp-lwt-unix
|
||||||
|
- opam pin add ocaml-migrate-parsetree 1.3.1
|
||||||
|
- eval $(opam env)
|
||||||
|
- sudo chmod -R 777 .
|
||||||
|
- dune build --build-dir=./_build
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: haskell-client-test
|
||||||
|
steps:
|
||||||
|
# test haskell client
|
||||||
|
- name: haskell-client-test
|
||||||
|
image: haskell:8.10.4
|
||||||
|
commands:
|
||||||
|
- (cd samples/client/petstore/haskell-http-client/ && stack --allow-different-user --install-ghc --no-haddock-deps haddock --fast && stack --allow-different-user test --fast)
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: erlang
|
||||||
|
steps:
|
||||||
|
# test erlang client and server
|
||||||
|
- name: erlang
|
||||||
|
image: erlang:alpine
|
||||||
|
commands:
|
||||||
|
- (cd samples/client/petstore/erlang-client && rebar3 compile)
|
||||||
|
- (cd samples/client/petstore/erlang-proper && rebar3 compile)
|
||||||
|
# comment out as the tests pass locally but not in the CI
|
||||||
|
#- (cd samples/server/petstore/erlang-server && rebar3 compile)
|
||||||
37
CI/.travis.yml.ios
Normal file
37
CI/.travis.yml.ios
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
sudo: required
|
||||||
|
language: objective-c
|
||||||
|
osx_image: xcode10.3
|
||||||
|
before_install:
|
||||||
|
- export SW=`pwd`
|
||||||
|
- rvm list
|
||||||
|
#- rvm use 2.3.3
|
||||||
|
- gem environment
|
||||||
|
- gem install bundler -N
|
||||||
|
- gem install cocoapods -v 1.2.1 -N
|
||||||
|
- gem install xcpretty -N
|
||||||
|
- pod --version
|
||||||
|
# comment out below to avoid errors
|
||||||
|
#- pod repo update
|
||||||
|
#- pod setup --silent > /dev/null
|
||||||
|
#- mkdir -p ~/.local/bin
|
||||||
|
#- export PATH=$HOME/.local/bin:$PATH
|
||||||
|
## start local petstore server
|
||||||
|
#- git clone -b docker --single-branch https://github.com/wing328/swagger-samples
|
||||||
|
#- cd swagger-samples/java/java-jersey-jaxrs
|
||||||
|
#- sudo mvn jetty:run &
|
||||||
|
#- cd $SW
|
||||||
|
|
||||||
|
# show host table to confirm petstore.swagger.io is mapped to localhost
|
||||||
|
- cat /etc/hosts
|
||||||
|
# show java version
|
||||||
|
- java -version
|
||||||
|
# show brew version
|
||||||
|
- brew --version
|
||||||
|
# show xcpretty version
|
||||||
|
- xcpretty -v
|
||||||
|
# show go version
|
||||||
|
- go version
|
||||||
|
|
||||||
|
script:
|
||||||
|
# run integration tests defined in maven pom.xml
|
||||||
|
- mvn --no-snapshot-updates -q --batch-mode verify -Psamples.ios -Dmaven.javadoc.skip=true
|
||||||
29
CI/.travis.yml.jdk6
Normal file
29
CI/.travis.yml.jdk6
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
dist: trusty
|
||||||
|
sudo: required
|
||||||
|
language: java
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- openjdk-6-jdk
|
||||||
|
jdk: openjdk6
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.m2
|
||||||
|
- $HOME/.ivy2
|
||||||
|
- $HOME/.gradle/caches/
|
||||||
|
- $HOME/.gradle/wrapper/
|
||||||
|
|
||||||
|
install:
|
||||||
|
- jdk_switcher use openjdk6
|
||||||
|
- java -version
|
||||||
|
- curl -s "https://get.sdkman.io" | bash
|
||||||
|
- source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||||
|
- sdk version
|
||||||
|
- sdk install gradle 2.9
|
||||||
|
- sdk list gradle
|
||||||
|
- sdk version
|
||||||
|
- gradle --version
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cd samples/client/petstore/java/jersey2-java6 && gradle test
|
||||||
@@ -256,7 +256,7 @@ To build from source, you need the following installed and available in your `$P
|
|||||||
|
|
||||||
* [Apache Maven 3.3.4 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://github.com/takari/maven-wrapper):
|
||||||
|
|
||||||
- Linux: `./mvnw clean install`
|
- Linux: `./mvnw clean install`
|
||||||
- Windows: `mvnw.cmd clean install`
|
- Windows: `mvnw.cmd clean install`
|
||||||
@@ -996,7 +996,6 @@ Here is a list of template creators:
|
|||||||
* Kotlin (MultiPlatform): @andrewemery
|
* Kotlin (MultiPlatform): @andrewemery
|
||||||
* Kotlin (Volley): @alisters
|
* Kotlin (Volley): @alisters
|
||||||
* Kotlin (jvm-spring-webclient): @stefankoppier
|
* Kotlin (jvm-spring-webclient): @stefankoppier
|
||||||
* Kotlin (jvm-spring-restclient): @stefankoppier
|
|
||||||
* Lua: @daurnimator
|
* Lua: @daurnimator
|
||||||
* N4JS: @mmews-n4
|
* N4JS: @mmews-n4
|
||||||
* Nim: @hokamoto
|
* Nim: @hokamoto
|
||||||
|
|||||||
@@ -56,8 +56,8 @@ test_script:
|
|||||||
- dotnet test samples\client\petstore\csharp\OpenAPIClient-net47\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\OpenAPIClient-net47\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
# test C# API client (.net framework 4.8)
|
# test C# API client (.net framework 4.8)
|
||||||
- dotnet test samples\client\petstore\csharp\OpenAPIClient-net48\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\OpenAPIClient-net48\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
# test C# API client (.net 5.0)
|
# test C# API client (.net 7.0)
|
||||||
- dotnet test samples\client\petstore\csharp\OpenAPIClient-net5.0\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\OpenAPIClient-net7.0\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
# test C# API Client using conditional-serialization
|
# test C# API Client using conditional-serialization
|
||||||
- dotnet test samples\client\petstore\csharp\OpenAPIClient-ConditionalSerialization\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\OpenAPIClient-ConditionalSerialization\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
|
||||||
|
|||||||
@@ -13,5 +13,3 @@ parameterNameMappings:
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
modelPackage: Samples.Petstore
|
modelPackage: Samples.Petstore
|
||||||
projectName: Petstore
|
projectName: Petstore
|
||||||
enumNameMappings:
|
|
||||||
sold: UNAVAILABLE
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/OpenAPIClient-net5.0
|
outputDir: samples/client/petstore/csharp/OpenAPIClient-net7.0
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
@@ -10,5 +10,3 @@ additionalProperties:
|
|||||||
useOneOfDiscriminatorLookup: true
|
useOneOfDiscriminatorLookup: true
|
||||||
targetFramework: net7.0
|
targetFramework: net7.0
|
||||||
equatable: true
|
equatable: true
|
||||||
enumNameMappings:
|
|
||||||
delivered: Shipped
|
|
||||||
|
|||||||
11
bin/configs/csharp-restsharp-net8.0.yaml
Normal file
11
bin/configs/csharp-restsharp-net8.0.yaml
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
generatorName: csharp
|
||||||
|
outputDir: samples/client/petstore/csharp/OpenAPIClient-net8.0
|
||||||
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
||||||
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
additionalProperties:
|
||||||
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
useCompareNetObjects: true
|
||||||
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
|
useOneOfDiscriminatorLookup: true
|
||||||
|
targetFramework: net8.0
|
||||||
|
equatable: true
|
||||||
@@ -4,5 +4,3 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|||||||
templateDir: modules/openapi-generator/src/main/resources/dart2
|
templateDir: modules/openapi-generator/src/main/resources/dart2
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
enumNameMappings:
|
|
||||||
delivered: shipped
|
|
||||||
|
|||||||
@@ -15,6 +15,4 @@ additionalProperties:
|
|||||||
packageName: petstore
|
packageName: petstore
|
||||||
disallowAdditionalPropertiesIfNotPresent: false
|
disallowAdditionalPropertiesIfNotPresent: false
|
||||||
generateInterfaces: true
|
generateInterfaces: true
|
||||||
enumNameMappings:
|
|
||||||
delivered: SHIPPED
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
generatorName: java
|
|
||||||
outputDir: samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter
|
|
||||||
library: microprofile
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_1/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/Java
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: microprofile-rest-client
|
|
||||||
configKey: petstore
|
|
||||||
useSingleRequestParameter: true
|
|
||||||
microprofileRestClientVersion: "3.0"
|
|
||||||
@@ -5,4 +5,3 @@ templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
artifactId: kotlin-array-simple-string-multiplatform
|
artifactId: kotlin-array-simple-string-multiplatform
|
||||||
library: multiplatform
|
library: multiplatform
|
||||||
dateLibrary: kotlinx-datetime
|
|
||||||
|
|||||||
@@ -5,4 +5,3 @@ templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
artifactId: kotlin-bigdecimal-default-multiplatform
|
artifactId: kotlin-bigdecimal-default-multiplatform
|
||||||
library: multiplatform
|
library: multiplatform
|
||||||
dateLibrary: kotlinx-datetime
|
|
||||||
|
|||||||
@@ -5,5 +5,4 @@ templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
artifactId: kotlin-default-values-multiplatform
|
artifactId: kotlin-default-values-multiplatform
|
||||||
library: multiplatform
|
library: multiplatform
|
||||||
dateLibrary: kotlinx-datetime
|
|
||||||
sortParamsByRequiredFlag: false
|
sortParamsByRequiredFlag: false
|
||||||
|
|||||||
@@ -7,5 +7,3 @@ additionalProperties:
|
|||||||
serializableModel: "true"
|
serializableModel: "true"
|
||||||
dateLibrary: java8
|
dateLibrary: java8
|
||||||
enumUnknownDefaultCase: true
|
enumUnknownDefaultCase: true
|
||||||
enumNameMappings:
|
|
||||||
CHRISTMAS_DAY: XMAS_DAY
|
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
generatorName: kotlin
|
|
||||||
outputDir: samples/client/petstore/kotlin-jvm-spring-3-restclient
|
|
||||||
library: jvm-spring-restclient
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: kotlin-petstore-spring-restclient
|
|
||||||
enumUnknownDefaultCase: true
|
|
||||||
serializationLibrary: jackson
|
|
||||||
useSpringBoot3: true
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
generatorName: kotlin
|
|
||||||
outputDir: samples/client/petstore/kotlin-kotlinx-datetime
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: kotlin-petstore-threetenbp
|
|
||||||
dateLibrary: kotlinx-datetime
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
generatorName: kotlin
|
|
||||||
outputDir: samples/client/petstore/kotlin-multiplatform-kotlinx-datetime
|
|
||||||
library: multiplatform
|
|
||||||
dateLibrary: kotlinx-datetime
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: kotlin-client-petstore-multiplatform-kotlinx-datetime
|
|
||||||
@@ -1,7 +1,6 @@
|
|||||||
generatorName: kotlin
|
generatorName: kotlin
|
||||||
outputDir: samples/client/petstore/kotlin-multiplatform
|
outputDir: samples/client/petstore/kotlin-multiplatform
|
||||||
library: multiplatform
|
library: multiplatform
|
||||||
dateLibrary: kotlinx-datetime
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
|
|||||||
@@ -2,5 +2,3 @@ generatorName: php-nextgen
|
|||||||
outputDir: samples/client/petstore/php-nextgen/OpenAPIClient-php
|
outputDir: samples/client/petstore/php-nextgen/OpenAPIClient-php
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/php-nextgen/petstore-with-fake-endpoints-models-for-testing.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/php-nextgen/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/php-nextgen
|
templateDir: modules/openapi-generator/src/main/resources/php-nextgen
|
||||||
enumNameMappings:
|
|
||||||
delivered: SHIPPED
|
|
||||||
|
|||||||
@@ -1,7 +0,0 @@
|
|||||||
generatorName: ruby
|
|
||||||
outputDir: samples/client/echo_api/ruby-faraday
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/ruby-client
|
|
||||||
library: faraday
|
|
||||||
additionalProperties:
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
generatorName: ruby
|
|
||||||
outputDir: samples/client/echo_api/ruby-typhoeus
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/ruby-client
|
|
||||||
library: typhoeus
|
|
||||||
additionalProperties:
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
@@ -6,5 +6,3 @@ templateDir: modules/openapi-generator/src/main/resources/rust
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
supportAsync: false
|
supportAsync: false
|
||||||
packageName: petstore-reqwest
|
packageName: petstore-reqwest
|
||||||
enumNameMappings:
|
|
||||||
delivered: shipped
|
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
generatorName: spring
|
|
||||||
library: spring-cloud
|
|
||||||
outputDir: samples/openapi3/client/petstore/spring-cloud-http-basic
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/http-basic-test.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring
|
|
||||||
additionalProperties:
|
|
||||||
groupId: org.openapitools.openapi3
|
|
||||||
documentationProvider: springdoc
|
|
||||||
artifactId: spring-cloud-http-basic
|
|
||||||
interfaceOnly: "true"
|
|
||||||
singleContentTypes: "true"
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
useTags: "true"
|
|
||||||
@@ -5,5 +5,3 @@ templateDir: modules/openapi-generator/src/main/resources/swift-combine
|
|||||||
additionalProperties:
|
additionalProperties:
|
||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
projectName: "PetstoreOpenAPI"
|
projectName: "PetstoreOpenAPI"
|
||||||
enumNameMappings:
|
|
||||||
delivered: shipped
|
|
||||||
|
|||||||
@@ -8,5 +8,3 @@ additionalProperties:
|
|||||||
podSummary: PetstoreClient
|
podSummary: PetstoreClient
|
||||||
projectName: PetstoreClient
|
projectName: PetstoreClient
|
||||||
podHomepage: https://github.com/openapitools/openapi-generator
|
podHomepage: https://github.com/openapitools/openapi-generator
|
||||||
enumNameMappings:
|
|
||||||
delivered: shipped
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
generatorName: jmeter
|
generatorName: jmeter
|
||||||
outputDir: samples/client/petstore/jmeter
|
outputDir: samples/client/petstore/jmeter
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/jmeter/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/2_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/jmeter-client
|
templateDir: modules/openapi-generator/src/main/resources/jmeter-client
|
||||||
@@ -7,8 +7,8 @@ declare cwd="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|||||||
declare root="$(cd "$cwd" && cd ../ && pwd)"
|
declare root="$(cd "$cwd" && cd ../ && pwd)"
|
||||||
|
|
||||||
if ! command -v gradle > /dev/null; then
|
if ! command -v gradle > /dev/null; then
|
||||||
echo "[WARN] This script requires a system gradle to be installed. Not treating this as an error."
|
echo "[WARN] This script requires a system gradle to be installed. Not treating this as an error."
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
executable="${root}/modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
executable="${root}/modules/openapi-generator-cli/target/openapi-generator-cli.jar"
|
||||||
|
|||||||
@@ -266,11 +266,6 @@ Upon first code generation, you may also pass the CLI option `--ignore-file-over
|
|||||||
|
|
||||||
Editor support for `.openapi-generator-ignore` files is available in IntelliJ via the [.ignore plugin](https://plugins.jetbrains.com/plugin/7495--ignore).
|
Editor support for `.openapi-generator-ignore` files is available in IntelliJ via the [.ignore plugin](https://plugins.jetbrains.com/plugin/7495--ignore).
|
||||||
|
|
||||||
One may want to pre-populate `.openapi-generator-ignore` with a list of entries during the code generation process and the global/general option `openapiGeneatorIgnoreList` (e.g. --openapi-generator-ignore-list in CLI) can do exactly that. For example,
|
|
||||||
```
|
|
||||||
java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generate -g spring -i modules/openapi-generator/src/test/resources/3_0/petstore.yaml -o /tmp/spring --additional-properties useTags=true --openapi-generator-ignore-list "README.md,pom.xml,docs/*.md,src/main/java/org/openapitools/model/*"
|
|
||||||
```
|
|
||||||
|
|
||||||
## Customizing the generator
|
## Customizing the generator
|
||||||
|
|
||||||
There are different aspects of customizing the code generator beyond just creating or modifying templates. Each language has a supporting configuration file to handle different type mappings, etc:
|
There are different aspects of customizing the code generator beyond just creating or modifying templates. Each language has a supporting configuration file to handle different type mappings, etc:
|
||||||
|
|||||||
@@ -110,6 +110,6 @@ No, please use `swift3` or `swift4` generator instead as we want to focus on Swi
|
|||||||
Yes, please use the following option when generating TypeScript clients:
|
Yes, please use the following option when generating TypeScript clients:
|
||||||
|
|
||||||
```
|
```
|
||||||
modelPropertyNaming
|
modelPropertyNaming
|
||||||
Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name (Default: camelCase)
|
Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name (Default: camelCase)
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -244,7 +244,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -244,7 +244,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -257,7 +257,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -159,7 +159,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -297,7 +297,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -175,7 +175,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -329,7 +329,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -176,7 +176,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -189,7 +189,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -285,7 +285,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -165,7 +165,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -255,7 +255,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -263,7 +263,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -260,7 +260,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -256,7 +256,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -257,7 +257,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -261,7 +261,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -254,7 +254,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -258,7 +258,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -265,7 +265,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✓|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -239,7 +239,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -322,7 +322,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -323,7 +323,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
|OAuth2_ClientCredentials|✓|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✓|OAS3
|
|SignatureAuth|✓|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
@@ -167,7 +167,6 @@ These options may be applied as additional-properties (cli) or configOptions (pl
|
|||||||
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
|OAuth2_ClientCredentials|✗|OAS2,OAS3
|
||||||
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
|OAuth2_AuthorizationCode|✗|OAS2,OAS3
|
||||||
|SignatureAuth|✗|OAS3
|
|SignatureAuth|✗|OAS3
|
||||||
|AWSV4Signature|✗|ToolingExtension
|
|
||||||
|
|
||||||
### Wire Format Feature
|
### Wire Format Feature
|
||||||
| Name | Supported | Defined By |
|
| Name | Supported | Defined By |
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user