flask-restx
flask-restx copied to clipboard
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
I am trying to use restx alongside a traditional flask route. However, I cannot get the default "/" route to work. Running code below... - http://localhost:5000/test shows swagger doc -...
Hi, I tried a simple example, but it doesn't do the validation and I can post any old JSON to it. ``` from flask_restx import Namespace, Resource, fields api =...
According to the documentation at https://flask-restx.readthedocs.io/en/latest/swagger.html#the-api-expect-decorator "you can use RequestParser to define the expected input". However, it seems that validation of parameters does not happen when using a RequestParser, even...
For quite some time there have been significant issues around data models, request parsing and response marshalling in `flask-restx` (carried over from `flask-restplus`). The most obvious of which is the...
I'm attempting to create a custom array type for argument parsing in the json body. So I created a function and created a schema for it: ``` type_services.__schema__ = {'type':'array','items':{'type':'string'}}...
Hi All, I am getting a weird issue! I am new to python and the flask + flast-restx framework. Can someone please help me understand what I am doing wrong...
RuntimeError: Working outside of application context. This typically means that you attempted to use functionality that needed to interface with the current application object in some way. To solve this,...
**Summary:** Trying to add CORS to my flask-restx app but failing. Is my setup correct? Can someone see if there is something wrong with my general setup or if flask-restx...
**Is your feature request related to a problem? Please describe.** flask-restx is maintaining a separate backport ENUM of HTTP statuses, _http.py. This should be replaced with the builtin HTTP module....