forked from loafle/openapi-generator-original
* [config-help] Sort all outputs
* Remove old/stale generator docs (these have been renamed previously)
* Sort config doc outputs, making it easier to find relevant info
* Fixes cliOptions duplicates
Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).
The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.
* Add --github-nested-index for generating docs/generators/README.md
* 📝 Regenerate generator docs
2.8 KiB
2.8 KiB
title | sidebar_label |
---|---|
Config Options for kotlin-vertx | kotlin-vertx |
Option | Description | Values | Default |
---|---|---|---|
apiSuffix | suffix for api classes | Api | |
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 | |
groupId | Generated artifact package's organization (i.e. maven groupId). | org.openapitools | |
modelMutable | Create mutable models | false | |
packageName | Generated artifact package name. | org.openapitools | |
parcelizeModels | toggle "@Parcelize" for generated models | null | |
serializableModel | boolean - toggle "implements Serializable" for generated models | null | |
serializationLibrary | What serialization library to use: 'moshi' (default), or 'gson' | moshi | |
sortModelPropertiesByRequiredFlag | Sort model properties to place required parameters before optional parameters. | null | |
sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | null | |
sourceFolder | source folder for generated code | src/main/kotlin |
IMPORT MAPPING
Type/Alias | Imports |
---|---|
BigDecimal | java.math.BigDecimal |
Date | java.util.Date |
DateTime | java.time.LocalDateTime |
File | java.io.File |
LocalDate | java.time.LocalDate |
LocalDateTime | java.time.LocalDateTime |
LocalTime | java.time.LocalTime |
Timestamp | java.sql.Timestamp |
URI | java.net.URI |
UUID | java.util.UUID |
INSTANTIATION TYPES
Type/Alias | Instantiated By |
---|---|
array | kotlin.arrayOf |
list | kotlin.arrayOf |
map | kotlin.mapOf |
LANGUAGE PRIMITIVES
- kotlin.Array
- kotlin.Boolean
- kotlin.Byte
- kotlin.ByteArray
- kotlin.Char
- kotlin.Double
- kotlin.Float
- kotlin.Int
- kotlin.Long
- kotlin.Short
- kotlin.String
- kotlin.collections.List
- kotlin.collections.Map
- kotlin.collections.Set
RESERVED WORDS
- as
- break
- class
- continue
- do
- else
- false
- for
- fun
- if
- in
- interface
- is
- null
- object
- package
- return
- super
- this
- throw
- true
- try
- typealias
- typeof
- val
- var
- when
- while