File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -644,7 +644,7 @@ class ValidationError extends Error {
644
644
}
645
645
646
646
return `${ dataPath } should not have fewer than ${
647
- error . limit
647
+ error . params . limit
648
648
} items.${ this . getSchemaPartDescription ( error . parentSchema ) } `;
649
649
}
650
650
case 'minProperties' : {
Original file line number Diff line number Diff line change @@ -851,7 +851,7 @@ exports[`Validation should fail validation for min properties 1`] = `
851
851
852
852
exports [` Validation should fail validation for minItems Keyword 1` ] = `
853
853
"Invalid configuration object. Object has been initialised using a configuration object that does not match the API schema.
854
- - configuration.minItemsKeyword should not have fewer than undefined items."
854
+ - configuration.minItemsKeyword should not have fewer than 2 items."
855
855
` ;
856
856
857
857
exports [` Validation should fail validation for minProperties 1` ] = `
You can’t perform that action at this time.
0 commit comments