2018-12-28 16:53:24 -05:00

1.1 KiB


id: generator-opts-client-kotlin title: Config Options for kotlin sidebar_label: kotlin

Option Description Values Default
sourceFolder source folder for generated code src/main/kotlin
packageName Generated artifact package name. org.openapitools
groupId Generated artifact package's organization (i.e. maven groupId). org.openapitools
artifactId Generated artifact id (name of jar). null
artifactVersion Generated artifact's package version. 1.0.0
enumPropertyNaming Naming convention for enum properties: 'camelCase', 'PascalCase', 'snake_case', 'UPPERCASE', and 'original' camelCase
parcelizeModels toggle "@Parcelize" for generated models null
dateLibrary Option. Date library to use
string
String
java8
Java 8 native JSR310
threetenbp
Threetenbp
null
collectionType Option. Collection type to use
array
kotlin.Array
list
kotlin.collections.List
null