php-json-schema icon indicating copy to clipboard operation
php-json-schema copied to clipboard

Better error message instead of "array is not unique"

Open MaxMatti opened this issue 4 years ago • 1 comments

Took me about 30 minutes to figure out that the error message that is being generated here refers to the fact that my required field contained an item twice. Also it's only mentioned in a subError and the error itself is being presented as "No valid results for anyOf". Please modify this error message to be more concise, thank you.

MaxMatti avatar Sep 29 '21 12:09 MaxMatti

Hi, could you share the error message you got and what you would prefer to see?

vearutop avatar Sep 29 '21 17:09 vearutop