When using allOf and bean validation, the properties of the composed type do not get annotated with NotNull even though they are marked as required in the schema. While creating and checking a test-case, I came up with a potential fix.
The tests are copied and modified from 2 existing ones.
When using allOf and bean validation, the properties of the composed type do not get annotated with NotNull even though they are marked as required in the schema. While creating and checking a test-case, I came up with a potential fix. The tests are copied and modified from 2 existing ones.