Option | Description | Values | Default |
generateSourceCodeOnly | Specifies that only a library source code is to be generated. | | false |
hideGenerationTimestamp | Hides the generation timestamp when files are generated. | | true |
library | library template (sub-template) to use: asyncio, tornado, urllib3 | | urllib3 |
packageName | python package name (convention: snake_case). | | openapi_client |
packageUrl | python package URL. | | null |
packageVersion | python package version. | | 1.0.0 |
projectName | python project name in setup.py (e.g. petstore-api). | | null |
sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | | true |
useNose | use the nose test framework | | false |
IMPORT MAPPING
INSTANTIATION TYPES
Type/Alias | Instantiated By |
LANGUAGE PRIMITIVES
- bool
- date
- datetime
- dict
- file
- float
- int
- list
- object
- str
RESERVED WORDS
- all_params
- and
- as
- assert
- async
- auth_settings
- await
- body_params
- break
- class
- continue
- def
- del
- elif
- else
- except
- exec
- false
- finally
- for
- form_params
- from
- global
- header_params
- if
- import
- in
- is
- lambda
- local_var_files
- none
- nonlocal
- not
- or
- pass
- path_params
- print
- property
- query_params
- raise
- resource_path
- return
- self
- true
- try
- while
- with
- yield
Last updated on 1/20/2020