Page Contents

Home > @loopback/boot > ModelApiBooter

ModelApiBooter class

Signature:

export declare class ModelApiBooter extends BaseArtifactBooter 

Extends: BaseArtifactBooter

Constructors

Constructor Modifiers Description
(constructor)(app, projectRoot, getModelApiBuilders, booterConfig)   Constructs a new instance of the ModelApiBooter class

Properties

Property Modifiers Type Description
app   ApplicationWithRepositories  
booterConfig   ArtifactOptions  
getModelApiBuilders   Getter<ModelApiBuilder[]>  

Methods

Method Modifiers Description
getApiBuilderForPattern(pattern)   Retrieve the API builder that matches the pattern provided
load()   Load the the model config files
setupModel(configFile)   Set up the loaded model classes