Skip to content

Commit 2316ca5

Browse files
committed
fixes OpenAPI spec mismatches between require properties and available properties
1 parent ca63f54 commit 2316ca5

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

Sources/SwiftDocC/SwiftDocC.docc/Resources/LinkableEntities.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@
543543
"type": "object",
544544
"required": [
545545
"type",
546-
"identifier"
546+
"reference"
547547
],
548548
"properties": {
549549
"type": {

Sources/SwiftDocC/SwiftDocC.docc/Resources/RenderNode.spec.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,7 @@
360360
"type": "object",
361361
"required": [
362362
"kind",
363-
"tiles",
364-
"content"
363+
"tiles"
365364
],
366365
"properties": {
367366
"kind": {
@@ -526,8 +525,7 @@
526525
"kind",
527526
"content",
528527
"media",
529-
"mediaPosition",
530-
"layout"
528+
"mediaPosition"
531529
],
532530
"properties": {
533531
"kind": {
@@ -1795,7 +1793,7 @@
17951793
"type": "object",
17961794
"required": [
17971795
"type",
1798-
"identifier"
1796+
"reference"
17991797
],
18001798
"properties": {
18011799
"type": {
@@ -1956,7 +1954,7 @@
19561954
"type": "object",
19571955
"required": [
19581956
"reference",
1959-
"kind"
1957+
"sections"
19601958
],
19611959
"properties": {
19621960
"reference": {
@@ -2499,7 +2497,6 @@
24992497
},
25002498
"MentionsRenderSection": {
25012499
"required": [
2502-
"kind",
25032500
"mentions"
25042501
],
25052502
"type": "object",

0 commit comments

Comments
 (0)