Why am I getting an error 500 for a validation (ConstraintViolationException) instead of a BAD_REQUEST 400
I’ve created a simple endpoint (quarkus-rest-jsonb: 3.10.2) to create a user. I’m calling the endpoint with an invalid email and expecting an validation error to return me a bad request 400 response. But I’m getting a 500 one.
Could someone tell me what am I missing ?