-
-
Notifications
You must be signed in to change notification settings - Fork 432
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
openapi3filter.RequestError message customize #465
Comments
Is this what you meant? #466 |
Thank you for answer, but i mean i want return other message. For example: |
I see. There have been similar inquiries I think for the purpose of rewriting the error message and also to generally uniquely identify the returned error. I see a few ways of going at this:
A generic way of identifying / matching schema error messages would be useful to many users of this lib and so I am interested in helping move this forward. Today error messages are not stabilized meaning the format string can change completely from one release to another. Especially considering the eventual rewrite of the data validation part: #412 To me the first option in this list would be the more robust one, especially if there's a way of knowing whether a file's entry is missing or is unused. |
Hello everyone.
Can you help me. Can i change default message in error.
Example: "parameter "id" in query has an error: number must be most 1"
The text was updated successfully, but these errors were encountered: