Skip to content

Replace template preprocessing with re-mapping. #129

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

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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: 10 additions & 0 deletions hyper-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@
"description": "URI Template resolved as for the 'href' keyword in the Link Description Object. The resulting URI Reference is resolved against the current URI base and sets the new URI base for URI references within the instance.",
"type": "string"
},
"baseVars": {
"description": "a mapping from URI template names in \"base\" to relative JSON pointers to be applied to the instance to find the template variable's value",
"type": "object",
"additionalProperties": {"type": "string"}
},
"links": {
"type": "array",
"items": {"$ref": "#/definitions/linkDescription"}
Expand Down Expand Up @@ -82,6 +87,11 @@
"description": "a URI template, as defined by RFC 6570, with the addition of the $, ( and ) characters for pre-processing",
"type": "string"
},
"hrefVars": {
"description": "a mapping from URI template names in \"href\" to relative JSON pointers to be applied to the instance to find the template variable's value",
"type": "object",
"additionalProperties": {"type": "string"}
},
"rel": {
"description": "relation to the target resource of the link",
"type": "string"
Expand Down
Loading