Skip to content

Commit 0b5d8f4

Browse files
committed
added missing codes
1 parent a776738 commit 0b5d8f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ public enum ValidatorTypeCode {
2525
"{0}.{1}: is not defined in the schema and the schema does not allow additional properties")),
2626
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}")),
28-
CROSS_EDITS("crossEdits", "", new MessageFormat("{0}: has an error with 'cross edits'")),
28+
CROSS_EDITS("crossEdits", "1004", new MessageFormat("{0}: has an error with 'cross edits'")),
2929
DEPENDENCIES("dependencies", "1007", new MessageFormat("{0}: has an error with dependencies {1}")),
30-
EDITS("edits", "", new MessageFormat("{0}: has an error with 'edits'")),
30+
EDITS("edits", "1005", new MessageFormat("{0}: has an error with 'edits'")),
3131
ENUM("enum", "1008", new MessageFormat("{0}: does not have a value in the enumeration {1}")),
3232
FORMAT("format", "1009", new MessageFormat("{0}: does not match the {1} pattern {2}")),
3333
ITEMS("items", "1010", new MessageFormat("{0}[{1}]: no validator found at this index")),

0 commit comments

Comments
 (0)