UNPKG

@loopback/docs

Version:
23 lines (15 loc) 858 B
--- 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) &gt; [@loopback/repository-json-schema](./repository-json-schema.md) &gt; [JsonSchemaOptions](./repository-json-schema.jsonschemaoptions.md) &gt; [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; ```