flask-restplus
flask-restplus copied to clipboard
Fully featured framework for fast, easy and documented API development with Flask
`OrderedDict` should be imported from `collections` instead of `collections.abc`. For example: https://github.com/noirbizarre/flask-restplus/blob/9232e1a6599621e97223e1915c9b414c92faf2cc/flask_restplus/model.py#L8-L12 When trying to import it gives the following error: ``` >>> from collections.abc import OrderedDict Traceback (most recent...
Hi there, we're using Flask-Restplus 0.9.0 and we're big fans. However we keep running into an issue when trying to use optional fields. Our code is similar to the following:...
Hi, it seems that using the parameter required=True for a FileUpload like it is shown in the [documentation](http://flask-restplus.readthedocs.io/en/stable/parsing.html#file-upload) does not seem to work. If the parameter is set, I get...
I posted this on SO but did not got any reply: https://stackoverflow.com/q/48972880/3311276 maybe this is an issue. Can you please look at this ? I have a simple API GET...
Hi, Can you give an example of how to download huge amount of data in csf format from browser/python code? I have something similar to the following right now but...
I'm testing my flask app using pytest, when it comes to test the enpoints I used the Flask `app.test_client` utility: ```python @pytest.fixture(scope='session') def client(app): return app.test_client() ``` Trying the test...
Sorry, I am an Ops guys and not a developer but I hope this helps.. ### **Error Messages/Stack Trace** If applicable, add the stack trace produced by the error `` ...
I have a namespace and API like: ``` ns = Namespace('myNamespace') api = Api() api.add_namespace(ns) ``` I can access the namespace at 'http://localhost/myNamespace' I'd like be able to **also** access...
if debug=True or propagate_exceptions=True got_request_exception signal repeat execution, This statement can be avoided by moving it to the back of the judgment ``` #api.py line610 def handle_error(self, e): got_request_exception.send(current_app._get_current_object(), exception=e)...
Hi guys i'm using the decorator @jwt_token() in my namespace therefore when i authenticate in the swagger the header does not shown in cUrl, and my response is 401, i'm...