An array of controller functions to apply or provide controllers directory path
Optional
finalfinalErrorHandler will be configured after routes registered so you can customize errors and response structure. default to below handler
router.use((err, req, res, next) => {
res.status(err.status || 500).json({
message: err.message,
errors: err.errors,
});
});
An array of middleware functions to apply or provide middlewares directory path
Options for OpenAPI validation.
Generated using TypeDoc
Configuration options for OpenAPI support in Febby.
Example