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

string

The base path where to “mount” the controller.

readonly?

boolean

(Optional) Whether to generate readonly APIs