flask-restful-swagger icon indicating copy to clipboard operation
flask-restful-swagger copied to clipboard

A Swagger spec extractor for flask-restful

Results 52 flask-restful-swagger issues
Sort by recently updated
recently updated
newest added

* Fix deprecation warning due to invalid escape sequences. * Fix syntax warning over comparison of literals using is. Fixes #144

I'm trying to express the following: ``` json { "module": "ping", "extra_args": { "var2": "value2", "var": "value1" } } ``` I've done this in python like so: ``` python @swagger.model...

* Deprecation warnings are raised due to invalid escape sequences. This can be fixed by using raw strings or escaping the literals. pyupgrade also helps in automatic conversion : https://github.com/asottile/pyupgrade/...

no matte how, i add 'url_prefix' in program, what i get always is error message that "GET /api/spec.json HTTP/1.1" 404 -“.The same problem also exists in the sample. Please tell...

Hello I have some question about post method and url parameter. I dont want that swagger display a post description when a url paramter is defined the POST /tranferts/{id} and...

Hello how can i supply param in swagger while doing a request get ? parameters=[ { "name": "zip", "description": "The ID of the TODO item", "required": True, "allowMultiple": False, "dataType":...

I want to describe this schema ``` { "count": 5, "items": [Item(1), Item ...] } ``` Item decorated as `@swagger.model`. How to do it?

What if I just want to return fields that do not exactly correspond to one my models? or what if I want to return multiple different models? Thanks

I have the following model: ``` @swagger.model class AuthModel: resource_fields = { 'username': fields.Integer, 'password': fields.String } ``` In the generated spec, the model will have both the resource fields...