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
Schemas with URL-encoded characters in $ref paths do not resolve. For example, a reference to something like "#/definitions/Interface<type>" fails to resolve if it is written as "#/definitions/Interface%3Ctype%3E".
Expected Behavior
The YAML language server should properly resolve URL-encoded $ref paths (e.g., #/definitions/Interface%3Ctype%3E) and provide IntelliSense, validation, and other features based on the referenced schema definition.
Current Behavior
When using a $ref path that includes URL-encoded characters, vscode-yaml does not recognize or resolve the schema definition, resulting in validation errors (e.g. $ref '/definitions/Interface%3Ctype%3E' in 'file:///.../schema.json' can not be resolved.).
Steps to Reproduce
Create a file named example.schema.json containing the following schema:
Describe the bug
Schemas with URL-encoded characters in
$ref
paths do not resolve. For example, a reference to something like"#/definitions/Interface<type>"
fails to resolve if it is written as"#/definitions/Interface%3Ctype%3E"
.Expected Behavior
The YAML language server should properly resolve URL-encoded
$ref
paths (e.g.,#/definitions/Interface%3Ctype%3E
) and provide IntelliSense, validation, and other features based on the referenced schema definition.Current Behavior
When using a
$ref
path that includes URL-encoded characters, vscode-yaml does not recognize or resolve the schema definition, resulting in validation errors (e.g.$ref '/definitions/Interface%3Ctype%3E' in 'file:///.../schema.json' can not be resolved.
).Steps to Reproduce
example.schema.json
containing the following schema:example.yaml
containing the following content:#/definitions/Interface%3Csomething%3E
is not resolved, resulting in a validation error.Environment
The text was updated successfully, but these errors were encountered: