Validating a Spring Boot endpoint with multiple request parts
I have a @RestController
with the following endpoint
Injecting a bean in Customer ConstraintValidator. No invocation. Is it possible?
I have created Custom ContrainValidator and added the code below. I am passing a bean where I have all my Validation logic. However, it is not working. The Validator is not being invoked.
How to apply @Validated on a List request body?
Given: