flask-restx
flask-restx copied to clipboard
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
### **Code** ```python from flask import Flask from flask_restx import Resource, Api, fields app = Flask(__name__) api = Api(app) model = api.model('Model', {'foo': fields.String}) # @api.route('/get-one') # @api.doc(model=model) # class...
Is anyone else having a similar error when uploading multiple files using swagger UI? I try to upload one or two files but I get the following error:  When...
I am trying to use flask and flask-restx to create multiple rest apis using nginx In order to support multiple rest services I add locations to the nginx config I...
In the [restx docs](https://flask-restx.readthedocs.io/en/latest/scaling.html#use-with-blueprints) it says that can be used with flask blueprint, but I can't reproduce How to do this, without rewriting the flasks endpoints? ### **Code** ``` from...
Add missing items for type array.
### **Code** https://github.com/python-restx/flask-restx/blob/master/examples/todo_blueprint.py ### **Repro Steps** (if applicable) 1. Run this code 2. Get into 127.0.0.1:5000 3. Get 404 Error ### **Expected Behavior** I ran this code, but I can't...
**Ask a question** Error handler regiter on one namespace, but actually the error handler was registered on all namespaces.! *Environment* - Python 3.6.5 - Flask 1.1.2 - Flask-RESTX 0.2.0 *Code*...
As per the document https://pythonhosted.org/pytz/ : `Unfortunately using the tzinfo argument of the standard datetime constructors 'does not work' with pytz for many timezones`. This fixes https://github.com/python-restx/flask-restx/issues/620
pytz 2024.1 breaks the test suite. This PR replaces pytz with the stdlib equivalents.