---
lang: en
title: 'API docs: model-api-builder.modelapibuilder.build'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
editurl: https://github.com/strongloop/loopback-next/tree/master/packages/model-api-builder
permalink: /doc/en/lb4/apidocs.model-api-builder.modelapibuilder.build.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/model-api-builder](./model-api-builder.md) &gt; [ModelApiBuilder](./model-api-builder.modelapibuilder.md) &gt; [build](./model-api-builder.modelapibuilder.build.md)

## ModelApiBuilder.build() method

<b>Signature:</b>

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

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  application | [ApplicationWithRepositories](./repository.applicationwithrepositories.md) |  |
|  modelClass | typeof [Model](./repository.model.md) &amp; { prototype: [Model](./repository.model.md)<!-- -->; } |  |
|  config | [ModelApiConfig](./model-api-builder.modelapiconfig.md) |  |

<b>Returns:</b>

Promise&lt;void&gt;


