Is there a way to disable response validation for a specific route? #104
Unanswered
daniil-enplore
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Response is not validated. Are you referring to request validation? You can use from flask import request
@app.get("")
def get_data():
request.data |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I have an flask-openapi3 server. most of it serves json and that is amazing. However now I ran into the issue that I need to create a single special rout that serves txt/csv.
Is there a work around to disable validation for that route?
Beta Was this translation helpful? Give feedback.
All reactions