I am building REST API and wondering if there is any way to change the exception response when validation of input fails?
This is response I am getting through postman:
And I want to send JSON with message that validation failed. Is there a way to change that default response? Becasue in that case request is not entering the pipeline.