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 inline optional param annotation #139

Merged
merged 2 commits into from
Sep 15, 2020

Conversation

CarstenWickner
Copy link
Member

Closing #138.

Similar to #60, this is limited to the top-level.

  • Optional<@Size(min = 5) String> will be picked up
  • List<Optional<@Size(min = 5) String>> will not be picked up

While this is added as a general feature, it only results in an actual feature change in the jsonschema-module-javax-validation.

@CarstenWickner CarstenWickner linked an issue Sep 15, 2020 that may be closed by this pull request
@CarstenWickner CarstenWickner merged commit dd58895 into master Sep 15, 2020
@CarstenWickner CarstenWickner deleted the support-inline-optional-param-annotation branch September 15, 2020 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Support Optional as a container in validation module
1 participant