Skip to content
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

Define fragment identifiers for application/yaml #38

Merged
merged 6 commits into from
May 12, 2022
Merged
Changes from 2 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: 7 additions & 1 deletion draft-ietf-httpapi-yaml-mediatypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,13 @@ Applications that use this media type:
: HTTP

Fragment identifier considerations:
: None
: For documents labeled as `application/yaml`,
the fragment identifier is parsed as if it were a YAML alias node,
but without a leading `*` indicator.
For YAML 1.2,
this means that it designates a node which has a correspondingly named anchor.
If multiple nodes would match a fragment identifier,
the first such match is selected.
eemeli marked this conversation as resolved.
Show resolved Hide resolved

Additional information:

Expand Down