---
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 | <code>ApplicationWithRepositories</code> |  |
|  modelClass | <code>typeof Model &amp; {</code><br/><code>        prototype: Model;</code><br/><code>    }</code> |  |
|  config | <code>ModelApiConfig</code> |  |

<b>Returns:</b>

`Promise<void>`


