swagger-py-codegen
swagger-py-codegen copied to clipboard
a Python web framework generator supports Flask, Tornado, Falcon, Sanic
change sanic template schemas.tpl to solve "NameError: name 'RefResolver' is not defined"
Hi there:) Looks like a super cool project you got here. With OpenAPI 3 released on used out there in the wild, I was wondering if you are planning to...
Running code generated for falcon framework from the following yaml file [https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml](url) I get an exception for every response that the application tries to send out: ``` [2019-02-14 09:36:04 +0000]...
Trying to generate code for flask with the following yaml file [https://forge.etsi.org/gitlab/mec/gs011-app-enablement-api/blob/master/Mp1.yaml](url) I get this exception: ``` [root@dev-local swagger_test]# swagger_py_codegen --swagger-doc Mp1.yaml -tlp flask mp1_flask generate mp1_flask/mp1_flask/exampleAPI_mp1_v1/schemas.py Traceback (most recent...
I just run: swagger_py_codegen --swagger-doc api.yml example-app
The YAML in question ``` Person: required: - name - children properties: name: type: string children: type: array items: $ref: '#/definitions/Person' ``` I believe my issue is similar to https://github.com/guokr/swagger-py-codegen/issues/62...
Other codegen tools support circular references. See https://github.com/swagger-api/swagger-codegen/issues/728. I this this issue with the following yml: ``` yaml Node: description: Generic node. type: object properties: type: description: Type or label...