Skip to content

[Java][jaxrs-resteasy] add @Valid when bean validation is enabled#1237

Merged
wing328 merged 1 commit intoOpenAPITools:masterfrom
Zomzog:feature/1204
Oct 23, 2018
Merged

[Java][jaxrs-resteasy] add @Valid when bean validation is enabled#1237
wing328 merged 1 commit intoOpenAPITools:masterfrom
Zomzog:feature/1204

Conversation

@Zomzog
Copy link
Copy Markdown
Contributor

@Zomzog Zomzog commented Oct 14, 2018

PR checklist

  • Read the contribution guidelines.
  • Ran the shell script under ./bin/ to update Petstore sample so that CIs can verify the change. (For instance, only need to run ./bin/{LANG}-petstore.sh and ./bin/security/{LANG}-petstore.sh if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates). Windows batch files can be found in .\bin\windows\.
  • Filed the PR against the correct branch: master, 3.4.x, 4.0.x. Default: master.
  • Copied the technical committee to review the pull request if your PR is targeting a particular programming language.

Description of the PR

Add to API @Valid and @NotNull for jaxrs-resteasy and jaxrs-resteasy-eap.

Must fix #1204 .

@bbdouglas @JFCote @sreeshas @jfiala @lukoyanov @cbornet @jeff9finger

@wing328 wing328 added this to the 3.3.2 milestone Oct 16, 2018
@wing328
Copy link
Copy Markdown
Member

wing328 commented Oct 23, 2018

CircleCI tests passed via https://circleci.com/gh/OpenAPITools/openapi-generator/3028

@wing328 wing328 merged commit 0aec772 into OpenAPITools:master Oct 23, 2018
@wing328
Copy link
Copy Markdown
Member

wing328 commented Oct 31, 2018

@Zomzog thanks for the PR, which is included in the v3.3.2 release: https://twitter.com/oas_generator/status/1057649626101112832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Java][jaxrs-resteasy] add @Valid when bean validation is enabled

2 participants