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

One validation error instead of all #122

Open
foxcool opened this issue Nov 27, 2019 · 1 comment
Open

One validation error instead of all #122

foxcool opened this issue Nov 27, 2019 · 1 comment
Labels

Comments

@foxcool
Copy link

foxcool commented Nov 27, 2019

At some point, goswagger stopped returning all validation errors when processing the request, but only the first.

@fredbi
Copy link
Member

fredbi commented Dec 26, 2019

@foxcool go-swagger generated server fails fast and does not attempt to report all validation errors on incoming requests.

If it did in the past, that must have been pretty long ago...
At some point we have discussed having this as a kind of "debug opt-in" in codegen, but eventually decided to keep it simple with only the fail-fast behavior.

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