Skip to content

Commit ad14e06

Browse files
committed
added default messages to empty messages on ValidatorTypeCode
1 parent 3c89412 commit ad14e06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
public enum ValidatorTypeCode {
2424
ADDITIONAL_PROPERTIES("additionalProperties", "1001", new MessageFormat(
2525
"{0}.{1}: is not defined in the schema and the schema does not allow additional properties")),
26-
ALL_OF("allOf", "1002", new MessageFormat("{0}: should be valid to all of the schemas {1}")),
26+
ALL_OF("allOf", "1002", new MessageFormat("{0}: should be valid to all the schemas {1}")),
2727
ANY_OF("anyOf", "1003", new MessageFormat("{0}: should be valid to any of the schemas {1}")),
2828
CROSS_EDITS("crossEdits", "", new MessageFormat("{0}: has some error with 'cross edits'")),
2929
DEPENDENCIES("dependencies", "1007", new MessageFormat("{0}: has some error with dependencies {1}")),

0 commit comments

Comments
 (0)