UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

85 lines (42 loc) 1.4 kB
--- lang: en title: 'API docs: rest-crud.modelcrudrestapiconfig' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/rest-crud permalink: /doc/en/lb4/apidocs.rest-crud.modelcrudrestapiconfig.html --- <!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@loopback/rest-crud](./rest-crud.md) &gt; [ModelCrudRestApiConfig](./rest-crud.modelcrudrestapiconfig.md) ## ModelCrudRestApiConfig interface **Signature:** ```typescript export interface ModelCrudRestApiConfig extends ModelApiConfig ``` **Extends:** [ModelApiConfig](./model-api-builder.modelapiconfig.md) ## Properties <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td markdown="1"> [basePath](./rest-crud.modelcrudrestapiconfig.basepath.md) </td><td markdown="1"> </td><td markdown="1"> string </td><td markdown="1"> </td></tr> <tr><td markdown="1"> [readonly?](./rest-crud.modelcrudrestapiconfig.readonly.md) </td><td markdown="1"> </td><td markdown="1"> boolean </td><td markdown="1"> _(Optional)_ If true, the generated controller only has find and count APIs </td></tr> </tbody></table>