Are you mapping your request JSON object into a class object?
If so, check if the boolean class members are declared as boolean
instead of Boolean
.
We faced the same issue here. After changing the class members to Boolean
the validation started working as expected.