We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4edea37 commit 96db975Copy full SHA for 96db975
dev/item-spec/json-schema/item.json
@@ -203,6 +203,33 @@
203
"title": {
204
"title": "Link title",
205
"type": "string"
206
+ },
207
+ "method": {
208
+ "title": "Link method",
209
+ "type": "string",
210
+ "pattern": "^[A-Z]+$",
211
+ "default": "GET"
212
213
+ "headers": {
214
+ "title": "Link headers",
215
+ "type": "object",
216
+ "additionalProperties": {
217
+ "oneOf": [
218
+ {
219
+ "type": "string"
220
221
222
+ "type": "array",
223
+ "items": {
224
225
+ }
226
227
+ ]
228
229
230
+ "body": {
231
+ "title": "Link body",
232
+ "$comment": "Any type is allowed."
233
}
234
},
235
"$comment": "Link with relationship `self` must be absolute URI",
@@ -275,4 +302,4 @@
275
302
]
276
303
277
304
278
-}
305
+}
0 commit comments