mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 18:45:23 +00:00
644f720db8
* [config-help] Sort all outputs
* Remove old/stale generator docs (these have been renamed previously)
* Sort config doc outputs, making it easier to find relevant info
* Fixes cliOptions duplicates
Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).
The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.
* Add --github-nested-index for generating docs/generators/README.md
* 📝 Regenerate generator docs
2.2 KiB
2.2 KiB
title | sidebar_label |
---|---|
Config Options for python | python |
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
Type/Alias | Imports |
---|
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
- property
- query_params
- raise
- resource_path
- return
- self
- true
- try
- while
- with
- yield