UNPKG

@loopback/docs

Version:

Documentation files rendered at [https://loopback.io](https://loopback.io)

24 lines (16 loc) 923 B
--- lang: en title: 'API docs: repository-json-schema.jsonschemaoptions.includerelations' keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI sidebar: lb4_sidebar editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/repository-json-schema permalink: /doc/en/lb4/apidocs.repository-json-schema.jsonschemaoptions.includerelations.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; [includeRelations](./repository-json-schema.jsonschemaoptions.includerelations.md) ## JsonSchemaOptions.includeRelations property Set this flag if you want the schema to define navigational properties for model relations. <b>Signature:</b> ```typescript includeRelations?: boolean; ```