This repository was archived by the owner on Mar 30, 2020. It is now read-only.
Releases: victools/jsonschema-module-javax-validation
Releases · victools/jsonschema-module-javax-validation
4.7.0 – Compatibility Declaration
No feature changes, just bumping of minor version to indicate compatibility with jsonschema-generator
version 4.7+
4.4.0 – Compatibility Declaration
No changes, just bumping of minor version to indicate compatibility with jsonschema-generator
version 4.4+
4.0.0 – Compatibility declaration
No changes, just bumping of major version to indicate compatibility with jsonschema-generator
version 4.*
3.2.0 – Additional Property and Validation Groups Support
Added
- Option for treating not-nullable fields as "required" in their parent type
- Option for treating not-nullable methods as "required" in their parent type
- Indicate a string's "format" to be "email" if
@Email
is present - Option for returning "idn-email" instead of "email" as "format" if
@Email
is present - Indicate a string's "pattern" according to regular expressions on
@Pattern
or@Email
(ignoring specified flags) - Option for enabling the inclusion of "pattern" expressions (they are excluded by default)
- Allow filtering applicable annotations by their declared validation
groups
viaJavaxValidationModule.forValidationGroups()
3.0.0 – Compliance with Generator API Changes
Added
- Consider the same validation annotations on a getter method also for its field
- Consider the same validation annotations on a field also for its getter method
Changed
- Internal changes to comply with latest
jsonschema-generator
releasev3.x
1.0.0 – Base Release
- Indicate a field/method to be nullable if
@Null
is present - Indicate a field/method to be not nullable if
@NotNull
,@NotEmpty
or@NotBlank
is present - Indicate an array's "minItems" according to
@Size
or@NotEmpty
- Indicate an array's "maxItems" according to
@Size
- Indicate a string's "minLength" according to
@Size
,@NotEmpty
or@NotBlank
- Indicate a string's "maxLength" according to
@Size
- Indicate a number's "minimum" (inclusive) according to
@Min
,@DecimalMin
or@PositiveOrZero
- Indicate a number's "exclusiveMinimum" according to
@DecimalMin
or@Positive
- Indicate a number's "maximum" (inclusive) according to
@Max
,@DecimalMax
or@NegativeOrZero
- Indicate a number's "exclusiveMaximum" according to
@DecimalMax
or@Negative