Optional
authorizeCustom 'authorize' options.
Optional
deprecatedIndicates, if route is deprecated or not.
Optional
documentationOptional Swagger documentation.
Optional
callbacks?: { Optional
deprecated?: booleanOptional
description?: stringOptional
externalOptional
operationOptional
parameters?: (ReferenceObject | ParameterObject)[]Optional
requestOptional
security?: SecurityRequirementObject[]Optional
servers?: ServerObject[]Optional
summary?: stringOptional
tags?: string[]Optional
formatThe expected data of the input format.
Optional
limitThe limit in bytes for the input data.
If that value is defined, but no schema, the input data will be downloaded and written as Buffer using 'buffer()' middleware.
Optional
noShould do no automatic response.end()
call.
false
Optional
noIndicates, that query parameters should NOT be parsed.
Optional
onThe custom error handler.
Optional
onCustom parse error handler.
Optional
onCustom schema validation error handler.
Optional
onThe handler, that is executed, when object validation with Swagger documentation failed.
Optional
parameterThe custom URL parameter format (only for the route).
@default: ControllerParameterFormat.Default
Optional
pathThe custom path.
An optional schema to use for the validation.
Optional
serializerThe custom serializer.
Optional
useOne or more middlewares for the route.
Optional
validateValidate request data with schema in documentation
or not.
false
Generated using TypeDoc
Options for a controller route with a body, which validates with a Joi schema.