We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e99da6 commit d832ad9Copy full SHA for d832ad9
src/main/java/com/networknt/schema/TypeValidator.java
@@ -66,15 +66,15 @@ public boolean equalsToSchemaType(JsonNode node) {
66
if (nodeType == JsonType.STRING) {
67
if(schemaType == JsonType.INTEGER) {
68
if(isInteger(node.textValue())) {
69
- return Collections.emptySet();
+ return true;
70
}
71
} else if(schemaType == JsonType.BOOLEAN) {
72
if(isBoolean(node.textValue())) {
73
74
75
} else if(schemaType == JsonType.NUMBER) {
76
if(isNumeric(node.textValue())) {
77
78
79
80
0 commit comments