From d35cab6039a987097c9cbb5c2955626ea071eba6 Mon Sep 17 00:00:00 2001 From: Serhii Filonenko Date: Thu, 17 Nov 2022 13:00:57 +0200 Subject: [PATCH 1/3] features: add feature for erd view --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7971005..24f0c55 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,11 @@ "displayOptions": { "hideNonNullableAttributes": true }, - "openModelDefinitionsTabIfNoCollections": true + "openModelDefinitionsTabIfNoCollections": true, + "erdView": { + "enabled": true, + "propertyNames": ["schemas"] + } } }, "description": "Hackolade plugin for OpenAPI", From b9bbcd84e279850d26500960588115e5ba0d426f Mon Sep 17 00:00:00 2001 From: Serhii Filonenko Date: Tue, 22 Nov 2022 09:44:44 +0200 Subject: [PATCH 2/3] rename feature for erd definitions --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 24f0c55..e3d0d39 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "hideNonNullableAttributes": true }, "openModelDefinitionsTabIfNoCollections": true, - "erdView": { + "erdDefinitions": { "enabled": true, "propertyNames": ["schemas"] } From 1656830d7975c62df84c5d202171efb2fce8882a Mon Sep 17 00:00:00 2001 From: Serhii Filonenko Date: Wed, 23 Nov 2022 15:46:49 +0200 Subject: [PATCH 3/3] enable relationships for erd definitions diagram --- package.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 7971005..f9b2a12 100644 --- a/package.json +++ b/package.json @@ -69,7 +69,10 @@ "disableDefinitions": { "internal": true }, - "disableRelationships": true, + "disableRelationships": false, + "relationships": { + "definitionRelationships": true + }, "disableJsonPreview": false, "enableErdToggle": true, "enableStackedNestedCollections": true,