C#C
C#3y ago
Obel

❔ When using AbstractValidator, is there any way that i can override the http status code?

Im trying to return a 422 HTTP Status code when the error occurs, but by default it returns a 400 Bad Request, is there any way to override this. I attached a snippet of the validator code
image.png
Was this page helpful?