Page Contents
Home > @loopback/rest-crud > CrudRestControllerOptions
CrudRestControllerOptions interface
Options to configure different aspects of a CRUD REST Controller.
Signature:
export interface CrudRestControllerOptions
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| [basePath](/doc/en/lb4/apidocs.rest-crud.crudrestcontrolleroptions.basepath.html) | string | The base path where to "mount" the controller. | |
| [readonly?](/doc/en/lb4/apidocs.rest-crud.crudrestcontrolleroptions.readonly.html) | boolean | _(Optional)_ Whether to generate readonly APIs |