forked from loafle/openapi-generator-original
[Python] Adds new client generator, python-experimental (#3244)
* Adds python-experimental generator * Adds python-experimental samples folder which uses its own v2 spec * Adds enusre-up-to-date updates * Removes samples/client/petstore/perl/t/AnotherFakeApiTest.t * Removes comment line from python-experimental generator * Reverts perl docs file * Updates perl sample client * Adds python-experimental to pom.xml * Copies the python test foldeers tests and testfiles into python-experimental * Copies python test folder into python-experimental * Moves python testing from Travis (samples pom.xml profile) to Circlci (samples.circleci pom.xml profile) * Adds python-experimental pom.xml * Adds python-experimental makefile and .sh files * Chenges python-experimental to use gitignored venv rather than .venv which is not ignored when testing * Adds dev-requiremnts.txt and removes .travis.yml from python-experimental so CI tests will pass * Moves python-experimental from CicleCI to Travis to get support for multiple python environments * Updates generator java comment so CI tests will run over again
This commit is contained in:
committed by
William Cheng
parent
78551d0180
commit
109808e60d
17
docs/generators/python-experimental.md
Normal file
17
docs/generators/python-experimental.md
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
---
|
||||
id: generator-opts-client-python-experimental
|
||||
title: Config Options for python-experimental
|
||||
sidebar_label: 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|
|
||||
|library|library template (sub-template) to use: asyncio, tornado, urllib3| |urllib3|
|
||||
Reference in New Issue
Block a user