update petstore samples

This commit is contained in:
William Cheng 2018-09-13 22:51:16 +08:00
parent 94eb1c3c63
commit c9625f3fd5
14 changed files with 68 additions and 8 deletions

View File

@ -13,6 +13,9 @@ CONFIG OPTIONS for aspnetcore
sourceFolder sourceFolder
source folder for generated code (Default: src) source folder for generated code (Default: src)
aspnetCoreVersion
ASP.NET Core version: 2.1 (default), 2.0 (deprecated) (Default: 2.1)
sortParamsByRequiredFlag sortParamsByRequiredFlag
Sort method arguments to place required parameters before optional parameters. (Default: true) Sort method arguments to place required parameters before optional parameters. (Default: true)

View File

@ -17,7 +17,7 @@ CONFIG OPTIONS for clojure
name of the project (Default: generated from info.title or "openapi-clj-client") name of the project (Default: generated from info.title or "openapi-clj-client")
projectDescription projectDescription
description of the project (Default: using info.description or "Client library of <projectNname>") description of the project (Default: using info.description or "Client library of <projectName>")
projectVersion projectVersion
version of the project (Default: using info.version or "1.0.0") version of the project (Default: using info.version or "1.0.0")

View File

@ -4,4 +4,7 @@ CONFIG OPTIONS for cpp-pistache-server
addExternalLibs addExternalLibs
Add the Possibility to fetch and compile external Libraries needed by this Framework. (Default: true) Add the Possibility to fetch and compile external Libraries needed by this Framework. (Default: true)
helpersPackage
Specify the package name to be used for the helpers (e.g. org.openapitools.server.helpers). (Default: org.openapitools.server.helpers)
Back to the [generators list](README.md) Back to the [generators list](README.md)

View File

@ -0,0 +1,37 @@
CONFIG OPTIONS for dart-jaguar
sortParamsByRequiredFlag
Sort method arguments to place required parameters before optional parameters. (Default: true)
ensureUniqueParams
Whether to ensure parameter names are unique in an operation (rename parameters that are not). (Default: true)
allowUnicodeIdentifiers
boolean, toggles whether unicode identifiers are allowed in names or not, default is false (Default: false)
prependFormOrBodyParameters
Add form or body parameters to the beginning of the parameter list. (Default: false)
browserClient
Is the client browser based
pubName
Name in generated pubspec
pubVersion
Version in generated pubspec
pubDescription
Description in generated pubspec
useEnumExtension
Allow the 'x-enum-values' extension for enums
sourceFolder
source folder for generated code
supportDart2
support dart2 (Default: true)
Back to the [generators list](README.md)

View File

@ -31,4 +31,7 @@ CONFIG OPTIONS for dart
sourceFolder sourceFolder
source folder for generated code source folder for generated code
supportDart2
support dart2 (Default: true)
Back to the [generators list](README.md) Back to the [generators list](README.md)

View File

@ -1,4 +1,9 @@
CONFIG OPTIONS for elm CONFIG OPTIONS for elm
elmVersion
Elm version: 0.18, 0.19 (Default: 0.19)
0.19 - Elm 0.19
0.18 - Elm 0.18
Back to the [generators list](README.md) Back to the [generators list](README.md)

View File

@ -117,7 +117,7 @@ CONFIG OPTIONS for java
Use Play! Async HTTP client (Play WS API) (Default: false) Use Play! Async HTTP client (Play WS API) (Default: false)
playVersion playVersion
Version of Play! Framework (possible values "play24", "play25") Version of Play! Framework (possible values "play24", "play25" (default), "play26")
supportJava6 supportJava6
Whether to support Java6 with the Jersey1 library. (Default: false) Whether to support Java6 with the Jersey1 library. (Default: false)
@ -134,10 +134,13 @@ CONFIG OPTIONS for java
useRuntimeException useRuntimeException
Use RuntimeException instead of Exception (Default: false) Use RuntimeException instead of Exception (Default: false)
feignVersion
Version of OpenFeign: '10.x', '9.x' (default) (Default: false)
library library
library template (sub-template) to use (Default: okhttp-gson) library template (sub-template) to use (Default: okhttp-gson)
jersey1 - HTTP client: Jersey client 1.19.4. JSON processing: Jackson 2.8.9. Enable Java6 support using '-DsupportJava6=true'. Enable gzip request encoding using '-DuseGzipFeature=true'. jersey1 - HTTP client: Jersey client 1.19.4. JSON processing: Jackson 2.8.9. Enable Java6 support using '-DsupportJava6=true'. Enable gzip request encoding using '-DuseGzipFeature=true'.
feign - HTTP client: OpenFeign 9.4.0. JSON processing: Jackson 2.8.9. Enable OpenFeign 10.0.1 using '-DuseFeign10=true'. feign - HTTP client: OpenFeign 9.4.0. JSON processing: Jackson 2.8.9. To enable OpenFeign 10.x, set the 'feignVersion' option to '10.x'
jersey2 - HTTP client: Jersey client 2.25.1. JSON processing: Jackson 2.8.9 jersey2 - HTTP client: Jersey client 2.25.1. JSON processing: Jackson 2.8.9
okhttp-gson - HTTP client: OkHttp 2.7.5. JSON processing: Gson 2.8.1. Enable Parcelable models on Android using '-DparcelableModel=true'. Enable gzip request encoding using '-DuseGzipFeature=true'. okhttp-gson - HTTP client: OkHttp 2.7.5. JSON processing: Gson 2.8.1. Enable Parcelable models on Android using '-DparcelableModel=true'. Enable gzip request encoding using '-DuseGzipFeature=true'.
retrofit - HTTP client: OkHttp 2.7.5. JSON processing: Gson 2.3.1 (Retrofit 1.9.0). IMPORTANT NOTE: retrofit1.x is no longer actively maintained so please upgrade to 'retrofit2' instead. retrofit - HTTP client: OkHttp 2.7.5. JSON processing: Gson 2.3.1 (Retrofit 1.9.0). IMPORTANT NOTE: retrofit1.x is no longer actively maintained so please upgrade to 'retrofit2' instead.

View File

@ -23,7 +23,7 @@ CONFIG OPTIONS for kotlin-spring
server title name or client service name (Default: OpenAPI Kotlin Spring) server title name or client service name (Default: OpenAPI Kotlin Spring)
basePackage basePackage
base package for generated code (Default: org.openapitools) base package (invokerPackage) for generated code (Default: org.openapitools)
serverPort serverPort
configuration the port in which the sever is to run on (Default: 8080) configuration the port in which the sever is to run on (Default: 8080)

View File

@ -134,6 +134,9 @@ CONFIG OPTIONS for spring
responseWrapper responseWrapper
wrap the responses in given type (Future,Callable,CompletableFuture,ListenableFuture,DeferredResult,HystrixCommand,RxObservable,RxSingle or fully qualified type) wrap the responses in given type (Future,Callable,CompletableFuture,ListenableFuture,DeferredResult,HystrixCommand,RxObservable,RxSingle or fully qualified type)
virtualService
Generates the virtual service. For more details refer - https://github.com/elan-venture/virtualan/wiki (Default: false)
useTags useTags
use tags for creating interface and controller classnames (Default: false) use tags for creating interface and controller classnames (Default: false)

View File

@ -55,4 +55,7 @@ CONFIG OPTIONS for typescript-angular
modelFileSuffix modelFileSuffix
The suffix of the file of the generated model (model<suffix>.ts). Default is ''. The suffix of the file of the generated model (model<suffix>.ts). Default is ''.
fileNaming
Naming convention for the output files: 'camelCase', 'kebab-case'. Default is 'camelCase'.
Back to the [generators list](README.md) Back to the [generators list](README.md)

View File

@ -1 +1 @@
3.3.0-SNAPSHOT 4.0.0-SNAPSHOT

View File

@ -1 +1 @@
3.3.0-SNAPSHOT 4.0.0-SNAPSHOT

View File

@ -116,7 +116,7 @@
</dependencies> </dependencies>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<openapi-generator-version>3.3.0-SNAPSHOT</openapi-generator-version> <openapi-generator-version>4.0.0-SNAPSHOT</openapi-generator-version>
<maven-plugin-version>1.0.0</maven-plugin-version> <maven-plugin-version>1.0.0</maven-plugin-version>
<junit-version>4.8.1</junit-version> <junit-version>4.8.1</junit-version>
</properties> </properties>

View File

@ -1 +1 @@
3.3.0-SNAPSHOT 4.0.0-SNAPSHOT