-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better errors #14
Comments
…st error. As it might be useful to respond 404 with some other message that default "<object> not found". Issue: #14
Allow to handle multiple errors as well as provide more error details for request body validation errors. Issue: #14
Simplify a way for user to supply custom validation error from dictionary data as done in many other web-frameworks. Issue: #14
Also allow passing kwargs to `ValidationError.from_dict` class method. Issue: #14
Previously validation error on response resulted in 500 Server Error responses, this commit fixes it and retursn 422 Unprocessable Entity responses with data similar to Request Validation Error. Issue: #14
…lds. Unfortunately as `openapi-core` does not iter over all validation errors it is not possible to return all validation errors in case of multiple missed required files. Issue: #14
For a moment Reference: python-openapi/openapi-core#178 |
As of |
|
Is this issue still ongoing? I can't seem to figure out how to log request validation errors for this library. |
As of
2.0.0a2
versionrororo
does not provide any specific error message on validation error, it fully relies onopenapi-core
and later on which error middleware used inaiohttp.web
application (if any).Need to change this and return the predefined error response if some of request parameters or body is not valid (and same for response after #13 is done).
TODO:
The text was updated successfully, but these errors were encountered: