An {@code @RequestBody} method argument is also validated if it isannotated with {@code @javax.validation.Valid}. In case of validation failure, {@link MethodArgumentNotValidException} is raised and resultsin a 400 response status code if {@link DefaultHandlerExceptionResolver}is configured. @author Arjen Poutsma @author Rossen Stoyanchev @since 3.1
|
|