flask-restx icon indicating copy to clipboard operation
flask-restx copied to clipboard

Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask

Results 232 flask-restx issues
Sort by recently updated
recently updated
newest added

This PR fixes the bug where Swagger does _not_ interpreting an API consuming an array of files, as requiring the request to be a multipart-form. Others have reflected this problem,...

I need to change the curl options displayed in the Swagger documentation. For that, Swagger has a `curlOptions` parameter that [can be set](https://github.com/swagger-api/swagger-ui/blob/master/docs/usage/configuration.md#network) using the `requestInterceptor` function. Unfortunately, there doesn't...

enhancement

Swagger UI have a topbar, that is generally used as a search bar for all the APIs that are in the API documentation. Is there any roadmap to include that...

enhancement

I would like to have full control of the response from error handlers assigned using `@api.errorhandler` decorator so I can obfuscate the return of calls for some usecases. For example:...

enhancement

Allow error handlers to have full control of response

I was reading the documentation for multiple APIs with reusable namespaces and found some small errors in the example code.

Fixes #422 pallets/werkzeug#2339 changed the behavior of Request.get_json() and the Request.json property to raise a BadRequest if Request.json is accessed and the content type is not `application/json`. Argument parsing allows...

### **Code** ```python from flask import Flask from flask_restx import Api, Resource, reqparse from flask_restx.inputs import regex app = Flask(__name__) api = Api(app) parser = reqparse.RequestParser(bundle_errors=True) parser.add_argument('ip_addr', type=regex(r"^\d+\.\d+\.\d+\.\d+$"), action="append") @api.route('/')...

bug

…en using option "append" Using the reqparse option "append" in combination with a "pattern" leads to the wrong validation schema. Example, using the following code: ``` obj.add_argument('tag', location='args', type=inputs.regex('^[-_a-zA-Z0-9]+$') ,...