apidocs icon indicating copy to clipboard operation
apidocs copied to clipboard

User-friendly schema error messages

Open bergie opened this issue 8 years ago • 0 comments

Currently the out-of-the-box tv4 validation errors can be a bit cryptic, like:

JSON schema error in item: Data does not match any schemas from "oneOf"

We could provide custom error messages at least for the common cases.

See https://github.com/geraintluff/tv4/issues/115#issuecomment-129428049

bergie avatar Nov 23 '16 11:11 bergie