2020-01-08 21:54:05 -05:00

2.8 KiB

title sidebar_label
Config Options for kotlin-vertx kotlin-vertx
Option Description Values Default
sourceFolder source folder for generated code src/main/kotlin
packageName Generated artifact package name. org.openapitools
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). null
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

IMPORT MAPPING

Type/Alias Imports
LocalDateTime java.time.LocalDateTime
LocalTime java.time.LocalTime
UUID java.util.UUID
URI java.net.URI
File java.io.File
Timestamp java.sql.Timestamp
LocalDate java.time.LocalDate
BigDecimal java.math.BigDecimal
Date java.util.Date
DateTime java.time.LocalDateTime

INSTANTIATION TYPES

Type/Alias Instantiated By
array kotlin.arrayOf
list kotlin.arrayOf
map kotlin.mapOf

LANGUAGE PRIMITIVES

  • kotlin.collections.List
  • kotlin.Float
  • kotlin.Double
  • kotlin.String
  • kotlin.Array
  • kotlin.Byte
  • kotlin.collections.Map
  • kotlin.Short
  • kotlin.Boolean
  • kotlin.Long
  • kotlin.Char
  • kotlin.ByteArray
  • kotlin.Int
  • kotlin.collections.Set

RESERVED WORDS

  • for
  • do
  • interface
  • while
  • when
  • continue
  • else
  • typealias
  • class
  • if
  • typeof
  • val
  • package
  • break
  • in
  • var
  • false
  • this
  • is
  • super
  • as
  • null
  • throw
  • true
  • try
  • fun
  • return
  • object