Forum Discussion

karthikeyankp's avatar
karthikeyankp
Occasional Visitor
2 years ago

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"

No RepliesBe the first to reply