Skip to content

Commit dc9137f

Browse files
author
Jake Waffle
committed
Updated my RefValidator implementation to utilize the recently introduced URL mapping changes.
1 parent d07f04d commit dc9137f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/networknt/schema/RefValidator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static JsonSchema getRefSchema(JsonSchema parentSchema, ValidationContext valida
6464
}
6565

6666
// This should retrieve schemas regardless of the protocol that is in the url.
67-
parentSchema = validationContext.getJsonSchemaFactory().getSchema(schemaUrl);
67+
parentSchema = validationContext.getJsonSchemaFactory().getSchema(schemaUrl, validationContext.getConfig());
6868

6969
if (index < 0) {
7070
return parentSchema.findAncestor();

0 commit comments

Comments
 (0)