You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
introduce configuration option for dependentRequired keyword
introduce new Option.STRICT_TYPE_INFO for implying the type of sub-schemas based on their contained attributes (note: implied "type" array always contains "null")
extend convenience methods for annotation lookup, to consider meta annotations (annotations on annotations)
Changed
enable allOf clean-up when any of the following keywords are contained: dependentRequired/dependentSchemas/prefixItems/unevaluatedItems/unevaluatedProperties
extend consideration of sub-schemas for allOf clean-up to more recognized keywords
jsonschema-module-jackson
Added
introduce new JacksonOption.INLINE_TRANSFORMED_SUBTYPES in order to avoid definitions with -1/-2 suffixes being generated in case of subtypes involving transformation (e.g., additional property, wrapping array, wrapping object)
To be used with care, as a recursive reference can cause a StackOverflowError. In some scenarios, such an error can be avoided by also enabling the Option.DEFINITIONS_FOR_MEMBER_SUPERTYPES.
Fixed
use prefixItems instead of items keyword (from Draft 2019-09 onward) for tuples in WRAPPING_ARRAY subtype definitions
jsonschema-module-jakarta-validation
Added
support meta annotations (validation annotations on other annotations marked as @Constraint)
jsonschema-module-javax-validation
Added
support meta annotations (validation annotations on other annotations marked as @Constraint)