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 d163932 commit 99712a2Copy full SHA for 99712a2
jsonschema-hyperschema.xml
@@ -1394,6 +1394,21 @@ for varname in templateData:
1394
In general, headers that are likely to have different values at different
1395
times SHOULD NOT be included in "targetHints".
1396
</t>
1397
+ <figure>
1398
+ <preamble>
1399
+ This examples shows several hints that are useful for clients
1400
+ when determining what requests to make and how to make them.
1401
+ </preamble>
1402
+ <artwork>
1403
+<![CDATA[{
1404
+ "targetHints": {
1405
+ "allow": ["GET", "PUT"],
1406
+ "accept-patch": ["application/merge-patch+json"],
1407
+ "accept-ranges": ["none"]
1408
+ }
1409
+}]]>
1410
+ </artwork>
1411
+ </figure>
1412
</section>
1413
<section title='Advertising HTTP features with "headerSchema"'>
1414
<t>
0 commit comments