Configures CRUD operations for a specific path and model.
The URL path for CRUD operations.
Configuration for CRUD operations.
The Mongoose model for CRUD operations.
Optional
router: Router
Optional Express router to use for routes.
Loads an OpenAPI specification from a YAML file and configures the application.
A promise that resolves when the configuration is loaded.
The path to the OpenAPI YAML spec file.
Optional
options:
IOpenApiOptions
Options for controllers, middlewares, and validation.
Creates a Mongoose model for a specific name and schema.
The created Mongoose model.
The name of the model.
The schema for the model.
Registers a single route configuration with the application.
A single route configuration.
Creates and configures an Express router for a specific URL path.
The created Express router.
The URL path to create a router for.
Optional
router: Router
Optional Express router instance.
Optional
options:
RouterOptions
Optional router options.
Registers multiple route configurations with the application.
An array of route configurations.
Generated using TypeDoc
The main interface representing the Febby application.