Skip to content

Commit 8697921

Browse files
committed
Fix "media" in submission example.
Change "media": {"type": "..."} to "contentMediaType": "..."
1 parent fa8eb73 commit 8697921

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jsonschema-hyperschema.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,11 +1225,11 @@ GET /foo/
12251225
"items": [
12261226
{
12271227
"type": "string",
1228-
"media": { "type": "text/plain; charset=utf8" }
1228+
"contentMediaType": "text/plain; charset=utf8"
12291229
},
12301230
{
12311231
"type": "string",
1232-
"media": { "type": "text/html" }
1232+
"contentMediaType": "text/html"
12331233
}
12341234
],
12351235
"minItems": 2

0 commit comments

Comments
 (0)