openapi-generator/docs/generators/python-experimental.md
Justin Black 3959530465 [Python] Updates python test framework to pytest (#4765)
* Switches python generators to use pytest, useNose CLI option added if to allow nose to be used instead

* Adds ensure-up-to-date changes

* Adds setup.cfg to python clients so we can configure nose when useNose=true

* Adds fix for python-aiohttp testing, adds files missing from ensure-up-to-date
2019-12-22 14:14:04 +08:00

848 B

title sidebar_label
Config Options for python-experimental python-experimental
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