swagger-py-codegen icon indicating copy to clipboard operation
swagger-py-codegen copied to clipboard

a Python web framework generator supports Flask, Tornado, Falcon, Sanic

Results 23 swagger-py-codegen issues
Sort by recently updated
recently updated
newest added

what should i do if i want use 0.0.0.0:5000 to visit the html instead of 127.0.0.1:5000?

post: tags: - pet summary: uploads an image operationId: uploadFile parameters: - name: petId in: path description: ID of pet to update required: true schema: type: integer format: int64 requestBody:...

1. fix post json error using request body: json data is bytes, not string, cause validation failed. 2. support ref in request body: ``` post: summary: Creates a new user....

in Python 3.8 to iterate a dict you need .items()

Getting error when running __init__.py `ImportError: attempted relative import with no known parent package` It seems generated imports are broken

I get a unkown probleme. : Traceback (most recent call last): File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/__init__.py", line 8, in import v1 File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/v1/__init__.py", line 6, in from .routes import routes File "/Users/yangbin/Desktop/swagger-py-codegen/example-app/demo/v1/routes.py", line...

needed these changes to work with latest falcon its this or this project needs to start version freezing in requirements.tpl

falcon=3.0.0.dev1 ``` resp.body = f.read() UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte ```

Hello, tried to convert this: https://jdegre.github.io/5GC_APIs/editor/?url=https://raw.githubusercontent.com/jdegre/5GC_APIs/master/TS29122_NIDD.yaml `swagger_py_codegen --swagger-doc openapi.yaml appdir2 No handlers could be found for logger "jsonspec.pointer.bases" Traceback (most recent call last): File "/home/ubuntu/.local/bin/swagger_py_codegen", line 11, in sys.exit(generate()) File...

```yaml /applications: post: parameters: - $ref: '#/parameters/source_in_query' responses: "201": schema: $ref: '#/definitions/Application' ``` 当query里没有值时, source取出来为None的问题