Skip to content

Commit a8d0585

Browse files
committed
Remove duplicate hrefSchema from meta-schema
I have no idea why this was like this, but fortunately they both did the same thing. One was needlessly complex. This will get updated in place as the published draft-07 meta-schema as it's less confusing and functionally identical.
1 parent 7a6c26c commit a8d0585

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

links.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
"format": "uri-template"
3030
},
3131
"hrefSchema": {
32-
"allOf": [
33-
{ "$ref": "http://json-schema.org/draft-07/hyper-schema#" }
34-
]
32+
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
3533
},
3634
"templatePointers": {
3735
"type": "object",
@@ -63,9 +61,6 @@
6361
"type": "string"
6462
},
6563
"targetHints": { },
66-
"hrefSchema": {
67-
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
68-
},
6964
"headerSchema": {
7065
"$ref": "http://json-schema.org/draft-07/hyper-schema#"
7166
},

0 commit comments

Comments
 (0)