Ask a Question

customize error message

karthikeyankp
Occasional Visitor

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"

0 REPLIES 0
cancel
Showing results for 
Search instead for 
Did you mean: