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

Some improvements to method validation #393

Merged
merged 5 commits into from
Dec 26, 2018
Merged

Some improvements to method validation #393

merged 5 commits into from
Dec 26, 2018

Conversation

gsmet
Copy link
Member

@gsmet gsmet commented Dec 24, 2018

It started as a big change but in the end, I ended up with a far more conservative approach as we do not want to expose the internal services' constraint violations in the JSON output.

So it's all about small improvements and doc changes.

Here is the companion PR for the quickstart changes: quarkusio/quarkus-quickstarts#11 .

Rest Assured allows to test the body content even if the response is in
error.
It seems better to be consistent with what is done in
JaxrsScanningProcessor.
It is required by Jackson when serializing the violation report into a
JSON entity.
@cescoffier cescoffier added the kind/enhancement New feature or request label Dec 26, 2018
@cescoffier cescoffier merged commit ca16140 into quarkusio:master Dec 26, 2018
@cescoffier cescoffier deleted the method-validation-take-2 branch December 26, 2018 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants