Page Contents

Home > @loopback/repository-json-schema > JsonSchemaOptions > partial

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.

Signature:

partial?: boolean;