Page Contents

Home > @loopback/model-api-builder > ModelApiBuilder > build

ModelApiBuilder.build() method

Signature:

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

Parameters

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

Returns:

Promise<void>