krakenjs/hapi-openapi

Non boom error thrown by input validator

DanielAnfelt opened this issue · 0 comments

The input validation step throws an error which es replaced by hapi, as it does not have isBoom set to true. This masks the details of the validation error and gives you the default status code 400, instead of the expected 422.