ConstraintViolationException should not always be thrown for empty request entities

The `ConstraintViolationException` with an empty request entity should only be thrown
if the entity should be validated at all and is annotated with `@Valid` or `@Validated`.