UNPKG

@loopback/docs

Version:
37 lines (25 loc) 1.13 kB
--- lang: en title: 'API docs: rest-crud.crudrestapibuilder.build' keywords: LoopBack 4.0, LoopBack 4 sidebar: lb4_sidebar editurl: https://github.com/strongloop/loopback-next/tree/master/packages/rest-crud permalink: /doc/en/lb4/apidocs.rest-crud.crudrestapibuilder.build.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest-crud](./rest-crud.md) &gt; [CrudRestApiBuilder](./rest-crud.crudrestapibuilder.md) &gt; [build](./rest-crud.crudrestapibuilder.build.md) ## CrudRestApiBuilder.build() method <b>Signature:</b> ```typescript build(application: ApplicationWithRepositories, modelClass: typeof Model & { prototype: Model; }, cfg: 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> | | | cfg | <code>ModelApiConfig</code> | | <b>Returns:</b> `Promise<void>`