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