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

### **Code** ```python @staticmethod @ns_api.marshal_list_with(partial_club_fields, envelope="clubs") def get(user_id): return User.query.filter_by(id=user_id).first_or_404().clubs ``` ### **Expected Behavior** Should produce something like this: ```json { "clubs": [ { "id": "string", "name": "string", "description": "string"...

bug

### **Code** ``` crm_bp = Blueprint("crm", __name__, url_prefix="/api/v1/crm", subdomain="") crm_api = Api(crm_bp) crm_api.representations = { "application/json": output_json, } ns = Namespace("crm_entity", path="/entity", api=crm_api) ``` ### **Repro Steps** (if applicable) Now...

bug

Im using flask_restx for swagger API's. The versions are as follows: ``` python - 3.8.0 flask - 2.0.2 flask_restx - 0.5.1 ``` The following is the nested json I need...

question

I'm using a swagger ui generated from the swagger-ui repo. I've created a static folder, into which I've put the dist css and js, and I've made a templates folder,...

question

Format datetime with custom format, like: ``` model = api.model('Todo', { 'id': fields.Integer(readonly = True), 'name': fields.String('Buy milk'), 'created_at': fields.DateTime(dt_custom_format = '%Y-%m-%dT%T.%fZ', readonly = True) } )

Is there any way where we can add swagger documentation for `flask websocket`. If not then is there any way where we can pass swagger json from some function that...

enhancement

Thank you for forking this project. It does not seem like this issue is addressed yet nor did I see an existing issue mentioning it, so porting it over to...

bug
needs_info

Fixed issue related to topic 'Exception data is returned instead of custom error handle data'. Related issues: python-restx#33 python-restx#27 python-restx#103 python-restx#102 Now it first looks for an error message from...