Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit f53cd70

Browse files
committed
Backport "self" link from recent changes.
The hyper-schema on master in json-schema-spec includes "self" and "full" links. This backports the "self" link, but not the "full" link as Draft 05 removed that proposed link relation from the draft. "full" will be removed separately from json-schema-spec master.
1 parent df2c717 commit f53cd70

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

draft-05/hyper-schema

+7-2
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@
128128
"type": "boolean",
129129
"default": "false"
130130
}
131-
}
131+
},
132+
"links": [
133+
{
134+
"rel": "self",
135+
"href": "{+id}"
136+
}
137+
]
132138
}
133-

0 commit comments

Comments
 (0)