Skip to content

Commit 22f2540

Browse files
authored
Merge pull request #971 from karenetheridge/ether/media-type-parameter
fix media type in examples
2 parents 9b32946 + 5341d1f commit 22f2540

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

jsonschema-core.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1950,7 +1950,7 @@
19501950
<figure>
19511951
<artwork>
19521952
<![CDATA[
1953-
Content-Type: application/json;
1953+
Content-Type: application/schema-instance+json;
19541954
schema="https://example.com/my-hyper-schema#"
19551955
]]>
19561956
</artwork>
@@ -1964,7 +1964,7 @@
19641964
<figure>
19651965
<artwork>
19661966
<![CDATA[
1967-
Content-Type: application/json;
1967+
Content-Type: application/schema-instance+json;
19681968
schema="https://example.com/alice https://example.com/bob"
19691969
]]>
19701970
</artwork>
@@ -1977,9 +1977,9 @@
19771977
<figure>
19781978
<artwork>
19791979
<![CDATA[
1980-
Accept: application/json;
1980+
Accept: application/schema-instance+json;
19811981
schema="https://example.com/qiang https://example.com/li",
1982-
application/json;
1982+
application/schema-instance+json;
19831983
schema="https://example.com/kumar"
19841984
]]>
19851985
</artwork>
@@ -1995,7 +1995,7 @@
19951995
indicate that the client can accept several media types.
19961996
In the above example, note that the two media types differ
19971997
only by their schema parameter values. This requests an
1998-
application/json representation that conforms to at least one
1998+
application/schema-instance+json representation that conforms to at least one
19991999
of the identified schemas.
20002000
</t>
20012001

0 commit comments

Comments
 (0)