Skip to content

Commit

Permalink
Improve RequestResponseBodyMethodProcessor Javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
hrybs authored and lxbzmy committed Mar 26, 2022
1 parent 2d38004 commit 8425ab7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -51,7 +51,8 @@
* to the body of the request or response with an {@link HttpMessageConverter}.
*
* <p>An {@code @RequestBody} method argument is also validated if it is annotated
* with {@code @javax.validation.Valid}. In case of validation failure,
* with {@code @javax.validation.Valid}, Spring's {@link org.springframework.validation.annotation.Validated}
* or custom annotations whose name starts with "Valid". In case of validation failure,
* {@link MethodArgumentNotValidException} is raised and results in an HTTP 400
* response status code if {@link DefaultHandlerExceptionResolver} is configured.
*
Expand Down

0 comments on commit 8425ab7

Please sign in to comment.