Option | Description | Values | Default |
allowUnicodeIdentifiers | boolean, toggles whether unicode identifiers are allowed in names or not, default is false | | false |
apiPackage | package for generated api classes | | null |
ensureUniqueParams | Whether to ensure parameter names are unique in an operation (rename parameters that are not). | | true |
modelPackage | package for generated models | | null |
modelPropertyNaming | Naming convention for the property: 'camelCase', 'PascalCase', 'snake_case' and 'original', which keeps the original name | | camelCase |
prependFormOrBodyParameters | Add form or body parameters to the beginning of the parameter list. | | false |
sortModelPropertiesByRequiredFlag | Sort model properties to place required parameters before optional parameters. | | true |
sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | | true |
sourceFolder | source folder for generated code | | null |
IMPORT MAPPING
Type/Alias | Imports |
Array | java.util.List |
ArrayList | java.util.ArrayList |
BigDecimal | java.math.BigDecimal |
Date | java.util.Date |
DateTime | org.joda.time.* |
File | java.io.File |
HashMap | java.util.HashMap |
ListBuffer | scala.collection.mutable.ListBuffer |
ListSet | scala.collection.immutable.ListSet |
LocalDate | org.joda.time.* |
LocalDateTime | org.joda.time.* |
LocalTime | org.joda.time.* |
Seq | scala.collection.immutable.Seq |
Timestamp | java.sql.Timestamp |
URI | java.net.URI |
UUID | java.util.UUID |
INSTANTIATION TYPES
Type/Alias | Instantiated By |
array | ListBuffer |
map | HashMap |
set | Set |
LANGUAGE PRIMITIVES
- Any
- Array
- Boolean
- Double
- Float
- Int
- List
- Long
- Map
- Object
- Seq
- String
- boolean
RESERVED WORDS
- abstract
- apiinvoker
- basepath
- case
- catch
- class
- contenttype
- contenttypes
- def
- do
- else
- extends
- false
- final
- finally
- for
- formparams
- forsome
- headerparams
- if
- implicit
- import
- lazy
- match
- mp
- new
- null
- object
- override
- package
- path
- postbody
- private
- protected
- queryparams
- return
- sealed
- super
- this
- throw
- trait
- true
- try
- type
- val
- var
- while
- with
- yield
Last updated on 1/21/2020