| Option | Description | Values | Default |
| allowUnicodeIdentifiers | boolean, toggles whether unicode identifiers are allowed in names or not, default is false | | false |
| controllerPackage | controller package | | controllers |
| defaultController | default controller | | default_controller |
| ensureUniqueParams | Whether to ensure parameter names are unique in an operation (rename parameters that are not). | | true |
| packageName | python package name (convention: snake_case). | | openapi_server |
| packageVersion | python package version. | | 1.0.0 |
| prependFormOrBodyParameters | Add form or body parameters to the beginning of the parameter list. | | false |
| serverPort | TCP port to listen to in app.run | | 8080 |
| sortModelPropertiesByRequiredFlag | Sort model properties to place required parameters before optional parameters. | | true |
| sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | | true |
| supportPython2 | support python2 | | false |
| useNose | use the nose test framework | | false |
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 |
| List | java.util.* |
| LocalDate | org.joda.time.* |
| LocalDateTime | org.joda.time.* |
| LocalTime | org.joda.time.* |
| Map | java.util.Map |
| Set | java.util.* |
| Timestamp | java.sql.Timestamp |
| URI | java.net.URI |
| UUID | java.util.UUID |
INSTANTIATION TYPES
| Type/Alias | Instantiated By |
LANGUAGE PRIMITIVES
- Dict
- List
- bool
- byte
- bytearray
- date
- datetime
- file
- float
- int
- object
- str
RESERVED WORDS
- and
- as
- assert
- break
- class
- continue
- def
- del
- elif
- else
- except
- exec
- false
- finally
- for
- from
- global
- if
- import
- in
- is
- lambda
- none
- nonlocal
- not
- or
- pass
- print
- property
- raise
- return
- self
- true
- try
- while
- with
- yield
Last updated on 1/21/2020