Schema validation errors could use a one-liner printing the error as human readable, i.e "Schema error in index.yml. Value 'example.com' of field 'website' is invalid."
Currently looks like:
./vendor/index.yaml is invalid
[
{
keyword: 'format',
dataPath: '.vendors[0].website',
schemaPath: '#/properties/website/format',
params: { format: 'uri' },
message: 'should match format "uri"'
}
]
Summary
Schema validation errors could use a one-liner printing the error as human readable, i.e "Schema error in index.yml. Value 'example.com' of field 'website' is invalid." Currently looks like:
./vendor/index.yaml is invalid [ { keyword: 'format', dataPath: '.vendors[0].website', schemaPath: '#/properties/website/format', params: { format: 'uri' }, message: 'should match format "uri"' } ]