Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support json error response on validation #48

Open
thilonel opened this issue Nov 29, 2022 · 1 comment
Open

support json error response on validation #48

thilonel opened this issue Nov 29, 2022 · 1 comment
Labels

Comments

@thilonel
Copy link
Member

It would be cool if the param validation error response could be customized, as now it seems to return a fixed string, which is not a JSON.

@adamluzsi
Copy link
Member

adamluzsi commented Mar 5, 2023

I like your thoughts; considering using RFC7807 for validation errors, I might as well look into making the whole thing configurable.

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

No branches or pull requests

2 participants