Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Add Title to format_error() #317

Open
christrumbull opened this issue Jul 16, 2020 · 0 comments
Open

Add Title to format_error() #317

christrumbull opened this issue Jul 16, 2020 · 0 comments

Comments

@christrumbull
Copy link

For more human readable response on errors can we update the return for format_error() to:
return {"title": field_name, "detail": message, "source": {"pointer": "/".join(pointer)}}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant