-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
discussionIf there are multiple options, they can be discussed.If there are multiple options, they can be discussed.
Description
When I upload a schema with a property using $ref, I get the error java.io.FileNotFoundException: http://example.org/abc.
I would expect that the validator does not resolve this URL and only checks if the schema is valid against the metaschema.
Example:
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "http://example.org/idontcare",
"title": "Doesntmatter",
"type": "object",
"properties": {
"abc": {
"$ref": "http://example.org/abc"
}
}
}Hint: I think the problem is that in JsonUtils::validateJsonSchemaDocument the same validation method is used as validating a document against a schema which requires resolving the URL.
Metadata
Metadata
Assignees
Labels
discussionIf there are multiple options, they can be discussed.If there are multiple options, they can be discussed.