We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9872f30 commit 17fe078Copy full SHA for 17fe078
flask_openapi3/request.py
@@ -137,7 +137,7 @@ def _do_request(
137
# Create a JSON response with validation error details
138
response = make_response(e.json())
139
response.headers["Content-Type"] = "application/json"
140
- response.status_code = DEFAULT_VALIDATION_ERROR_STATUS
+ response.status_code = int(DEFAULT_VALIDATION_ERROR_STATUS)
141
return response
142
143
return func_kwargs
0 commit comments