Page Contents

Home > @loopback/rest-crud > CrudRestApiBuilder > build

CrudRestApiBuilder.build() method

Signature:

build(application: ApplicationWithRepositories, modelClass: typeof Model & {
        prototype: Model;
    }, cfg: ModelApiConfig): Promise<void>;

Parameters

Parameter Type Description
application ApplicationWithRepositories  
modelClass typeof Model & { prototype: Model; }  
cfg ModelApiConfig  

Returns:

Promise<void>