modules/openapi-generator/src
main/java/org/…/codegen/languages
PythonClientCodegen.java +18 -0
test
java/org/openapitools/codegen/python
PythonClientCodegenTest.java +26 -0
resources/3_0
issue_1517.yaml +51 -0
samples/client
petstore
python
.openapi-generator
VERSION +1 -1
docs
FakeApi.md +8 -2
petstore_api/api
fake_api.py +31 -7
python-asyncio
.openapi-generator
VERSION +1 -1
docs
FakeApi.md +8 -2
petstore_api/api
fake_api.py +31 -7
python-tornado
.openapi-generator
VERSION +1 -1
docs
FakeApi.md +8 -2
petstore_api/api
fake_api.py +31 -7
petstore-security-test/python
.openapi-generator
VERSION +1 -1
docs
FakeApi.md +8 -6
petstore_api
api
fake_api.py +31 -32
models
__init__.py +3 -3
model_return.py +9 -8
__init__.py +5 -3
api_client.py +42 -28
configuration.py +6 -17
rest.py +4 -4
README.md +9 -7
git_push.sh +2 -2
setup.py +6 -6
tox.ini +2 -2
+ 18
- 0
@@ -379,6 +379,19 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig
@@ -633,6 +646,11 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig
modules/openapi-generator/src/test/java/org/openapitools/codegen/python/PythonClientCodegenTest.java
+ 26
- 0
@@ -17,6 +17,11 @@
@@ -54,4 +59,25 @@ public class PythonClientCodegenTest {
+ 51
- 0
\ No newline at end of file
@@ -488,7 +488,7 @@ No authorization required
@@ -504,13 +504,16 @@ from pprint import pprint
@@ -519,6 +522,9 @@ except ApiException as e: