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