fix: python clients (#136)

* fix: python client

* fix: regenerate petstore samples for python-asyncio/tornado

* fix: python-asyncio tests

* fix: python-tornado tests

* chore: update python samples

* fix: enable tests for python-tornado

* fix: discriminator property

* fix: file type

* python: regenerate samples

* fix: define file as generic type
This commit is contained in:
Tomasz Prus
2018-04-21 05:54:40 +02:00
committed by William Cheng
parent fdeca629bb
commit d74d2ba031
69 changed files with 1562 additions and 1276 deletions

View File

@@ -81,6 +81,8 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig
languageSpecificPrimitives.add("datetime");
languageSpecificPrimitives.add("date");
languageSpecificPrimitives.add("object");
// TODO file and binary is mapped as `file`
languageSpecificPrimitives.add("file");
typeMapping.clear();
typeMapping.put("integer", "int");