forked from loafle/openapi-generator-original
* [kotlin] add OffsetDateTime support * [kotlin] serializer add missing import * [kotlin] update pet projects and fix tests * [kotlin] update docs * [kotlin] update pet projects * [kotlin] update date-time * [kotlin] update pet project * [kotlin] update windows script
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) |
|
toString |