From 8697921fe9f4d58565ebf00b2345243a9c0ea422 Mon Sep 17 00:00:00 2001 From: Henry Andrews Date: Thu, 14 Sep 2017 23:25:44 -0700 Subject: [PATCH] Fix "media" in submission example. Change "media": {"type": "..."} to "contentMediaType": "..." --- jsonschema-hyperschema.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jsonschema-hyperschema.xml b/jsonschema-hyperschema.xml index 658e0371..4aba6849 100644 --- a/jsonschema-hyperschema.xml +++ b/jsonschema-hyperschema.xml @@ -1225,11 +1225,11 @@ GET /foo/ "items": [ { "type": "string", - "media": { "type": "text/plain; charset=utf8" } + "contentMediaType": "text/plain; charset=utf8" }, { "type": "string", - "media": { "type": "text/html" } + "contentMediaType": "text/html" } ], "minItems": 2