Validation is an important aspect of API development as it helps you check whether an API is working as expected, whether it returns the right data quickly, and if it meets security requirements. Developers who use Fastify need to remain aware of how...

Markdown supported · ⌘↵ to post
Damien Garrido
I would also respond with an HTTP 400 for a failed request validation (and an HTTP 500 for a failed response validation).