customize error message
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2023
08:28 AM
04-12-2023
08:28 AM
customize error message
we are using OpenAPI, and use components that have type/value validations. When I access the relevant paths with wrong type/values, I get a default message which I want to customize. Is there way to customize the error message?
For ex.,, change the default message from "must match pattern \"^[0-9]{10}$\" to "Phone Number format is invalid"
Labels:
0 REPLIES 0
