Skip to main content

Overview

API action validator — is an array of functions (think middlewares) that is used to make sure that data sent by client is valid.

Examples

To pass data from the validator to the handler, utilize the ctx.validatedData object: