Skip to content

Commit

Permalink
error message for enum keyword, closes #115
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Feb 7, 2016
1 parent d502468 commit fa6b702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dot/errors.def
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
additionalProperties: "'should NOT have additional properties'",
anyOf: "'should match some schema in anyOf'",
dependencies: "'should have {{? $deps.length == 1 }}property {{= it.util.escapeQuotes($deps[0]) }}{{??}}properties {{= it.util.escapeQuotes($deps.join(\", \")) }}{{?}} when property {{= it.util.escapeQuotes($property) }} is present'",
enum: "'should be equal to one of values'",
enum: "'should be equal to one of the allowed values'",
format: "'should match format \"{{#def.concatSchemaEQ}}\"'",
_limit: "'should be {{=$opStr}} {{#def.appendSchema}}",
_exclusiveLimit: "'{{=$exclusiveKeyword}} should be boolean'",
Expand Down

0 comments on commit fa6b702

Please sign in to comment.