flask-restplus-server-example
flask-restplus-server-example copied to clipboard
Real-life RESTful server example on Flask-RESTplus
I would like to add multiple parameters to an endpoint, essentially chaining them as so: ```python @api.parameters(SomeParameters()) @api.parameters(MoreParameters()) @api.parameters(EvenMoreParameters()) def get(self, args): ... ``` However, this results in a separate...
https://github.com/noirbizarre/flask-restplus > This project has been forked to Flask-RESTX and will be maintained by by the python-restx organization. Flask-RESTPlus should be considered unmaintained. https://flask-restx.readthedocs.io/en/latest/ According to those article, Flask-RESTPlus is...
(I am actually trying to implement it in my project, will release PR if I succeed and got the time)
I'm wondering what would be the best way to allow a certain endpoint to have its accepted parameters/response differ depending on the role of the user that is requesting it....
Maintainer of https://github.com/lepture/flask-oauthlib says - use authlib instead? I'm wondering if the migration process would be difficult given the current tie-ins to permissions api and swagger. I kind of need...
I have multiple databases that i need to work with, do you know how can i work with SQLALCHEMY_BINDS from your project?
Hi, I'd like to know if there is an easy way to modify the patch to mask the response fields by a query parameter (like /api/users?fields=email,name), I've tried the restplus...
``` $ curl 'http://127.0.0.1:5000/auth/oauth2/token?grant_type=client_credentials' --user 'documentation:KQ()SWK)SQK)QWSKQW(SKQ)S(QWSQW(SJ*HQ&HQW*SQ*^SSQWSGQSG' {"access_token": "lYoijoYaTgXZi1bLQTs4PuItKsNHNY", "token_type": "Bearer", "expires_in": 3600, "scope": "users:write teams:write auth:write users:read auth:read teams:read"} ``` Grab the above access_token and access protected resources. ``` $...
The changes are quite radical, so it will take some time to get things going. Just for the reference: https://github.com/noirbizarre/flask-restplus/issues/267