Skip to content

Commit

Permalink
Changes to getAnyType
Browse files Browse the repository at this point in the history
  • Loading branch information
spacether committed Nov 1, 2023
1 parent 9b8bb34 commit 23c7574
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4155,7 +4155,7 @@ public Schema getJsonSchema(JsonNode jsonNode, String location, ParseResult resu
schema.setPatternProperties(patternProperties);
}

Object constValue = getObject("const", node, false, location, result);
Object constValue = getAnyType("const", node, location, result);
if (constValue != null) {
schema.setConst(constValue);
}
Expand Down

0 comments on commit 23c7574

Please sign in to comment.