@loopback/docs
Version:
Documentation for LoopBack 4
23 lines (15 loc) • 858 B
Markdown
---
lang: en
title: 'API docs: repository-json-schema.jsonschemaoptions.partial'
keywords: LoopBack 4.0, LoopBack 4
sidebar: lb4_sidebar
permalink: /doc/en/lb4/apidocs.repository-json-schema.jsonschemaoptions.partial.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/repository-json-schema](./repository-json-schema.md) > [JsonSchemaOptions](./repository-json-schema.jsonschemaoptions.md) > [partial](./repository-json-schema.jsonschemaoptions.partial.md)
## JsonSchemaOptions.partial property
Set this flag to mark all model properties as optional. This is typically used to describe request body of PATCH endpoints. This option will be overridden by the "optional" option if it is set and non-empty.
<b>Signature:</b>
```typescript
partial?: boolean;
```