Is it possible to add content information to responses? #589
Unanswered
martin-thoma
asked this question in
Q&A
Replies: 1 comment
-
You can specify a model that gets returned from flask-restx using something like See this bit of the docs: https://flask-restx.readthedocs.io/en/latest/swagger.html#documenting-with-the-api-response-decorator |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I currently have an endpoint with the decorator:
which generates:
I want to generate:
Is it possible to add this content data with Flask-Restx
Beta Was this translation helpful? Give feedback.
All reactions