Skip to content

Fix Link header examples in hyper-schema #624

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 3 commits into from
Jun 25, 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
10 changes: 5 additions & 5 deletions jsonschema-hyperschema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1552,7 +1552,7 @@ GET https://api.example.com HTTP/1.1

200 OK
Content-Type: application/json
Link: <https://schema.example.com/entry> rel=describedBy
Link: <https://schema.example.com/entry>; rel="describedBy"
{}
]]>
</artwork>
Expand Down Expand Up @@ -1896,10 +1896,10 @@ GET https://api.example.com/trees/1/nodes/123 HTTP/1.1

200 OK
Content-Type: application/json
Link: <https://api.example.com/trees/1/nodes/123> rel=self
Link: <https://api.example.com/trees/1/nodes/123> rel=up
anchor=<https://api.example.com/trees/1/nodes/456>
Link: <https://api.example.com/trees/1/nodes/456> rev=up
Link: <https://api.example.com/trees/1/nodes/123>; rel="self"
Link: <https://api.example.com/trees/1/nodes/123>; rel="up";
anchor="https://api.example.com/trees/1/nodes/456"
Link: <https://api.example.com/trees/1/nodes/456>; rev="up"
{
"id": 123,
"treeId": 1,
Expand Down