Page Contents

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

JsonSchemaOptions.includeRelations property

Set this flag if you want the schema to define navigational properties for model relations.

Signature:

includeRelations?: boolean;