openapi-spring-webflux-validator
openapi-spring-webflux-validator copied to clipboard
How to configure validator messages?
Can I configure validator messages via properties?
I saw keys.properties file in the root dir of the repo, but it doesn't seem to work. Also I find a way to configure that by overriding Atlassian swagger-request-validator-core properties on the classpath. Although, I think it is not a very clean solution.
You can add a custom error handler, then set the message to anything you want. The README provides an example