flask-restx
flask-restx copied to clipboard
Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
Hello! Fist of all, thanks for the awesome project! So, I work with a flask-restx project with two independent Blueprints, each of them with your own documentation: ```python bp_mapi =...
**Question** Are you willing to add support for open api spec version 3 guys ? flask-restx seems to support only swagger spec 2.0 (seen in code here: https://github.com/python-restx/flask-restx/blob/4c748d00eccef675afbde457d43bca5062715a5c/flask_restx/swagger.py#L295)
Field masks should not be implicitly provided, but only explicitly set by the user ### **Code** ``` from flask import Flask from flask_restx import Api, Resource, fields from werkzeug.middleware.proxy_fix import...
Hello, I would like to do something pretty simple: Add query parameters to a route and do a request parsing while also getting my documentation updated with those parameters. For...
Hi, I'm using a set with Flask, SQLAlchemy and Marshmallow in my API. I would like to use marshmallow schema to parse and also if possible create swagger docs. Even...
Consider the following resource definition: ``` @api_ns.route('/notification', '/notification/') class Notification(Resource): @jwt_required() @casbin_enforcer.enforcer def get(self, uuid): return jsonify(error='Not Implemented'), 500 @jwt_required() @casbin_enforcer.enforcer def post(self): return jsonify(error='Not Implemented'), 500 ``` the resulting...
### **Code** ```python daily_streams_response = api.model( "Daily Streams Response", { "stream_count": fields.Integer, "date": fields.Date, "*": fields.Wildcard(fields.String), }, ) artists_streams_response = api.model( "Artists Streams Response", { "items": fields.List(fields.Nested( api.model( "artist_streams", {"artist_id":...
### ***** **BEFORE LOGGING AN ISSUE** ***** - Is this something you can **debug and fix**? Send a pull request! Bug fixes and documentation fixes are welcome. - Please check...
Hey Guys, im using mypy in my project and i have a question... how can i fix the error message: "Base type Resource becomes 'Any' due to an unfollowed import"...
How do i define a function to responds with a binary file instead of json? This because typescript auto generated api documentation and does not use 'type: blob' on this...