Skip to content

Commit

Permalink
Improve RequestPartMethodArgumentResolver 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 8425ab7 commit df0d8b2
Showing 1 changed file with 3 additions and 2 deletions.
Expand Up @@ -58,8 +58,9 @@
* it is derived from the name of the method argument.
*
* <p>Automatic validation may be applied if the argument is annotated with
* {@code @javax.validation.Valid}. In case of validation failure, a {@link MethodArgumentNotValidException}
* is raised and a 400 response status code returned if
* {@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,
* a {@link MethodArgumentNotValidException} is raised and a 400 response status code returned if
* {@link org.springframework.web.servlet.mvc.support.DefaultHandlerExceptionResolver} is configured.
*
* @author Rossen Stoyanchev
Expand Down

0 comments on commit df0d8b2

Please sign in to comment.