Skip to content

Commit e379ca1

Browse files
committed
Added links to hyper-schema (id and $ref)
1 parent decb60d commit e379ca1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

hyper-schema

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,5 +117,15 @@
117117
}
118118
}
119119
}
120-
}
120+
},
121+
"links": [
122+
{
123+
"rel": "self",
124+
"href": "{+id}"
125+
},
126+
{
127+
"rel": "full",
128+
"href": "{+($ref)}"
129+
}
130+
]
121131
}

0 commit comments

Comments
 (0)