Skip to content

"headerSchema" should use array values #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 31, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions jsonschema-hyperschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,12 @@
The exact mapping of the JSON data model into the headers is
protocol-dependent. However, in most cases this schema SHOULD
specify a type of "object", and the property names SHOULD be
lower-cased forms of the control data field names. See the
<xref target="HTTP">"JSON Hyper-Schema and HTTP"</xref> section
lower-cased forms of the control data field names. As with
"targetHints", the values SHOULD be described as arrays to
allow for multiple values, even if only one value is expected.
</t>
<t>
See the <xref target="HTTP">"JSON Hyper-Schema and HTTP"</xref> section
for detailed guidance on using this keyword with HTTP and
analogous protocols.
</t>
Expand Down