Create a validation middleware for the given schemas. Validates cookie-safe, fast-fail with 400 and a structured error payload.
The set of schemas to validate against.
The middleware handler function.
Create a validation middleware for the given schemas. Validates cookie-safe, fast-fail with 400 and a structured error payload.