Skip to content

Commit

Permalink
feat: allowedValues param in "enum" keyword error, closes #282
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Aug 29, 2016
1 parent 565e360 commit 00f315c
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 @@ -161,7 +161,7 @@
additionalProperties: "{ additionalProperty: '{{=$additionalProperty}}' }",
anyOf: "{}",
dependencies: "{ property: '{{= it.util.escapeQuotes($property) }}', missingProperty: '{{=$missingProperty}}', depsCount: {{=$deps.length}}, deps: '{{= it.util.escapeQuotes($deps.length==1 ? $deps[0] : $deps.join(\", \")) }}' }",
'enum': "{}",
'enum': "{ allowedValues: schema{{=$lvl}} }",
format: "{ format: {{#def.schemaValueQS}} }",
_limit: "{ comparison: {{=$opExpr}}, limit: {{=$schemaValue}}, exclusive: {{=$exclusive}} }",
_exclusiveLimit: "{}",
Expand Down

0 comments on commit 00f315c

Please # to comment.