Type aliases
JsonObjectValidationFailedHandler
Type declaration
-
-
Parameters
Returns Response | PromiseLike<Response>
Functions
jsonObject
- jsonObject(optsOrSchema?: JsonObjectOptions | ObjectSchema): express.RequestHandler[]
-
Parameters
Returns express.RequestHandler[]
The created handler(s).
A function that returns the response for a failed JSON validation.
The context.
The result with the (new) response context.