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 |
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.DateTime |
File | java.io.File |
HashMap | java.util.HashMap |
ListBuffer | scala.collection.mutable.ListBuffer |
ListSet | scala.collection.immutable.ListSet |
LocalDate | org.joda.time.LocalDate |
LocalDateTime | org.joda.time.LocalDateTime |
LocalTime | org.joda.time.LocalTime |
Map | java.util.Map |
Set | scala.collection.immutable.Set |
Timestamp | java.sql.Timestamp |
URI | java.net.URI |
UUID | java.util.UUID |
INSTANTIATION TYPES
Type/Alias | Instantiated By |
map | HashMap |
set | Set |
LANGUAGE PRIMITIVES
- Any
- Array
- Boolean
- Double
- Float
- Int
- List
- Long
- Map
- Object
- Seq
- String
- boolean
RESERVED WORDS
- abstract
- assert
- boolean
- break
- byte
- case
- catch
- char
- class
- const
- continue
- default
- do
- double
- else
- enum
- extends
- final
- finally
- float
- for
- goto
- if
- implements
- import
- instanceof
- int
- interface
- long
- native
- new
- package
- private
- protected
- public
- return
- short
- static
- strictfp
- super
- switch
- synchronized
- this
- throw
- throws
- transient
- try
- type
- void
- volatile
- while
Last updated on 1/20/2020