forked from loafle/openapi-generator-original
[CLI] Initial implementation for batch generation (#3789)
* [CLI] Initial implementation for batch generation Allows for generating multiple outputs via config. Just specify multiple config files on command line. Intent for this is to reduce CI times to generate outputs as well as to reduce time for users to run ensure-up-to-date to meet PR standards. Example command: openapi-generator batch --includes-base-dir `pwd` --fail-fast -- bin/ci/* --- As part of this implementation, the batch command support a customized JSON key, `!include`. If this key's value refers to an existing file, that file's contents are "unwrapped" into the config during deserialization. This allows us to easily point to the same configs used by our sample scripts without modifying the CLI generate task's switches or assumptions. * Allow for path-relative outputs * Add batch JSON objects * Include INFO log about threads used and includes/root * Ensure GlobalSettings.reset() * Improved thread-safety of ModelUtils
This commit is contained in:
parent
081383c886
commit
54d7e8c488
6
bin/ci/apex-petstore.json
Normal file
6
bin/ci/apex-petstore.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "apex",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/apex",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/apex"
|
||||||
|
}
|
11
bin/ci/csharp-netcore-petstore-1.json
Normal file
11
bin/ci/csharp-netcore-petstore-1.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "csharp-netcore",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/csharp-netcore/OpenAPIClientCore",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/csharp-netcore/",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageGuid": "{321C8C3F-0156-40C1-AE42-D59761FB9B6C}",
|
||||||
|
"useCompareNetObjects": true,
|
||||||
|
"targetFramework": "netcoreapp2.0"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/csharp-netcore-petstore.json
Normal file
10
bin/ci/csharp-netcore-petstore.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "csharp-netcore",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/csharp-netcore/OpenAPIClient",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/csharp-netcore/",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageGuid": "{321C8C3F-0156-40C1-AE42-D59761FB9B6C}",
|
||||||
|
"useCompareNetObjects": true
|
||||||
|
}
|
||||||
|
}
|
8
bin/ci/csharp-petstore.json
Normal file
8
bin/ci/csharp-petstore.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "csharp",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/csharp/OpenAPIClient",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageGuid": "{321C8C3F-0156-40C1-AE42-D59761FB9B6C}"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/dart-flutter-petstore.json
Normal file
11
bin/ci/dart-flutter-petstore.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart/flutter_petstore/openapi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"browserClient": false,
|
||||||
|
"supportDart2": false
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/dart-jaguar-petstore-1.json
Normal file
10
bin/ci/dart-jaguar-petstore-1.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart-jaguar",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart-jaguar/flutter_petstore/openapi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart-jaguar",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"pubName": "openapi"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/dart-jaguar-petstore-2.json
Normal file
11
bin/ci/dart-jaguar-petstore-2.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart-jaguar",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart-jaguar/flutter_proto_petstore/openapi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart-jaguar",
|
||||||
|
"additionalProperties": {
|
||||||
|
"serialization": "proto",
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"pubName": "openapi"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/dart-jaguar-petstore-3.json
Normal file
11
bin/ci/dart-jaguar-petstore-3.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart-jaguar",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-proto.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart-jaguar/openapi_proto",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart-jaguar",
|
||||||
|
"additionalProperties": {
|
||||||
|
"serialization": "proto",
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"pubName": "openapi"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/dart-jaguar-petstore.json
Normal file
10
bin/ci/dart-jaguar-petstore.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart-jaguar",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart-jaguar/openapi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart-jaguar",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"pubName": "openapi"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/dart-petstore-flutter.json
Normal file
11
bin/ci/dart-petstore-flutter.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart/flutter_petstore/openapi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"browserClient": false,
|
||||||
|
"supportDart2": false
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/dart-petstore-openapi-browser-client.json
Normal file
11
bin/ci/dart-petstore-openapi-browser-client.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart/openapi-browser-client",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"browserClient": true,
|
||||||
|
"supportDart2": false
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/dart-petstore.json
Normal file
11
bin/ci/dart-petstore.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart/openapi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"browserClient": false,
|
||||||
|
"supportDart2": false
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/dart2-petstore.json
Normal file
9
bin/ci/dart2-petstore.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "dart",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/dart2/openapi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/dart2",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/elixir-petstore.json
Normal file
9
bin/ci/elixir-petstore.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "elixir",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/elixir/",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/elixir",
|
||||||
|
"additionalProperties": {
|
||||||
|
"invokerPackage": "OpenapiPetstore"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/go-gin-petstore-server.json
Normal file
10
bin/ci/go-gin-petstore-server.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "go-gin-server",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/go-gin-api-server",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/go-gin-server",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstoreserver",
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/go-petstore-withxml.json
Normal file
11
bin/ci/go-petstore-withxml.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "go",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/go/go-petstore-withXml",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/go",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstore",
|
||||||
|
"withXml": true,
|
||||||
|
"withGoCodegenComment": true
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/go-petstore.json
Normal file
9
bin/ci/go-petstore.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "go",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/go/go-petstore",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/go",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstore"
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/groovy-petstore.json
Normal file
9
bin/ci/groovy-petstore.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "groovy",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/groovy",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Groovy/",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
6
bin/ci/haskell-http-client-petstore.json
Normal file
6
bin/ci/haskell-http-client-petstore.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "haskell-http-client",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/haskell-http-client",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/haskell-http-client"
|
||||||
|
}
|
11
bin/ci/java-feign.json
Normal file
11
bin/ci/java-feign.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-feign-9x.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/feign",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/feign",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"booleanGetterPrefix": "is"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-feign10x.json
Normal file
11
bin/ci/java-feign10x.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-feign-10x.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/feign10x",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/feign",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"booleanGetterPrefix": "is"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-google-api-client.json
Normal file
10
bin/ci/java-google-api-client.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-google-api-client.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/google-api-client",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/google-api-client",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
12
bin/ci/java-jaxrs-cxf-annotated-base-path.json
Normal file
12
bin/ci/java-jaxrs-cxf-annotated-base-path.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "cxf-annotated-basepath",
|
||||||
|
"generatorName": "jaxrs-cxf",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-cxf-annotated-base-path",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/cxf",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"useAnnotatedBasePath": true,
|
||||||
|
"serverPort": "8082"
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-jaxrs-cxf-cdi.json
Normal file
9
bin/ci/java-jaxrs-cxf-cdi.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "jaxrs-cxf-cdi",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-cxf-cdi",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-cdi",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
12
bin/ci/java-jaxrs-cxf-non-spring-app.json
Normal file
12
bin/ci/java-jaxrs-cxf-non-spring-app.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "cxf-server-non-spring",
|
||||||
|
"generatorName": "jaxrs-cxf",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-cxf-non-spring-app",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/cxf",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"generateNonSpringApplication": true,
|
||||||
|
"serverPort": "8082"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-jaxrs-cxf.json
Normal file
10
bin/ci/java-jaxrs-cxf.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "jaxrs-cxf",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-cxf",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/cxf",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serverPort": "8082"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jaxrs-datelib-j8.json
Normal file
11
bin/ci/java-jaxrs-datelib-j8.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "./bin/jaxrs-datelib-j8.json",
|
||||||
|
"generatorName": "jaxrs-jersey",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-datelib-j8/",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serverPort": "8082"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-jaxrs-jersey.json
Normal file
10
bin/ci/java-jaxrs-jersey.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "openapiv3-jaxrs-jersey-petstore-server",
|
||||||
|
"generatorName": "jaxrs-jersey",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-jersey",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
13
bin/ci/java-jaxrs-jersey1-useTags.json
Normal file
13
bin/ci/java-jaxrs-jersey1-useTags.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "jaxrs-jersey1-useTags",
|
||||||
|
"generatorName": "jaxrs-jersey",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"library": "jersey1",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs/jersey1-useTags",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serverPort": "8082",
|
||||||
|
"useTags": true
|
||||||
|
}
|
||||||
|
}
|
12
bin/ci/java-jaxrs-jersey1.json
Normal file
12
bin/ci/java-jaxrs-jersey1.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "jaxrs-jersey1-server",
|
||||||
|
"generatorName": "jaxrs-jersey",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"library": "jersey1",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs/jersey1",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serverPort": "8082"
|
||||||
|
}
|
||||||
|
}
|
12
bin/ci/java-jaxrs-jersey2-useTags.json
Normal file
12
bin/ci/java-jaxrs-jersey2-useTags.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "jaxrs-jersey2-useTags",
|
||||||
|
"generatorName": "jaxrs-jersey",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs/jersey2-useTags",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serverPort": "8082",
|
||||||
|
"useTags": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jaxrs-jersey2.json
Normal file
11
bin/ci/java-jaxrs-jersey2.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "jaxrs-jersey-petstore-server",
|
||||||
|
"generatorName": "jaxrs-jersey",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs/jersey2",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serverPort": "8082"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jaxrs-resteasy-eap-java8-server.json
Normal file
11
bin/ci/java-jaxrs-resteasy-eap-java8-server.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "./bin/jaxrs-resteasy-eap-java8-petstore-server.json",
|
||||||
|
"artifactId": "jaxrs-resteasy-eap-java8-server",
|
||||||
|
"generatorName": "jaxrs-resteasy-eap",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-resteasy/eap-java8",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jaxrs-resteasy-eap-joda-server.json
Normal file
11
bin/ci/java-jaxrs-resteasy-eap-joda-server.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "./bin/jaxrs-resteasy-eap-joda-petstore-server.json",
|
||||||
|
"artifactId": "jaxrs-resteasy-eap-joda-server",
|
||||||
|
"generatorName": "jaxrs-resteasy-eap",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-resteasy/eap-joda",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-jaxrs-resteasy-eap.json
Normal file
9
bin/ci/java-jaxrs-resteasy-eap.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "jaxrs-resteasy-eap",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-resteasy/eap",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/eap",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jaxrs-resteasy-joda-server.json
Normal file
11
bin/ci/java-jaxrs-resteasy-joda-server.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "./bin/jaxrs-resteasy-joda-petstore-server.json",
|
||||||
|
"artifactId": "jaxrs-resteasy-joda-server",
|
||||||
|
"generatorName": "jaxrs-resteasy",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-resteasy/joda",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-jaxrs-resteasy.json
Normal file
9
bin/ci/java-jaxrs-resteasy.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "jaxrs-resteasy",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-resteasy/default",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jaxrs-spec-interface.json
Normal file
11
bin/ci/java-jaxrs-spec-interface.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "jaxrs-spec-interface-petstore-server",
|
||||||
|
"generatorName": "jaxrs-spec",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-spec-interface",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serializableModel": true,
|
||||||
|
"interfaceOnly": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-jaxrs-spec.json
Normal file
10
bin/ci/java-jaxrs-spec.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "jaxrs-spec-petstore-server",
|
||||||
|
"generatorName": "jaxrs-spec",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-spec",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serializableModel": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jersey1.json
Normal file
11
bin/ci/java-jersey1.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "petstore-java-client-jersey1",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"library": "jersey1",
|
||||||
|
"outputDir": "samples/client/petstore/java/jersey1",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
12
bin/ci/java-jersey2-java6.json
Normal file
12
bin/ci/java-jersey2-java6.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-jersey2.json",
|
||||||
|
"artifactId": "petstore-jersey2-java6",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/jersey2-java6",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"supportJava6": true,
|
||||||
|
"booleanGetterPrefix": "is"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-jersey2-java8.json
Normal file
11
bin/ci/java-jersey2-java8.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java8-petstore-jersey2.json",
|
||||||
|
"artifactId": "petstore-jersey2-java8",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/jersey2-java8",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serverPort": "8082"
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-jersey2.json
Normal file
9
bin/ci/java-jersey2.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-jersey2.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/jersey2",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-msf4j-petstore-server.json
Normal file
10
bin/ci/java-msf4j-petstore-server.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-msf4j",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-msf4j/",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/java-msf4j-server",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"artifactId": "java-msf4j-server"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-native.json
Normal file
10
bin/ci/java-native.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-native.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/native",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/native",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
12
bin/ci/java-okhttp-gson-parcelableModel.json
Normal file
12
bin/ci/java-okhttp-gson-parcelableModel.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-okhttp-gson.json",
|
||||||
|
"artifactId": "petstore-okhttp-gson-parcelableModel",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/okhttp-gson-parcelableModel",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"parcelableModel": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-okhttp-gson.json
Normal file
10
bin/ci/java-okhttp-gson.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-okhttp-gson.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/okhttp-gson",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/okhttp-gson",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-petstore-feign-10x.json
Normal file
11
bin/ci/java-petstore-feign-10x.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/feign",
|
||||||
|
"outputDir": "samples/client/petstore/java/feign10x",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"booleanGetterPrefix": "is"
|
||||||
|
},
|
||||||
|
"!include": "bin/java-petstore-feign-10x.json"
|
||||||
|
}
|
10
bin/ci/java-play-framework-api-package-override.json
Normal file
10
bin/ci/java-play-framework-api-package-override.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-api-package-override",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"apiPackage": "com.puppies.store.apis"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-play-framework-async.json
Normal file
10
bin/ci/java-play-framework-async.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-play-framework-petstore-server-async.json",
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-async",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-play-framework-controller-only.json
Normal file
10
bin/ci/java-play-framework-controller-only.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-controller-only",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"controllerOnly": true
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-play-framework-fake-endpoints.json
Normal file
9
bin/ci/java-play-framework-fake-endpoints.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-fake-endpoints",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-play-framework-no-bean-validation.json
Normal file
10
bin/ci/java-play-framework-no-bean-validation.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-no-bean-validation",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"useBeanValidation": false
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-play-framework-no-exception-handling.json
Normal file
10
bin/ci/java-play-framework-no-exception-handling.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-no-exception-handling",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"handleExceptions": false
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-play-framework-no-interface.json
Normal file
10
bin/ci/java-play-framework-no-interface.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-no-interface",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"useInterfaces": false
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-play-framework-no-swagger-ui.json
Normal file
10
bin/ci/java-play-framework-no-swagger-ui.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-no-swagger-ui",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"useSwaggerUI": false
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-play-framework-no-wrap-calls.json
Normal file
10
bin/ci/java-play-framework-no-wrap-calls.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework-no-wrap-calls",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"wrapCalls": false
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-play-framework.json
Normal file
9
bin/ci/java-play-framework.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "java-play-framework",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/java-play-framework",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaPlayFramework",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-rest-assured.json
Normal file
11
bin/ci/java-rest-assured.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-rest-assured.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/rest-assured",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/rest-assured",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"booleanGetterPrefix": "is"
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-resteasy.json
Normal file
9
bin/ci/java-resteasy.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-resteasy.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/resteasy",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-resttemplate-withXml.json
Normal file
11
bin/ci/java-resttemplate-withXml.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-resttemplate.json",
|
||||||
|
"artifactId": "petstore-resttemplate-withxml",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/resttemplate-withXml",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"withXml": true
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-resttemplate.json
Normal file
9
bin/ci/java-resttemplate.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-resttemplate.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/resttemplate",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-retrofit.json
Normal file
10
bin/ci/java-retrofit.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-retrofit.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/retrofit",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"dateLibrary": "joda"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-retrofit2-play24.json
Normal file
10
bin/ci/java-retrofit2-play24.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-retrofit2-play24.json",
|
||||||
|
"artifactId": "petstore-java-client-retrofit2-play24",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/retrofit2-play24",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-retrofit2-play25.json
Normal file
10
bin/ci/java-retrofit2-play25.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-retrofit2-play25.json",
|
||||||
|
"artifactId": "petstore-java-client-retrofit2-play25",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/retrofit2-play25",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-retrofit2-play26.json
Normal file
10
bin/ci/java-retrofit2-play26.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-retrofit2-play26.json",
|
||||||
|
"artifactId": "petstore-java-client-retrofit2-play26",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/retrofit2-play26",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-retrofit2.json
Normal file
10
bin/ci/java-retrofit2.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-retrofit2.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/retrofit2",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/retrofit2",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-retrofit2rx.json
Normal file
11
bin/ci/java-retrofit2rx.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-retrofit2rx.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/retrofit2rx",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/retrofit2",
|
||||||
|
"additionalProperties": {
|
||||||
|
"useRxJava": true,
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/java-retrofit2rx2.json
Normal file
11
bin/ci/java-retrofit2rx2.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-retrofit2rx2.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/retrofit2rx2",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/retrofit2",
|
||||||
|
"additionalProperties": {
|
||||||
|
"useRxJava2": true,
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/java-vertx.json
Normal file
10
bin/ci/java-vertx.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-vertx.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/vertx",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Java/libraries/vertx",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/java-webclient.json
Normal file
9
bin/ci/java-webclient.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/java-petstore-webclient.json",
|
||||||
|
"generatorName": "java",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/java/webclient",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/javascript-petstore-1.json
Normal file
11
bin/ci/javascript-petstore-1.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "javascript",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/javascript-promise",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Javascript",
|
||||||
|
"additionalProperties": {
|
||||||
|
"usePromises": true,
|
||||||
|
"useES6": false,
|
||||||
|
"appName": "PetstoreClient"
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/javascript-petstore-2.json
Normal file
9
bin/ci/javascript-petstore-2.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "javascript",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/javascript-es6",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Javascript/es6",
|
||||||
|
"additionalProperties": {
|
||||||
|
"appName": "PetstoreClient"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/javascript-petstore-3.json
Normal file
11
bin/ci/javascript-petstore-3.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "javascript",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/javascript-promise-es6",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Javascript/es6",
|
||||||
|
"additionalProperties": {
|
||||||
|
"appName": "PetstoreClient",
|
||||||
|
"usePromises": true,
|
||||||
|
"useES6": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/javascript-petstore.json
Normal file
10
bin/ci/javascript-petstore.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "javascript",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/javascript",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/Javascript",
|
||||||
|
"additionalProperties": {
|
||||||
|
"appName": "PetstoreClient",
|
||||||
|
"useES6": false
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/kotlin-client-petstore-multiplatform.json
Normal file
11
bin/ci/kotlin-client-petstore-multiplatform.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "kotlin-client-petstore-multiplatform",
|
||||||
|
"generatorName": "kotlin",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/kotlin-multiplatform",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-client",
|
||||||
|
"library": "multiplatform",
|
||||||
|
"additionalProperties": {
|
||||||
|
"dateLibrary": "java8"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/kotlin-client-petstore.json
Normal file
11
bin/ci/kotlin-client-petstore.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "kotlin-petstore-client",
|
||||||
|
"generatorName": "kotlin",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/kotlin",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-client",
|
||||||
|
"additionalProperties": {
|
||||||
|
"dateLibrary": "java8",
|
||||||
|
"serializableModel": "true"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/kotlin-client-string.json
Normal file
11
bin/ci/kotlin-client-string.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "kotlin-petstore-string",
|
||||||
|
"generatorName": "kotlin",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/kotlin-string",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-client",
|
||||||
|
"additionalProperties": {
|
||||||
|
"dateLibrary": "string",
|
||||||
|
"serializableModel": "true"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/kotlin-client-threetenbp.json
Normal file
10
bin/ci/kotlin-client-threetenbp.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "kotlin-petstore-threetenbp",
|
||||||
|
"generatorName": "kotlin",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/kotlin-threetenbp",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-client",
|
||||||
|
"additionalProperties": {
|
||||||
|
"dateLibrary": "threetenbp"
|
||||||
|
}
|
||||||
|
}
|
11
bin/ci/kotlin-server-petstore.json
Normal file
11
bin/ci/kotlin-server-petstore.json
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "kotlin-server",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"library": "ktor",
|
||||||
|
"outputDir": "samples/server/petstore/kotlin-server/ktor",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-server",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"serializableModel": "true"
|
||||||
|
}
|
||||||
|
}
|
13
bin/ci/kotlin-springboot-petstore-server-reactive.json
Normal file
13
bin/ci/kotlin-springboot-petstore-server-reactive.json
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "kotlin-spring",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/kotlin-springboot-reactive",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-spring",
|
||||||
|
"additionalProperties": {
|
||||||
|
"library": "spring-boot",
|
||||||
|
"beanValidations": true,
|
||||||
|
"swaggerAnnotations": true,
|
||||||
|
"serviceImplementation": true,
|
||||||
|
"reactive": true
|
||||||
|
}
|
||||||
|
}
|
12
bin/ci/kotlin-springboot-petstore-server.json
Normal file
12
bin/ci/kotlin-springboot-petstore-server.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "kotlin-spring",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/kotlin-springboot",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/kotlin-spring",
|
||||||
|
"additionalProperties": {
|
||||||
|
"library": "spring-boot",
|
||||||
|
"beanValidations": true,
|
||||||
|
"swaggerAnnotations": true,
|
||||||
|
"serviceImplementation": true
|
||||||
|
}
|
||||||
|
}
|
6
bin/ci/mysql-schema-petstore.json
Normal file
6
bin/ci/mysql-schema-petstore.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "mysql-schema",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/schema/petstore/mysql",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/mysql-schema"
|
||||||
|
}
|
10
bin/ci/openapi3-jaxrs-jersey-petstore.json
Normal file
10
bin/ci/openapi3-jaxrs-jersey-petstore.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"artifactId": "openapiv3-jaxrs-jersey-petstore-server",
|
||||||
|
"generatorName": "jaxrs-jersey",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/jaxrs-jersey",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/JavaJaxRS/",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
6
bin/ci/openapi3-php-petstore.json
Normal file
6
bin/ci/openapi3-php-petstore.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "php",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/openapi3/client/petstore/php/OpenAPIClient-php",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/php"
|
||||||
|
}
|
9
bin/ci/openapi3-python-petstore.json
Normal file
9
bin/ci/openapi3-python-petstore.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "python",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/openapi3/client/petstore/python/",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/python",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstore_api"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/openapi3-ruby-client-faraday-petstore.json
Normal file
10
bin/ci/openapi3-ruby-client-faraday-petstore.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/openapi3/ruby-petstore-faraday.json",
|
||||||
|
"generatorName": "ruby",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/openapi3/client/petstore/ruby-faraday",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/ruby-client",
|
||||||
|
"additionalProperties": {
|
||||||
|
"skipFormModel": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/openapi3-ruby-client-petstore.json
Normal file
10
bin/ci/openapi3-ruby-client-petstore.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"!include": "bin/ruby-petstore.json",
|
||||||
|
"generatorName": "ruby",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/openapi3/client/petstore/ruby",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/ruby-client",
|
||||||
|
"additionalProperties": {
|
||||||
|
"skipFormModel": true
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/perl-petstore-1.json
Normal file
10
bin/ci/perl-petstore-1.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "perl",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/perl/deep_module_test",
|
||||||
|
"outputDir": "samples/client/petstore/perl/deep_module_test",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true,
|
||||||
|
"moduleName": "Something::Deep"
|
||||||
|
}
|
||||||
|
}
|
8
bin/ci/perl-petstore.json
Normal file
8
bin/ci/perl-petstore.json
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "perl",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/perl",
|
||||||
|
"additionalProperties": {
|
||||||
|
"hideGenerationTimestamp": true
|
||||||
|
}
|
||||||
|
}
|
6
bin/ci/php-lumen-petstore-server.json
Normal file
6
bin/ci/php-lumen-petstore-server.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "php-lumen",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/php-lumen",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/php-lumen"
|
||||||
|
}
|
6
bin/ci/php-petstore.json
Normal file
6
bin/ci/php-petstore.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "php",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/php/OpenAPIClient-php",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/php"
|
||||||
|
}
|
6
bin/ci/php-silex-petstore-server.json
Normal file
6
bin/ci/php-silex-petstore-server.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "php-silex",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/php-silex/OpenAPIServer",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/php-silex"
|
||||||
|
}
|
6
bin/ci/php-slim-server-petstore.json
Normal file
6
bin/ci/php-slim-server-petstore.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "php-slim",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/php-slim",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/php-slim-server"
|
||||||
|
}
|
6
bin/ci/php-symfony-petstore.json
Normal file
6
bin/ci/php-symfony-petstore.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "php-symfony",
|
||||||
|
"inputSpec": "/Users/jim/projects/openapi-generator/bin/../modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "/Users/jim/projects/openapi-generator/bin/../samples/server/petstore/php-symfony/SymfonyBundle-php",
|
||||||
|
"templateDir": "/Users/jim/projects/openapi-generator/bin/../modules/openapi-generator/src/main/resources/php-symfony"
|
||||||
|
}
|
6
bin/ci/php-ze-ph-petstore-server.json
Normal file
6
bin/ci/php-ze-ph-petstore-server.json
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "php-ze-ph",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/server/petstore/php-ze-ph",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/php-ze-ph"
|
||||||
|
}
|
9
bin/ci/python-petstore-1.json
Normal file
9
bin/ci/python-petstore-1.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "python",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/python",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/python",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstore_api"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/python-petstore-2.json
Normal file
10
bin/ci/python-petstore-2.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "python",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"library": "tornado",
|
||||||
|
"outputDir": "samples/client/petstore/python-tornado",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/python",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstore_api"
|
||||||
|
}
|
||||||
|
}
|
10
bin/ci/python-petstore.json
Normal file
10
bin/ci/python-petstore.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "python",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore-with-fake-endpoints-models-for-testing.yaml",
|
||||||
|
"library": "asyncio",
|
||||||
|
"outputDir": "samples/client/petstore/python-asyncio",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/python",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstore_api"
|
||||||
|
}
|
||||||
|
}
|
9
bin/ci/r-petstore.json
Normal file
9
bin/ci/r-petstore.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"generatorName": "r",
|
||||||
|
"inputSpec": "modules/openapi-generator/src/test/resources/2_0/petstore.yaml",
|
||||||
|
"outputDir": "samples/client/petstore/R",
|
||||||
|
"templateDir": "modules/openapi-generator/src/main/resources/r",
|
||||||
|
"additionalProperties": {
|
||||||
|
"packageName": "petstore"
|
||||||
|
}
|
||||||
|
}
|
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