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
noShould do no automatic response.end()
call.
false
Optional
noIndicates, that query parameters should NOT be parsed.
Optional
onThe custom 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.
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 without a body.