Skip to content

Commit 6ba2e22

Browse files
authored
Merge pull request #477 from handrews/discover
Better wording in HTTP "targetHints" section
2 parents 939bc30 + c57ef6c commit 6ba2e22

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

jsonschema-hyperschema.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1378,8 +1378,10 @@ for varname in templateData:
13781378
similarly structured headers wherever possible.
13791379
</t>
13801380
<t>
1381-
No distinction is made between headers that may appear in responses to
1382-
different methods, such as HEAD vs OPTIONS.
1381+
Headers for all possible HTTP method responses all share "headerSchema".
1382+
In particular, both headers that appear in a HEAD response and those
1383+
that appear in an OPTIONS response can appear. No distinction is made
1384+
within "headerSchema" as to which method response contains which header.
13831385
</t>
13841386
<t>
13851387
It is RECOMMENDED that schema authors provide hints for the values of

0 commit comments

Comments
 (0)