forked from loafle/openapi-generator-original
Compare commits
6 Commits
master
...
fix-circle
Author | SHA1 | Date | |
---|---|---|---|
|
be28e0c829 | ||
|
286ea0c593 | ||
|
a1d733694e | ||
|
ce81a8dd3a | ||
|
3bdf3a5756 | ||
|
531f39f2b5 |
@ -11,7 +11,7 @@ jobs:
|
|||||||
report:
|
report:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dorny/test-reporter@v2
|
- uses: dorny/test-reporter@v1
|
||||||
with:
|
with:
|
||||||
artifact: surefire-test-results
|
artifact: surefire-test-results
|
||||||
name: JUnit Test results
|
name: JUnit Test results
|
||||||
|
1
.github/workflows/openapi-generator.yaml
vendored
1
.github/workflows/openapi-generator.yaml
vendored
@ -142,7 +142,6 @@ jobs:
|
|||||||
path: modules/openapi-generator-cli/target
|
path: modules/openapi-generator-cli/target
|
||||||
- name: Delete samples that are entirely generated
|
- name: Delete samples that are entirely generated
|
||||||
run: |
|
run: |
|
||||||
rm -rf samples/client/petstore/csharp/generichost/latest/HelloWorld
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/latest/Tags
|
rm -rf samples/client/petstore/csharp/generichost/latest/Tags
|
||||||
|
|
||||||
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf
|
rm -rf samples/client/petstore/csharp/generichost/net8/AllOf
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
|||||||
- samples/server/petstore/aspnet/fastendpoints-useValidators
|
- samples/server/petstore/aspnet/fastendpoints-useValidators
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -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.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: 3.1.*
|
dotnet-version: 3.1.*
|
||||||
- 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.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '6.0.x'
|
dotnet-version: '6.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -19,7 +19,7 @@ jobs:
|
|||||||
- samples/client/echo_api/csharp/restsharp/net8/EchoApi
|
- samples/client/echo_api/csharp/restsharp/net8/EchoApi
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
- name: Run echo server
|
- name: Run echo server
|
||||||
|
@ -16,10 +16,9 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
sample:
|
sample:
|
||||||
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/
|
- samples/client/petstore/csharp/restsharp/net8/ParameterMappings/
|
||||||
- samples/client/petstore/csharp/restsharp/net8/useVirtualForHooks/
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
|||||||
- samples/server/petstore/aspnetcore-8.0-use-centralized-package-version-management
|
- samples/server/petstore/aspnetcore-8.0-use-centralized-package-version-management
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
2
.github/workflows/samples-dotnet8.yaml
vendored
2
.github/workflows/samples-dotnet8.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.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '8.0.x'
|
dotnet-version: '8.0.x'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
3
.github/workflows/samples-dotnet9.yaml
vendored
3
.github/workflows/samples-dotnet9.yaml
vendored
@ -24,7 +24,6 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
sample:
|
sample:
|
||||||
- samples/client/petstore/csharp/generichost/latest/Tags
|
- samples/client/petstore/csharp/generichost/latest/Tags
|
||||||
- samples/client/petstore/csharp/generichost/latest/HelloWorld
|
|
||||||
- samples/client/petstore/csharp/generichost/net9/AllOf
|
- samples/client/petstore/csharp/generichost/net9/AllOf
|
||||||
- samples/client/petstore/csharp/generichost/net9/AnyOf
|
- samples/client/petstore/csharp/generichost/net9/AnyOf
|
||||||
- samples/client/petstore/csharp/generichost/net9/AnyOfNoCompare
|
- samples/client/petstore/csharp/generichost/net9/AnyOfNoCompare
|
||||||
@ -44,7 +43,7 @@ jobs:
|
|||||||
#- samples/client/petstore/csharp/unityWebRequest/net9/Petstore
|
#- samples/client/petstore/csharp/unityWebRequest/net9/Petstore
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-dotnet@v4.3.1
|
- uses: actions/setup-dotnet@v4.2.0
|
||||||
with:
|
with:
|
||||||
dotnet-version: '9.0.101'
|
dotnet-version: '9.0.101'
|
||||||
- name: Build
|
- name: Build
|
||||||
|
@ -61,8 +61,6 @@ jobs:
|
|||||||
- samples/client/petstore/java/webclient-swagger2
|
- samples/client/petstore/java/webclient-swagger2
|
||||||
- samples/client/petstore/java/webclient-useSingleRequestParameter
|
- samples/client/petstore/java/webclient-useSingleRequestParameter
|
||||||
- samples/client/petstore/java/vertx
|
- samples/client/petstore/java/vertx
|
||||||
- samples/client/petstore/java/vertx-no-nullable
|
|
||||||
- samples/client/petstore/java/vertx-supportVertxFuture
|
|
||||||
- samples/client/petstore/java/jersey2-java8-localdatetime
|
- samples/client/petstore/java/jersey2-java8-localdatetime
|
||||||
- samples/client/petstore/java/google-api-client
|
- samples/client/petstore/java/google-api-client
|
||||||
- samples/client/petstore/java/rest-assured
|
- samples/client/petstore/java/rest-assured
|
||||||
@ -76,7 +74,6 @@ jobs:
|
|||||||
- samples/client/petstore/java/microprofile-rest-client-with-useSingleRequestParameter
|
- 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/feign-hc5
|
|
||||||
- samples/client/petstore/java/feign-no-nullable
|
- samples/client/petstore/java/feign-no-nullable
|
||||||
- samples/client/petstore/java/okhttp-gson-awsv4signature
|
- samples/client/petstore/java/okhttp-gson-awsv4signature
|
||||||
- samples/openapi3/client/petstore/java/jersey2-java8-special-characters
|
- samples/openapi3/client/petstore/java/jersey2-java8-special-characters
|
||||||
|
@ -28,7 +28,6 @@ jobs:
|
|||||||
- samples/client/petstore/java/restclient-nullable-arrays
|
- samples/client/petstore/java/restclient-nullable-arrays
|
||||||
- samples/client/petstore/java/restclient-swagger2
|
- samples/client/petstore/java/restclient-swagger2
|
||||||
- samples/client/petstore/java/restclient-useSingleRequestParameter
|
- samples/client/petstore/java/restclient-useSingleRequestParameter
|
||||||
- samples/client/petstore/java/restclient-useSingleRequestParameter-static
|
|
||||||
- samples/client/petstore/java/webclient-useSingleRequestParameter
|
- samples/client/petstore/java/webclient-useSingleRequestParameter
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
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.2.0
|
git checkout v0.1.25
|
||||||
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
|
||||||
|
@ -42,7 +42,6 @@ jobs:
|
|||||||
- samples/server/petstore/kotlin-server/javalin-6
|
- samples/server/petstore/kotlin-server/javalin-6
|
||||||
- samples/server/petstore/kotlin-server/ktor
|
- samples/server/petstore/kotlin-server/ktor
|
||||||
- samples/server/petstore/kotlin-server/ktor2
|
- samples/server/petstore/kotlin-server/ktor2
|
||||||
- samples/server/petstore/kotlin-misk
|
|
||||||
# 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:
|
||||||
@ -67,4 +66,4 @@ jobs:
|
|||||||
arguments: wrapper
|
arguments: wrapper
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: ./gradlew build -x test
|
run: ./gradlew build -x test
|
||||||
|
@ -25,7 +25,6 @@ jobs:
|
|||||||
- samples/server/petstore/kotlin-server/ktor
|
- samples/server/petstore/kotlin-server/ktor
|
||||||
- samples/server/petstore/kotlin-server/ktor2
|
- samples/server/petstore/kotlin-server/ktor2
|
||||||
- samples/server/petstore/kotlin-server-required-and-nullable-properties
|
- samples/server/petstore/kotlin-server-required-and-nullable-properties
|
||||||
- samples/server/petstore/kotlin-misk
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
|
4
.github/workflows/samples-kotlin-server.yaml
vendored
4
.github/workflows/samples-kotlin-server.yaml
vendored
@ -47,8 +47,6 @@ jobs:
|
|||||||
- 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
|
- samples/server/petstore/kotlin-spring-cloud
|
||||||
- samples/server/petstore/kotlin-misk
|
|
||||||
- samples/server/petstore/kotlin-misk-config
|
|
||||||
# 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
|
||||||
@ -75,4 +73,4 @@ jobs:
|
|||||||
arguments: wrapper
|
arguments: wrapper
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: ${{ matrix.sample }}
|
working-directory: ${{ matrix.sample }}
|
||||||
run: ./gradlew build -x test
|
run: ./gradlew build -x test
|
||||||
|
31
.github/workflows/samples-ocaml.yaml
vendored
31
.github/workflows/samples-ocaml.yaml
vendored
@ -1,31 +0,0 @@
|
|||||||
name: Samples OCaml
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- 'samples/client/petstore/ocaml/**'
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- 'samples/client/petstore/ocaml/**'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build OCaml
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
sample:
|
|
||||||
- 'samples/client/petstore/ocaml/'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set-up OCaml
|
|
||||||
uses: ocaml/setup-ocaml@v3
|
|
||||||
with:
|
|
||||||
ocaml-compiler: 5
|
|
||||||
- name: Install
|
|
||||||
run: opam install . --deps-only --with-test
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
||||||
- name: Build
|
|
||||||
run: opam exec -- dune build
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
32
.github/workflows/samples-php7.yaml
vendored
Normal file
32
.github/workflows/samples-php7.yaml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: Samples PHP 7.x
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- samples/server/petstore/php-laravel/lib/
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- samples/server/petstore/php-laravel/lib/
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build PHP projects
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
# servers
|
||||||
|
- samples/server/petstore/php-laravel/lib/
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Setup PHP with tools
|
||||||
|
uses: shivammathur/setup-php@v2
|
||||||
|
with:
|
||||||
|
php-version: '7.4'
|
||||||
|
tools: php-cs-fixer, phpunit
|
||||||
|
- name: composer install
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: composer install
|
||||||
|
- name: phpunit
|
||||||
|
working-directory: ${{ matrix.sample }}
|
||||||
|
run: vendor/bin/phpunit
|
3
.github/workflows/samples-php8.yaml
vendored
3
.github/workflows/samples-php8.yaml
vendored
@ -5,12 +5,10 @@ on:
|
|||||||
paths:
|
paths:
|
||||||
- samples/server/petstore/php-symfony/SymfonyBundle-php/**
|
- samples/server/petstore/php-symfony/SymfonyBundle-php/**
|
||||||
- samples/server/petstore/php-flight/**
|
- samples/server/petstore/php-flight/**
|
||||||
- samples/server/petstore/php-laravel/**
|
|
||||||
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/**
|
- samples/server/petstore/php-flight/**
|
||||||
- samples/server/petstore/php-laravel/**
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build PHP projects
|
name: Build PHP projects
|
||||||
@ -27,7 +25,6 @@ jobs:
|
|||||||
# servers
|
# servers
|
||||||
- samples/server/petstore/php-symfony/SymfonyBundle-php/
|
- samples/server/petstore/php-symfony/SymfonyBundle-php/
|
||||||
- samples/server/petstore/php-flight/
|
- samples/server/petstore/php-flight/
|
||||||
- samples/server/petstore/php-laravel/
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Setup PHP with tools
|
- name: Setup PHP with tools
|
||||||
|
39
.github/workflows/samples-protobuf.yaml
vendored
39
.github/workflows/samples-protobuf.yaml
vendored
@ -1,39 +0,0 @@
|
|||||||
name: Samples Protobuf
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- .github/workflows/samples-protobuf.yaml
|
|
||||||
- samples/config/petstore/protobuf-schema/**
|
|
||||||
- samples/config/petstore/protobuf-schema-config/**
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- .github/workflows/samples-protobuf.yaml
|
|
||||||
- samples/config/petstore/protobuf-schema/**
|
|
||||||
- samples/config/petstore/protobuf-schema-config/**
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build Protobuf Client
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
sample:
|
|
||||||
- 'samples/config/petstore/protobuf-schema/'
|
|
||||||
- 'samples/config/petstore/protobuf-schema-config/'
|
|
||||||
- 'samples/config/petstore/protobuf-schema-config-complex/'
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Install Protocol Buffers Compiler
|
|
||||||
run: |
|
|
||||||
sudo apt-get update
|
|
||||||
sudo apt-get install -y protobuf-compiler
|
|
||||||
- name: Generate Protobuf Schema
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
||||||
run: |
|
|
||||||
mkdir out
|
|
||||||
protoc --proto_path=. --cpp_out=out models/*.proto services/*.proto
|
|
||||||
- name: Verify Generated Files
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
||||||
run: |
|
|
||||||
ls -l out/models
|
|
||||||
ls -l out/services
|
|
@ -18,11 +18,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.8"
|
||||||
- "3.9"
|
- "3.9"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
- "3.11"
|
- "3.11"
|
||||||
- "3.12"
|
- "3.12"
|
||||||
- "3.13"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
@ -15,11 +15,11 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
|
- "3.8"
|
||||||
- "3.9"
|
- "3.9"
|
||||||
- "3.10"
|
- "3.10"
|
||||||
- "3.11"
|
- "3.11"
|
||||||
- "3.12"
|
- "3.12"
|
||||||
- "3.13"
|
|
||||||
sample:
|
sample:
|
||||||
- samples/openapi3/client/petstore/python-aiohttp
|
- samples/openapi3/client/petstore/python-aiohttp
|
||||||
- samples/openapi3/client/petstore/python
|
- samples/openapi3/client/petstore/python
|
||||||
|
54
.github/workflows/samples-ruby-petstore.yaml
vendored
Normal file
54
.github/workflows/samples-ruby-petstore.yaml
vendored
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
name: Samples Ruby Petstore
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/ruby/**
|
||||||
|
- samples/client/petstore/ruby-faraday/**
|
||||||
|
- samples/client/petstore/ruby-httpx/**
|
||||||
|
- samples/client/petstore/ruby-autoload/**
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- samples/client/petstore/ruby/**
|
||||||
|
- samples/client/petstore/ruby-faraday/**
|
||||||
|
- samples/client/petstore/ruby-httpx/**
|
||||||
|
- samples/client/petstore/ruby-autoload/**
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build Ruby
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
sample:
|
||||||
|
- samples/client/petstore/ruby/
|
||||||
|
- samples/client/petstore/ruby-faraday/
|
||||||
|
- samples/client/petstore/ruby-httpx/
|
||||||
|
- samples/client/petstore/ruby-autoload/
|
||||||
|
services:
|
||||||
|
petstore-api:
|
||||||
|
image: swaggerapi/petstore
|
||||||
|
ports:
|
||||||
|
- 80:8080
|
||||||
|
env:
|
||||||
|
SWAGGER_HOST: http://petstore.swagger.io
|
||||||
|
SWAGGER_BASE_PATH: /v2
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Add hosts to /etc/hosts
|
||||||
|
run: |
|
||||||
|
sudo echo "127.0.0.1 petstore.swagger.io" | sudo tee -a /etc/hosts
|
||||||
|
cat /etc/hosts
|
||||||
|
sleep 30
|
||||||
|
- 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
|
38
.github/workflows/samples-scala-jdk8.yaml
vendored
38
.github/workflows/samples-scala-jdk8.yaml
vendored
@ -1,38 +0,0 @@
|
|||||||
name: Samples Scala/sbt (JDK8)
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- 'samples/server/petstore/scala-finch/**'
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- 'samples/server/petstore/scala-finch/**'
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
name: Build scala-finch servers
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
fail-fast: false
|
|
||||||
matrix:
|
|
||||||
sample:
|
|
||||||
# servers
|
|
||||||
- samples/server/petstore/scala-finch # cannot be tested with jdk11
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- uses: actions/setup-java@v4
|
|
||||||
with:
|
|
||||||
distribution: 'temurin'
|
|
||||||
java-version: 8
|
|
||||||
- name: Setup sbt launcher
|
|
||||||
uses: sbt/setup-sbt@v1
|
|
||||||
- name: Cache maven dependencies
|
|
||||||
uses: actions/cache@v4
|
|
||||||
env:
|
|
||||||
cache-name: maven-repository
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.ivy2
|
|
||||||
key: ${{ runner.os }}-${{ github.job }}-${{ env.cache-name }}-${{ hashFiles('**/build.sbt') }}
|
|
||||||
- name: Build and test
|
|
||||||
working-directory: ${{ matrix.sample }}
|
|
||||||
run: sbt -v +test
|
|
8
.github/workflows/samples-scala.yaml
vendored
8
.github/workflows/samples-scala.yaml
vendored
@ -20,18 +20,18 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
sample:
|
sample:
|
||||||
# clients
|
# clients
|
||||||
- samples/client/petstore/java/okhttp-gson
|
- 'samples/client/petstore/java/okhttp-gson'
|
||||||
- samples/client/petstore/scalaz
|
- samples/client/petstore/scalaz
|
||||||
- samples/client/petstore/scala-pekko
|
- samples/client/petstore/scala-pekko
|
||||||
- samples/client/petstore/scala-http4s
|
- samples/client/petstore/scala-http4s
|
||||||
#- samples/client/petstore/scala-sttp
|
#- samples/client/petstore/scala-sttp # won't pass while the same tests in circleci pass
|
||||||
#- samples/client/petstore/scala-sttp-circe
|
|
||||||
# servers
|
# servers
|
||||||
- samples/server/petstore/scala-lagom-server
|
- samples/server/petstore/scala-lagom-server
|
||||||
- samples/server/petstore/scala-play-server
|
- samples/server/petstore/scala-play-server
|
||||||
- samples/server/petstore/scala-akka-http-server
|
- samples/server/petstore/scala-akka-http-server
|
||||||
- samples/server/petstore/scala-pekko-http-server
|
- samples/server/petstore/scala-pekko-http-server
|
||||||
- samples/server/petstore/scalatra
|
- samples/server/petstore/scalatra
|
||||||
|
- samples/server/petstore/scala-finch # cannot be tested with jdk11
|
||||||
- samples/server/petstore/scala-http4s-server
|
- samples/server/petstore/scala-http4s-server
|
||||||
- samples/server/petstore/scala-cask
|
- samples/server/petstore/scala-cask
|
||||||
steps:
|
steps:
|
||||||
@ -39,7 +39,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: Setup sbt launcher
|
- name: Setup sbt launcher
|
||||||
uses: sbt/setup-sbt@v1
|
uses: sbt/setup-sbt@v1
|
||||||
- name: Cache maven dependencies
|
- name: Cache maven dependencies
|
||||||
|
6
.github/workflows/samples-spring-jdk17.yaml
vendored
6
.github/workflows/samples-spring-jdk17.yaml
vendored
@ -5,20 +5,16 @@ on:
|
|||||||
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/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/springboot-api-response-examples
|
|
||||||
- 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
|
- samples/server/petstore/springboot-file-delegate-optional
|
||||||
- samples/server/petstore/springboot-petstore-with-api-response-examples
|
|
||||||
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/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/springboot-api-response-examples
|
|
||||||
- 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
|
- samples/server/petstore/springboot-file-delegate-optional
|
||||||
- samples/server/petstore/springboot-petstore-with-api-response-examples
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build Java Spring (JDK17)
|
name: Build Java Spring (JDK17)
|
||||||
@ -31,11 +27,9 @@ jobs:
|
|||||||
- 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/openapi3/server/petstore/springboot-3
|
||||||
- samples/server/petstore/springboot-api-response-examples
|
|
||||||
- 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
|
- samples/server/petstore/springboot-file-delegate-optional
|
||||||
- samples/server/petstore/springboot-petstore-with-api-response-examples
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
|
1
.github/workflows/samples-spring.yaml
vendored
1
.github/workflows/samples-spring.yaml
vendored
@ -45,7 +45,6 @@ jobs:
|
|||||||
- samples/server/petstore/spring-boot-defaultInterface-unhandledException
|
- samples/server/petstore/spring-boot-defaultInterface-unhandledException
|
||||||
- samples/server/petstore/springboot
|
- samples/server/petstore/springboot
|
||||||
- samples/server/petstore/springboot-beanvalidation
|
- samples/server/petstore/springboot-beanvalidation
|
||||||
- samples/server/petstore/springboot-builtin-validation
|
|
||||||
- samples/server/petstore/springboot-delegate
|
- samples/server/petstore/springboot-delegate
|
||||||
- samples/server/petstore/springboot-delegate-no-response-entity
|
- samples/server/petstore/springboot-delegate-no-response-entity
|
||||||
- samples/server/petstore/springboot-implicitHeaders
|
- samples/server/petstore/springboot-implicitHeaders
|
||||||
|
12
.travis.yml
12
.travis.yml
@ -37,12 +37,12 @@ services:
|
|||||||
|
|
||||||
# comment out the host table change to use the public petstore server
|
# comment out the host table change to use the public petstore server
|
||||||
addons:
|
addons:
|
||||||
#apt:
|
apt:
|
||||||
# sources:
|
sources:
|
||||||
# - ubuntu-toolchain-r-test
|
- ubuntu-toolchain-r-test
|
||||||
# packages:
|
packages:
|
||||||
# - g++-5
|
- g++-5
|
||||||
#chrome: stable
|
chrome: stable
|
||||||
hosts:
|
hosts:
|
||||||
- petstore.swagger.io
|
- petstore.swagger.io
|
||||||
|
|
||||||
|
@ -122,7 +122,6 @@ else
|
|||||||
|
|
||||||
(cd samples/client/petstore/scala-akka && mvn integration-test)
|
(cd samples/client/petstore/scala-akka && mvn integration-test)
|
||||||
(cd samples/client/petstore/scala-sttp && mvn integration-test)
|
(cd samples/client/petstore/scala-sttp && mvn integration-test)
|
||||||
(cd samples/client/petstore/scala-sttp-circe && mvn integration-test)
|
|
||||||
(cd samples/client/petstore/scala-sttp4 && mvn integration-test)
|
(cd samples/client/petstore/scala-sttp4 && mvn integration-test)
|
||||||
(cd samples/client/petstore/clojure && mvn integration-test)
|
(cd samples/client/petstore/clojure && mvn integration-test)
|
||||||
(cd samples/client/petstore/java/jersey2-java8 && mvn integration-test)
|
(cd samples/client/petstore/java/jersey2-java8 && mvn integration-test)
|
||||||
|
26
README.md
26
README.md
@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
|
|
||||||
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.14.0`):
|
[Master](https://github.com/OpenAPITools/openapi-generator/tree/master) (`7.12.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)
|
||||||
@ -73,8 +73,6 @@ If you find OpenAPI Generator useful for work, please consider asking your compa
|
|||||||
[<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)
|
[<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)
|
||||||
[<img src="https://openapi-generator.tech/img/companies/route4me.png" width="128" height="128">](https://route4me.com/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
[<img src="https://openapi-generator.tech/img/companies/route4me.png" width="128" height="128">](https://route4me.com/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
||||||
[<img src="https://openapi-generator.tech/img/companies/dm.png" width="128" height="128">](https://www.dotcom-monitor.com/sponsoring-open-source-projects/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
[<img src="https://openapi-generator.tech/img/companies/dm.png" width="128" height="128">](https://www.dotcom-monitor.com/sponsoring-open-source-projects/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
||||||
[<img src="https://openapi-generator.tech/img/companies/clickit.jpg" width="128" height="128">](https://www.clickittech.com/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
|
||||||
[<img src="https://openapi-generator.tech/img/companies/unified_to.jpg" width="128" height="128">](https://unified.to/?utm_source=openapi-generator&utm_medium=sponsorship&utm_campaign=oss-sponsorship)
|
|
||||||
|
|
||||||
#### 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
|
||||||
|
|
||||||
@ -132,8 +130,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.14.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/7.14.0-SNAPSHOT/) | 29.05.2025 | Minor release with breaking changes (with fallback) |
|
| 7.12.0 (upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-generator-cli/7.12.0-SNAPSHOT/) | 17.02.2024 | Minor release with breaking changes (with fallback) |
|
||||||
| [7.13.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.13.0) (latest stable release) | 27.04.2025 | Minor release with breaking changes (with fallback) |
|
| [7.11.0](https://github.com/OpenAPITools/openapi-generator/releases/tag/v7.11.0) (latest stable release) | 20.01.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) |
|
||||||
@ -196,16 +194,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.13.0/openapi-generator-cli-7.13.0.jar`
|
JAR location: `https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.11.0/openapi-generator-cli-7.11.0.jar`
|
||||||
|
|
||||||
For **Mac/Linux** users:
|
For **Mac/Linux** users:
|
||||||
```sh
|
```sh
|
||||||
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.13.0/openapi-generator-cli-7.13.0.jar -O openapi-generator-cli.jar
|
wget https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.11.0/openapi-generator-cli-7.11.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.13.0/openapi-generator-cli-7.13.0.jar
|
Invoke-WebRequest -OutFile openapi-generator-cli.jar https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.11.0/openapi-generator-cli-7.11.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.
|
||||||
@ -440,7 +438,7 @@ openapi-generator-cli version
|
|||||||
To use a specific version of "openapi-generator-cli"
|
To use a specific version of "openapi-generator-cli"
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
openapi-generator-cli version-manager set 7.13.0
|
openapi-generator-cli version-manager set 7.11.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Or install it as dev-dependency:
|
Or install it as dev-dependency:
|
||||||
@ -464,7 +462,7 @@ pip install openapi-generator-cli
|
|||||||
|
|
||||||
To install a specific version
|
To install a specific version
|
||||||
```
|
```
|
||||||
pip install openapi-generator-cli==7.13.0
|
pip install openapi-generator-cli==7.11.0
|
||||||
```
|
```
|
||||||
|
|
||||||
You can also install with [jdk4py](https://github.com/activeviam/jdk4py) instead of java binary. (python>=3.10 is required)
|
You can also install with [jdk4py](https://github.com/activeviam/jdk4py) instead of java binary. (python>=3.10 is required)
|
||||||
@ -490,7 +488,7 @@ java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar generat
|
|||||||
(if you're on Windows, replace the last command with `java -jar modules\openapi-generator-cli\target\openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g php -o c:\temp\php_api_client`)
|
(if you're on Windows, replace the last command with `java -jar modules\openapi-generator-cli\target\openapi-generator-cli.jar generate -i https://raw.githubusercontent.com/openapitools/openapi-generator/master/modules/openapi-generator/src/test/resources/3_0/petstore.yaml -g php -o c:\temp\php_api_client`)
|
||||||
|
|
||||||
<!-- RELEASE_VERSION -->
|
<!-- RELEASE_VERSION -->
|
||||||
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.13.0/openapi-generator-cli-7.13.0.jar)
|
You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/org/openapitools/openapi-generator-cli/7.11.0/openapi-generator-cli-7.11.0.jar)
|
||||||
<!-- /RELEASE_VERSION -->
|
<!-- /RELEASE_VERSION -->
|
||||||
|
|
||||||
To get a list of **general** options available, please run `java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help generate`
|
To get a list of **general** options available, please run `java -jar modules/openapi-generator-cli/target/openapi-generator-cli.jar help generate`
|
||||||
@ -632,7 +630,6 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
|||||||
- [act coding](https://github.com/actcoding)
|
- [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/)
|
||||||
- [adorsys GmbH & Co.KG](https://adorsys.com/)
|
|
||||||
- [Adyen](https://www.adyen.com/)
|
- [Adyen](https://www.adyen.com/)
|
||||||
- [Agoda](https://www.agoda.com/)
|
- [Agoda](https://www.agoda.com/)
|
||||||
- [Airthings](https://www.airthings.com/)
|
- [Airthings](https://www.airthings.com/)
|
||||||
@ -974,8 +971,6 @@ Here are some companies/projects (alphabetical order) using OpenAPI Generator in
|
|||||||
- 2024-04-04 - [Working with OpenAPI using Rust](https://www.shuttle.dev/blog/2024/04/04/using-openapi-rust) by [Joshua Mo](https://twitter.com/joshmo_dev)
|
- 2024-04-04 - [Working with OpenAPI using Rust](https://www.shuttle.dev/blog/2024/04/04/using-openapi-rust) by [Joshua Mo](https://twitter.com/joshmo_dev)
|
||||||
- 2024-04-08 - [Implement API first strategy with OpenAPI generator plugin](https://medium.com/javarevisited/implement-api-first-strategy-with-openapi-generator-plugin-e4bbe7f0d778) by [Rui Zhou](https://medium.com/@wirelesser)
|
- 2024-04-08 - [Implement API first strategy with OpenAPI generator plugin](https://medium.com/javarevisited/implement-api-first-strategy-with-openapi-generator-plugin-e4bbe7f0d778) by [Rui Zhou](https://medium.com/@wirelesser)
|
||||||
- 2024-05-06 - [OpenAPI Generator Custom Templates](https://www.javacodegeeks.com/openapi-generator-custom-templates.html) by [Mary Zheng](https://www.javacodegeeks.com/author/mary-zheng)
|
- 2024-05-06 - [OpenAPI Generator Custom Templates](https://www.javacodegeeks.com/openapi-generator-custom-templates.html) by [Mary Zheng](https://www.javacodegeeks.com/author/mary-zheng)
|
||||||
- 2025-02-09 - [Custom validation with OpenApiGenerator and Spring Boot 3](https://medium.com/@jugurtha.aitoufella/custom-validation-with-openapigenerator-and-spring-boot-3-34a656e815c8) by [Jugurtha Aitoufella](https://medium.com/@jugurtha.aitoufella)
|
|
||||||
- 2025-02-20 - [Optimizing API Integration in a Large React Application Using OpenAPI Generator](https://www.youtube.com/watch?v=-B33pQnGQUI) by Stefano Marzo
|
|
||||||
|
|
||||||
|
|
||||||
## [6 - About Us](#table-of-contents)
|
## [6 - About Us](#table-of-contents)
|
||||||
@ -1140,12 +1135,10 @@ 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 Misk: @andrewwilsonnew @guiarn
|
|
||||||
* Kotlin WireMock: @stefankoppier
|
* Kotlin WireMock: @stefankoppier
|
||||||
* NodeJS Express: @YishTish
|
* NodeJS Express: @YishTish
|
||||||
* PHP Flight: @daniel-sc
|
* PHP Flight: @daniel-sc
|
||||||
* PHP Laravel: @renepardon
|
* PHP Laravel: @renepardon
|
||||||
* PHP Laravel (refactor in 7.12.0): @gijs-blanken
|
|
||||||
* PHP Lumen: @abcsun
|
* PHP Lumen: @abcsun
|
||||||
* PHP Mezzio (with Path Handler): @Articus
|
* PHP Mezzio (with Path Handler): @Articus
|
||||||
* PHP Slim: @jfastnacht
|
* PHP Slim: @jfastnacht
|
||||||
@ -1156,7 +1149,6 @@ Here is a list of template creators:
|
|||||||
* Python AIOHTTP:
|
* Python AIOHTTP:
|
||||||
* Ruby on Rails 5: @zlx
|
* Ruby on Rails 5: @zlx
|
||||||
* Rust (rust-server): @metaswitch
|
* Rust (rust-server): @metaswitch
|
||||||
* Rust (rust-axum): @linxGnu
|
|
||||||
* Scala Akka: @Bouillie
|
* Scala Akka: @Bouillie
|
||||||
* Scala Cask: @aaronp
|
* Scala Cask: @aaronp
|
||||||
* Scala Finch: @jimschubert [:heart:](https://www.patreon.com/jimschubert)
|
* Scala Finch: @jimschubert [:heart:](https://www.patreon.com/jimschubert)
|
||||||
|
@ -43,9 +43,6 @@ build_script:
|
|||||||
#- dotnet build samples\client\petstore\csharp\OpenAPIClient-ConditionalSerialization\Org.OpenAPITools.sln
|
#- dotnet build samples\client\petstore\csharp\OpenAPIClient-ConditionalSerialization\Org.OpenAPITools.sln
|
||||||
|
|
||||||
test_script:
|
test_script:
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\latest\Tags\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\latest\HelloWorld\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
|
||||||
|
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\net9\AllOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\generichost\net9\AllOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\net9\AnyOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\generichost\net9\AnyOf\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
- dotnet test samples\client\petstore\csharp\generichost\net9\AnyOfNoCompare\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
- dotnet test samples\client\petstore\csharp\generichost\net9\AnyOfNoCompare\src\Org.OpenAPITools.Test\Org.OpenAPITools.Test.csproj
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
# for csharp generichost
|
|
||||||
generatorName: csharp
|
|
||||||
outputDir: samples/client/petstore/csharp/generichost/latest/HelloWorld
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_1/csharp/hello-world.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
|
||||||
modelPropertySorting: alphabetical
|
|
||||||
operationParameterSorting: alphabetical
|
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.7/AllOf
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/AllOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.7/AnyOf
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/AnyOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/AnyOfNoCompare
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.7/FormModels
|
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
|
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
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.7/OneOf
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/OneOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
|
outputDir: samples/client/petstore/csharp/generichost/net4.7/UseDateTimeForDate
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.7/Petstore
|
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
|
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
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.8/AllOf
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/AllOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.8/AnyOf
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/AnyOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/AnyOfNoCompare
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.8/FormModels
|
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
|
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
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.8/OneOf
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/OneOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
|
outputDir: samples/client/petstore/csharp/generichost/net4.8/UseDateTimeForDate
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net4.8/Petstore
|
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
|
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
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/AllOf
|
outputDir: samples/client/petstore/csharp/generichost/net8/AllOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/AnyOf
|
outputDir: samples/client/petstore/csharp/generichost/net8/AnyOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare
|
outputDir: samples/client/petstore/csharp/generichost/net8/AnyOfNoCompare
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/FormModels
|
outputDir: samples/client/petstore/csharp/generichost/net8/FormModels
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/SourceGeneration
|
outputDir: samples/client/petstore/csharp/generichost/net8/SourceGeneration
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
|
outputDir: samples/client/petstore/csharp/generichost/net8/NullReferenceTypes
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/OneOf
|
outputDir: samples/client/petstore/csharp/generichost/net8/OneOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
outputDir: samples/client/petstore/csharp/generichost/net8/UseDateTimeForDate
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net8/Petstore
|
outputDir: samples/client/petstore/csharp/generichost/net8/Petstore
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/AllOf
|
outputDir: samples/client/petstore/csharp/generichost/net9/AllOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/allOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/AnyOf
|
outputDir: samples/client/petstore/csharp/generichost/net9/AnyOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/AnyOfNoCompare
|
outputDir: samples/client/petstore/csharp/generichost/net9/AnyOfNoCompare
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/anyOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/FormModels
|
outputDir: samples/client/petstore/csharp/generichost/net9/FormModels
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/SourceGeneration
|
outputDir: samples/client/petstore/csharp/generichost/net9/SourceGeneration
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/NullReferenceTypes
|
outputDir: samples/client/petstore/csharp/generichost/net9/NullReferenceTypes
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/OneOf
|
outputDir: samples/client/petstore/csharp/generichost/net9/OneOf
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/oneOf.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/UseDateTimeForDate
|
outputDir: samples/client/petstore/csharp/generichost/net9/UseDateTimeForDate
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
packageGuid: '{2E60EF87-DB0B-4D01-A36E-F5E90F7EC757}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/net9/Petstore
|
outputDir: samples/client/petstore/csharp/generichost/net9/Petstore
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/standard2.0/Petstore
|
outputDir: samples/client/petstore/csharp/generichost/standard2.0/Petstore
|
||||||
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
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
outputDir: samples/client/petstore/csharp/generichost/latest/Tags
|
outputDir: samples/client/petstore/csharp/generichost/latest/Tags
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/tags.json
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/tags.json
|
||||||
|
library: generichost
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
packageGuid: '{321C8C3F-0156-40C1-AE42-D59761FB9B6C}'
|
@ -1,5 +1,4 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks
|
outputDir: samples/client/petstore/csharp/restsharp/net4.7/MultipleFrameworks
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net4.7/Petstore
|
outputDir: samples/client/petstore/csharp/restsharp/net4.7/Petstore
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net4.8/Petstore
|
outputDir: samples/client/petstore/csharp/restsharp/net4.8/Petstore
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net8/Petstore
|
outputDir: samples/client/petstore/csharp/restsharp/net8/Petstore
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature.yaml
|
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
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/echo_api/csharp/restsharp/net8/EchoApi
|
outputDir: samples/client/echo_api/csharp/restsharp/net8/EchoApi
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net8/ParameterMappings
|
outputDir: samples/client/petstore/csharp/restsharp/net8/ParameterMappings
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/name-parameter-mappings.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/name-parameter-mappings.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate
|
outputDir: samples/client/petstore/csharp/restsharp/net8/UseDateTimeForDate
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/dates-api.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net8/EnumMappings
|
outputDir: samples/client/petstore/csharp/restsharp/net8/EnumMappings
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net9/EnumMappings
|
outputDir: samples/client/petstore/csharp/restsharp/net9/EnumMappings
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/others/csharp-complex-files
|
outputDir: samples/client/others/csharp-complex-files
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/form-multipart-binary-array.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/form-multipart-binary-array.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization
|
outputDir: samples/client/petstore/csharp/restsharp/standard2.0/ConditionalSerialization
|
||||||
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
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
# for .net standard
|
# for .net standard
|
||||||
generatorName: csharp
|
generatorName: csharp
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/standard2.0/Petstore
|
outputDir: samples/client/petstore/csharp/restsharp/standard2.0/Petstore
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/csharp/petstore-with-fake-endpoints-models-for-testing-with-http-signature-oneof-primitive-types.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
templateDir: modules/openapi-generator/src/main/resources/csharp
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
# for .net standard
|
|
||||||
generatorName: csharp
|
|
||||||
library: restsharp
|
|
||||||
outputDir: samples/client/petstore/csharp/restsharp/net8/useVirtualForHooks
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-addpet-only.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/csharp
|
|
||||||
additionalProperties:
|
|
||||||
packageGuid: '{D0A67E81-4061-48EB-B4B8-C73BDF8B2D95}'
|
|
||||||
targetFramework: net8.0
|
|
||||||
useVirtualForHooks: true
|
|
@ -1,6 +0,0 @@
|
|||||||
generatorName: go
|
|
||||||
outputDir: samples/client/others/go/oneof-discriminator-lookup
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/go/spec-with-oneof-discriminator.yaml
|
|
||||||
additionalProperties:
|
|
||||||
useOneOfDiscriminatorLookup: "true"
|
|
||||||
hideGenerationTimestamp: "true"
|
|
@ -1,9 +0,0 @@
|
|||||||
generatorName: java
|
|
||||||
outputDir: samples/client/petstore/java/feign-hc5
|
|
||||||
library: feign-hc5
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/Java
|
|
||||||
additionalProperties:
|
|
||||||
booleanGetterPrefix: is
|
|
||||||
artifactId: petstore-feign-hc5
|
|
||||||
hideGenerationTimestamp: "true"
|
|
@ -1,9 +0,0 @@
|
|||||||
generatorName: java
|
|
||||||
outputDir: samples/client/petstore/java/restclient-useSingleRequestParameter-static
|
|
||||||
library: restclient
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/Java
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: singleparam-restclient-static
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
useSingleRequestParameter: static
|
|
@ -1,10 +0,0 @@
|
|||||||
generatorName: java
|
|
||||||
outputDir: samples/client/petstore/java/vertx-supportVertxFuture
|
|
||||||
library: vertx
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/Java
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: petstore-vertx-supportvertxfuture
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
dateLibrary: java8
|
|
||||||
supportVertxFuture: "true"
|
|
@ -1,11 +0,0 @@
|
|||||||
generatorName: kotlin-misk
|
|
||||||
outputDir: samples/server/petstore/kotlin-misk-config
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-misk
|
|
||||||
validateSpec: false
|
|
||||||
additionalProperties:
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
moduleClassName: "PetStoreModule"
|
|
||||||
generateStubImplClasses: true
|
|
||||||
addModelMoshiJsonAnnotation: true
|
|
||||||
actionPathPrefix : "samplePrefix"
|
|
@ -1,7 +0,0 @@
|
|||||||
generatorName: kotlin-misk
|
|
||||||
outputDir: samples/server/petstore/kotlin-misk
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-misk
|
|
||||||
additionalProperties:
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
moduleClassName: "PetStoreModule"
|
|
@ -1,11 +0,0 @@
|
|||||||
generatorName: rust-axum
|
|
||||||
outputDir: samples/server/petstore/rust-axum/output/rust-axum-array-params-test
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/rust/rust-axum-array-params-test.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/rust-axum
|
|
||||||
generateAliasAsModel: true
|
|
||||||
additionalProperties:
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
packageName: rust-axum-array-params-test
|
|
||||||
globalProperties:
|
|
||||||
skipFormModel: false
|
|
||||||
enablePostProcessFile: true
|
|
@ -1,6 +1,6 @@
|
|||||||
generatorName: nim
|
generatorName: nim
|
||||||
outputDir: samples/client/petstore/nim
|
outputDir: samples/client/petstore/nim
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/nim/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/nim-client
|
templateDir: modules/openapi-generator/src/main/resources/nim-client
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageName: petstore
|
packageName: petstore
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
generatorName: protobuf-schema
|
|
||||||
outputDir: samples/config/petstore/protobuf-schema-config-complex
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/protobuf/petstore-complex.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/protobuf-schema
|
|
||||||
additionalProperties:
|
|
||||||
packageName: petstore
|
|
||||||
addJsonNameAnnotation: true
|
|
||||||
numberedFieldNumberList: true
|
|
||||||
startEnumsWithUnspecified: true
|
|
@ -1,25 +0,0 @@
|
|||||||
generatorName: protobuf-schema
|
|
||||||
outputDir: samples/config/petstore/protobuf-schema-config
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/protobuf-schema
|
|
||||||
additionalProperties:
|
|
||||||
packageName: petstore
|
|
||||||
addJsonNameAnnotation: true
|
|
||||||
numberedFieldNumberList: true
|
|
||||||
startEnumsWithUnspecified: true
|
|
||||||
wrapComplexType: false
|
|
||||||
supportMultipleResponses: false
|
|
||||||
aggregateModelsName: data
|
|
||||||
customOptionsApi: |
|
|
||||||
option java_multiple_files = true;
|
|
||||||
option java_package = "com.example.tutorial.protos.api";
|
|
||||||
option java_outer_classname = "ExampleProtos";
|
|
||||||
customOptionsModel: |
|
|
||||||
option java_multiple_files = false;
|
|
||||||
option java_package = "com.example.tutorial.protos.model";
|
|
||||||
option java_outer_classname = "ExampleProtos";
|
|
||||||
useSimplifiedEnumNames: true
|
|
||||||
typeMappings:
|
|
||||||
object: "google.protobuf.Struct"
|
|
||||||
importMappings:
|
|
||||||
google.protobuf.Struct: "google/protobuf/struct"
|
|
@ -4,7 +4,3 @@ inputSpec: modules/openapi-generator/src/test/resources/3_0/protobuf/petstore.ya
|
|||||||
templateDir: modules/openapi-generator/src/main/resources/protobuf-schema
|
templateDir: modules/openapi-generator/src/main/resources/protobuf-schema
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
packageName: petstore
|
packageName: petstore
|
||||||
typeMappings:
|
|
||||||
object: "google.protobuf.Struct"
|
|
||||||
importMappings:
|
|
||||||
google.protobuf.Struct: "google/protobuf/struct"
|
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
generatorName: scala-sttp
|
|
||||||
outputDir: samples/client/petstore/scala-sttp-circe
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/scala/petstore.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/scala-sttp
|
|
||||||
nameMappings:
|
|
||||||
_type: "`underscoreType`"
|
|
||||||
type_: "`typeWithUnderscore`"
|
|
||||||
http_debug_operation: "`httpDebugOperation`"
|
|
||||||
parameterNameMappings:
|
|
||||||
_type: underscoreType
|
|
||||||
type_: typeWithUnderscore
|
|
||||||
http_debug_operation: httpDebugOperation
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: scala-sttp-petstore
|
|
||||||
jsonLibrary: circe
|
|
@ -1,13 +0,0 @@
|
|||||||
generatorName: spring
|
|
||||||
outputDir: samples/server/petstore/springboot-api-response-examples
|
|
||||||
library: spring-boot
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/spring/api-response-examples_issue17610.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: springboot-api-response-examples
|
|
||||||
documentationProvider: springdoc
|
|
||||||
useSpringBoot3: true
|
|
||||||
java8: true
|
|
||||||
delegatePattern: true
|
|
||||||
useBeanValidation: true
|
|
||||||
hideGenerationTimestamp: "true"
|
|
@ -1,13 +0,0 @@
|
|||||||
generatorName: spring
|
|
||||||
outputDir: samples/server/petstore/springboot-builtin-validation
|
|
||||||
library: spring-boot
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/spring/petstore-with-fake-endpoints-models-for-testing.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring
|
|
||||||
additionalProperties:
|
|
||||||
documentationProvider: springfox
|
|
||||||
useSwaggerUI: false
|
|
||||||
java8: true
|
|
||||||
useBeanValidation: true
|
|
||||||
useSpringBuiltInValidation: true
|
|
||||||
artifactId: spring-boot-builtin-validation
|
|
||||||
hideGenerationTimestamp: "true"
|
|
@ -1,13 +0,0 @@
|
|||||||
generatorName: spring
|
|
||||||
outputDir: samples/server/petstore/springboot-petstore-with-api-response-examples
|
|
||||||
library: spring-boot
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/spring/petstore_with_api_response_examples.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/JavaSpring
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: springboot-petstore-with-api-response-examples
|
|
||||||
documentationProvider: springdoc
|
|
||||||
useSpringBoot3: true
|
|
||||||
java8: true
|
|
||||||
delegatePattern: true
|
|
||||||
useBeanValidation: true
|
|
||||||
hideGenerationTimestamp: "true"
|
|
@ -12,4 +12,3 @@ additionalProperties:
|
|||||||
useSwaggerUI: "false"
|
useSwaggerUI: "false"
|
||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
documentationProvider: none
|
documentationProvider: none
|
||||||
#optionalAcceptNullable: "false" # default to true
|
|
||||||
|
@ -2,7 +2,6 @@ generatorName: typescript-axios
|
|||||||
outputDir: samples/client/echo_api/typescript-axios/build
|
outputDir: samples/client/echo_api/typescript-axios/build
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/typescript-axios
|
templateDir: modules/openapi-generator/src/main/resources/typescript-axios
|
||||||
httpUserAgent: EchoApi/1.0.0
|
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
artifactId: echo-api-typescript-axios
|
artifactId: echo-api-typescript-axios
|
||||||
hideGenerationTimestamp: "true"
|
hideGenerationTimestamp: "true"
|
||||||
|
@ -1,10 +0,0 @@
|
|||||||
generatorName: typescript
|
|
||||||
outputDir: samples/client/echo_api/typescript/build
|
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/echo_api.yaml
|
|
||||||
templateDir: modules/openapi-generator/src/main/resources/typescript
|
|
||||||
additionalProperties:
|
|
||||||
artifactId: echo-api-typescript
|
|
||||||
hideGenerationTimestamp: "true"
|
|
||||||
platform: node
|
|
||||||
npmVersion: 1.0.0
|
|
||||||
npmName: '@openapitools/typescript-echo-api'
|
|
@ -1,7 +1,7 @@
|
|||||||
generatorName: kotlin
|
generatorName: kotlin
|
||||||
outputDir: samples/client/petstore/kotlin-jvm-retrofit2-coroutines
|
outputDir: samples/openapi3/client/petstore/kotlin-jvm-retrofit2-coroutines
|
||||||
library: jvm-retrofit2
|
library: jvm-retrofit2
|
||||||
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore.yaml
|
inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
|
||||||
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
templateDir: modules/openapi-generator/src/main/resources/kotlin-client
|
||||||
additionalProperties:
|
additionalProperties:
|
||||||
serializationLibrary: gson
|
serializationLibrary: gson
|
||||||
@ -9,4 +9,3 @@ additionalProperties:
|
|||||||
artifactId: kotlin-petstore-coroutines-client
|
artifactId: kotlin-petstore-coroutines-client
|
||||||
serializableModel: "true"
|
serializableModel: "true"
|
||||||
dateLibrary: java8
|
dateLibrary: java8
|
||||||
useResponseAsReturnType: false
|
|
@ -10,7 +10,7 @@
|
|||||||
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java"
|
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/ClientTest.java"
|
||||||
sha256: 325fdd5d7e2c97790c0fb44f712ab7b2ba022d7e1a5b0056f47b07f342682b6d
|
sha256: 325fdd5d7e2c97790c0fb44f712ab7b2ba022d7e1a5b0056f47b07f342682b6d
|
||||||
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/JSONTest.java"
|
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/JSONTest.java"
|
||||||
sha256: 67941355a0a27ed9ff9318b1caa103e78b81b9aff61b594b18be5cd2bb9f6591
|
sha256: e673d9928c8eb848262d0116fe0d28db832e128671a810a7c966d06d90cb9b63
|
||||||
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||||
sha256: 8b1b8f2a2ad00ccb090873a94a5f73e328b98317d2ec715f53bd7a1accb2a023
|
sha256: 8b1b8f2a2ad00ccb090873a94a5f73e328b98317d2ec715f53bd7a1accb2a023
|
||||||
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetTest.java"
|
- filename: "samples/client/petstore/java/okhttp-gson/src/test/java/org/openapitools/client/model/PetTest.java"
|
||||||
@ -25,8 +25,6 @@
|
|||||||
sha256: 04715cabbe9bd27ff98dd56e3db489ebc9ffbf98d9af104a6707b0a40ab4f8fe
|
sha256: 04715cabbe9bd27ff98dd56e3db489ebc9ffbf98d9af104a6707b0a40ab4f8fe
|
||||||
- filename: "samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/AuthApiTest.java"
|
- filename: "samples/client/echo_api/java/resttemplate/src/test/java/org/openapitools/client/api/AuthApiTest.java"
|
||||||
sha256: 38193bbad7f3eef087bc1474352e484178b14a2b8c0e0ba0cd4e4960516a14f9
|
sha256: 38193bbad7f3eef087bc1474352e484178b14a2b8c0e0ba0cd4e4960516a14f9
|
||||||
- filename: "samples/client/petstore/java/resttemplate/src/test/java/org/openapitools/client/JacksonTest.java"
|
|
||||||
sha256: 90e511a75178f26c8b73a6c77d16d7f134c51f959e8c72191bbe935b08436b22
|
|
||||||
- filename: "samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
- filename: "samples/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||||
sha256: 24c6a39a9d7327d397dc038c368a19c84f14ed96a69fe28d53719b3eaf0a725c
|
sha256: 24c6a39a9d7327d397dc038c368a19c84f14ed96a69fe28d53719b3eaf0a725c
|
||||||
- filename: "samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
- filename: "samples/client/petstore/java/jersey3/src/test/java/org/openapitools/client/api/PetApiTest.java"
|
||||||
@ -51,12 +49,6 @@
|
|||||||
sha256: 67a9e63e13ebddac21cb236aa015edce30f5d3bd8d6adcf50044cad00d48c45e
|
sha256: 67a9e63e13ebddac21cb236aa015edce30f5d3bd8d6adcf50044cad00d48c45e
|
||||||
- filename: "samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ZebraTest.java"
|
- filename: "samples/openapi3/client/petstore/java/jersey2-java8/src/test/java/org/openapitools/client/model/ZebraTest.java"
|
||||||
sha256: 15eeb6d8a9a79d0f1930b861540d9c5780d6c49ea4fdb68269ac3e7ec481e142
|
sha256: 15eeb6d8a9a79d0f1930b861540d9c5780d6c49ea4fdb68269ac3e7ec481e142
|
||||||
- filename: "samples/client/petstore/java/webclient/src/test/java/org/openapitools/client/JacksonTest.java"
|
|
||||||
sha256: 45cdaba3d2adc212cd4f0184ad475419a95e2326254c2ef84175e210c922b2f3
|
|
||||||
- filename: "samples/client/petstore/java/feign/src/test/java/org/openapitools/client/JacksonTest.java"
|
|
||||||
sha256: 45cdaba3d2adc212cd4f0184ad475419a95e2326254c2ef84175e210c922b2f3
|
|
||||||
- filename: "samples/client/petstore/java/restclient/src/test/java/org/openapitools/client/JacksonTest.java"
|
|
||||||
sha256: 45cdaba3d2adc212cd4f0184ad475419a95e2326254c2ef84175e210c922b2f3
|
|
||||||
# rust axum test files
|
# rust axum test files
|
||||||
- filename: "samples/server/petstore/rust-axum/output/rust-axum-oneof/tests/oneof_with_discriminator.rs"
|
- filename: "samples/server/petstore/rust-axum/output/rust-axum-oneof/tests/oneof_with_discriminator.rs"
|
||||||
sha256: 2d4f5a069fdcb3057bb078d5e75b3de63cd477b97725e457079df24bd2c30600
|
sha256: 2d4f5a069fdcb3057bb078d5e75b3de63cd477b97725e457079df24bd2c30600
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user