Optional
appendAppend middlewares instead of prepend them.
false
Optional
isIndicates if route is deprecated or not.
true
Optional
onA custom middleware, that may tell a client that the endpoint is deprecated and/or logs access.
The default behavior is, that the server will return a simple 410 HTTP response.
Optional
useOne or more middlewares, that is added before onDeprecated
, but only for the
case that isDeprecated
is activated.
Generated using TypeDoc
Options for handling a deprecated status.