Interface JsonSchemaResolver
-
public interface JsonSchemaResolver
Callback to resolve an external JSON schema to a document.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode
resolve(java.lang.String url)
Resolve a url to a schema file to a JSON object.
-
-
-
Method Detail
-
resolve
com.fasterxml.jackson.databind.JsonNode resolve(java.lang.String url)
Resolve a url to a schema file to a JSON object. Called for every external JSON schema referenced by a schema file.- Parameters:
url
- The url to resolve, can be a relative or absolute file, or an url.- Returns:
- The resolved JSON object, or null if the schema should not be embedded.
-
-