forked from loafle/openapi-generator-original
* Fix for Issue #2205 Because when we have tags on OpenAPI Specification, there can be more than 1 Feign Beans being generated and the title field is share by all the clients. This makes the code to stop working in runtime. Here is a PR which uses the classVarName instead, which follows the standards and should be enough to solve this issue. For more info please refer to: https://github.com/OpenAPITools/openapi-generator/issues/2205 * fix java feign parameter request name (#4883) * update sprign cloud feign sample * [JAVA][SPRING][2195] added missing getter for enum value (#2346) * [2195] added missing getter for enum value * updated samples * re-generate spring samples * Removed @JsonValue from toString and regenerated samples * re-generate spring samples Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com> * update samples * [kotlin][client] make Request date converter toJson as default * [kotlin][client] update windows scripts * [kotlin][client] update docs * [kotlin][client] update scripts * [kotlin][client] update scripts Co-authored-by: Filipe Manuel Couto Pinheiro <filipemcpinheiro@gmail.com> Co-authored-by: William Cheng <wing328hk@gmail.com> Co-authored-by: Lukáš Vasek <bilaak@gmail.com> Co-authored-by: Esteban Gehring <esteban.gehring@gmail.com>
2.8 KiB
2.8 KiB
title | sidebar_label |
---|---|
Config Options for kotlin | kotlin |
Option | Description | Values | Default |
---|---|---|---|
sourceFolder | source folder for generated code | src/main/kotlin | |
packageName | Generated artifact package name. | org.openapitools.client | |
apiSuffix | suffix for api classes | Api | |
groupId | Generated artifact package's organization (i.e. maven groupId). | org.openapitools | |
artifactId | Generated artifact id (name of jar). | kotlin-client | |
artifactVersion | Generated artifact's package version. | 1.0.0 | |
enumPropertyNaming | Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original' | camelCase | |
serializationLibrary | What serialization library to use: 'moshi' (default), or 'gson' | moshi | |
parcelizeModels | toggle "@Parcelize" for generated models | null | |
serializableModel | boolean - toggle "implements Serializable" for generated models | null | |
sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | null | |
sortModelPropertiesByRequiredFlag | Sort model properties to place required parameters before optional parameters. | null | |
modelMutable | Create mutable models | false | |
dateLibrary | Option. Date library to use |
|
java8 |
collectionType | Option. Collection type to use |
|
array |
library | Library template (sub-template) to use |
|
jvm-okhttp4 |
requestDateConverter | JVM-Option. Defines in how to handle date-time objects that are used for a request (as query or parameter) |
|
toJson |