Private
constructorPrivate
Readonly
operationsPrivate
validatePrivate
validatorStatic
Private
instancePrivate
initializePrivate
pathOptional
operationOptional
callbacks?: { [callback: string]: ReferenceObject | CallbackObject }Optional
deprecated?: booleanOptional
description?: stringOptional
externalOptional
operationOptional
parameters?: (ReferenceObject | ParameterObject)[]Optional
requestOptional
security?: SecurityRequirementObject[]Optional
servers?: ServerObject[]Optional
summary?: stringOptional
tags?: string[]Static
initializeStatic
pathCreates a path middleware that attaches to a route, providing meta-data for the express parser to pick up.
An Express middleware object to attach to a route
Required unique Express App wide id representing this specific operation in the open api schema.
Object to hold optional parameters
Optional
exclude?: booleanIndicates if this route should be marked for exclusion when generating OpenApi documents.
Optional
operationThe Open Api operation object for this route.
Optional
callbacks?: { [callback: string]: ReferenceObject | CallbackObject }Optional
deprecated?: booleanOptional
description?: stringOptional
externalOptional
operationOptional
parameters?: (ReferenceObject | ParameterObject)[]Optional
requestOptional
security?: SecurityRequirementObject[]Optional
servers?: ServerObject[]Optional
summary?: stringOptional
tags?: string[]Optional
validate?: booleanOverrides global validation option for this route.
Generated using TypeDoc
Initializes the validation feature for the path middlewares. Must be placed right before starting Express app.
Throws