You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to $ref an element, that contains '/' in it's name the pointer cannot be found.
I found the specification for escaping '/' characters here: https://tools.ietf.org/html/rfc6901#page-3
I'm trying to reference the following element:
paths:
/airport/HAM:
get:
...
of a YML file and reference it from another YML by using:
$ref: "#/paths/~1aircraft~1HAM/get"
yet, I cannot get it to stay escaped properly, as the second '~1' gets evaluated too early giving me the error message:
Token \"/aircraft/HAM\" does not exist.",
"stack": "SyntaxError: Error resolving $ref pointer \"/Users/someUser/airport.yaml#/paths/~1aircraft~HAM/get\".
I would appreciate any hints or help!
The text was updated successfully, but these errors were encountered:
When trying to $ref an element, that contains '/' in it's name the pointer cannot be found.
I found the specification for escaping '/' characters here: https://tools.ietf.org/html/rfc6901#page-3
I'm trying to reference the following element:
of a YML file and reference it from another YML by using:
yet, I cannot get it to stay escaped properly, as the second '~1' gets evaluated too early giving me the error message:
I would appreciate any hints or help!
The text was updated successfully, but these errors were encountered: