@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
31 lines (21 loc) • 1.07 kB
Markdown
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) > [@loopback/rest-crud](./rest-crud.md) > [ModelCrudRestApiConfig](./rest-crud.modelcrudrestapiconfig.md)
## ModelCrudRestApiConfig interface
**Signature:**
```typescript
export interface ModelCrudRestApiConfig extends ModelApiConfig
```
**Extends:** [ModelApiConfig](./model-api-builder.modelapiconfig.md)
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [basePath](./rest-crud.modelcrudrestapiconfig.basepath.md) | | string | |
| [readonly?](./rest-crud.modelcrudrestapiconfig.readonly.md) | | boolean | _(Optional)_ If true, the generated controller only has find and count APIs |