Skip to content

Report validation errors usefully and concisely #65

@Fak3

Description

@Fak3

It was suggested that we can echo the first line of schema validation error messages (as the whole message is quite huge)

Still, when the 'path' is missing for a resource, the first line of error is quite cryptic:

{'schema': {'fields': [{'title': '', 'type': 'date', 'format': 'default', 'name': 'Date', 'description': ''}, {'title': '', 'type': 'number', 'format': 'default', 'name': 'Price', 'description': ''}]}} is not valid under any of the given schemas

I wonder if we can make it more enlightening. Should probably be addressed upstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions