flask-restplus
flask-restplus copied to clipboard
Fully featured framework for fast, easy and documented API development with Flask
I would like to use `@api.marshal_list_with` with SQLAlchemy but I've found an issue. At first, I pull data from SQL (list with objects) an then pass it through `marshal_list_with`. Result...
Adding a global error handler using @api.errorhandler doesn't seem to have any effect. The error handler code is not triggered when an exception happens. ### **Code** ```python from flask import...
Attempting to return the following data structure to the user and document properly in swagger: ``` { 'dynamic_key_1': ['string1', 'string2'], 'dynamic_key_2': ['string3]', ... } ``` i.e. a dictionary with dynamic...
Looking through the the [docs](http://flask-restplus.readthedocs.io/en/stable/swagger.html), there's an example of setting a model as an expected input to the get request handler, and to me it would be reasonable to assume...
When using a model that has an attribute of the same type, and a circular reference occurs, swagger does not render the documentation. This was a fix found in a...
I'm somewhat new to swagger, but if I understand it correctly, flask_restplus currently outputs the swagger.json in the old "Swagger 2.0" format. Are there any plans to also support the...
When doing PUT or DELETE requests with int data, I randomly (~ 6 times out of 10) get a type error stating that 'int' object is not iterable. The only...
Would it be possible to support this other way of file upload? I am not sure if this is some standard but I ran into this by using React-Admin file...
If you have a custom error handler defined, it gets lost when there's a validation error thrown inside `@api.expect()` on a route. Consider the following example program: ```python #!/usr/bin/env python...