Page Contents

Home > @loopback/model-api-builder

model-api-builder package

A packge with types and helpers for packages contributing Model API builders.

Remarks

Provides a contract for extensions that contribute builders for repositories and controllers. Users provide both the model class and an extension. The extension is then used to build their repository and controller based on the model class.

Interfaces

Interface Description
[ModelApiBuilder](/doc/en/lb4/apidocs.model-api-builder.modelapibuilder.html) Interface for extensions contributing custom API flavors.

Variables

Variable Description
[asModelApiBuilder](/doc/en/lb4/apidocs.model-api-builder.asmodelapibuilder.html) A binding template for model API extensions
[MODEL\_API\_BUILDER\_PLUGINS](/doc/en/lb4/apidocs.model-api-builder.model_api_builder_plugins.html) Extension Point name for Model API builders.

Type Aliases

Type Alias Description
[ModelApiConfig](/doc/en/lb4/apidocs.model-api-builder.modelapiconfig.html) Configuration settings for individual model files. This type describes content of `public-models/{model-name}.config.json` files.