Optional
bodySchema for validating the request body.
The request handler function for this route.
HTTP method for the route (e.g., 'get', 'post').
Optional
middlewares
Middleware functions to apply to this route.
The URL path for the route.
Optional
router
Optional Express router to use for routes.
Generated using TypeDoc
Configuration options for defining routes in Febby.
Example