The handler function that will handle requests to the route.
An optional input mapping definition to use when mapping the HTTP request to the handler input.
The HTTP method to apply to the route
An optional input output definition to use when handling the output of the handler to an HTTP response.
The URL path to the http request
An optional schema to validate requests after the input mapper has mapped the HTTP request to the input object.
Generated using TypeDoc
The standard definition for a route definition module. Objects that conform to this interface can be used to define declarative routes for expressjs.
These definitions can be leveraged by standardized routines that build actual routes that include input mapping, schema validation, request processing and output mapping.