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.

Signature:

partial?: boolean;