From 2316ca588880f369411e067cf6db79f47736b495 Mon Sep 17 00:00:00 2001 From: Joe Heck Date: Mon, 16 Jun 2025 08:33:33 -0700 Subject: [PATCH] fixes OpenAPI spec mismatches between require properties and available properties --- .../SwiftDocC.docc/Resources/LinkableEntities.json | 2 +- .../SwiftDocC.docc/Resources/RenderNode.spec.json | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/Sources/SwiftDocC/SwiftDocC.docc/Resources/LinkableEntities.json b/Sources/SwiftDocC/SwiftDocC.docc/Resources/LinkableEntities.json index 6f156a7423..e70638b04c 100644 --- a/Sources/SwiftDocC/SwiftDocC.docc/Resources/LinkableEntities.json +++ b/Sources/SwiftDocC/SwiftDocC.docc/Resources/LinkableEntities.json @@ -543,7 +543,7 @@ "type": "object", "required": [ "type", - "identifier" + "reference" ], "properties": { "type": { diff --git a/Sources/SwiftDocC/SwiftDocC.docc/Resources/RenderNode.spec.json b/Sources/SwiftDocC/SwiftDocC.docc/Resources/RenderNode.spec.json index 4ced315007..1044a735db 100644 --- a/Sources/SwiftDocC/SwiftDocC.docc/Resources/RenderNode.spec.json +++ b/Sources/SwiftDocC/SwiftDocC.docc/Resources/RenderNode.spec.json @@ -360,8 +360,7 @@ "type": "object", "required": [ "kind", - "tiles", - "content" + "tiles" ], "properties": { "kind": { @@ -526,8 +525,7 @@ "kind", "content", "media", - "mediaPosition", - "layout" + "mediaPosition" ], "properties": { "kind": { @@ -1795,7 +1793,7 @@ "type": "object", "required": [ "type", - "identifier" + "reference" ], "properties": { "type": { @@ -1956,7 +1954,7 @@ "type": "object", "required": [ "reference", - "kind" + "sections" ], "properties": { "reference": { @@ -2499,7 +2497,6 @@ }, "MentionsRenderSection": { "required": [ - "kind", "mentions" ], "type": "object",