Avoid duplicated documentation of validation annotations

See gh-27042, gh-27043, gh-27050
This commit is contained in:
Sam Brannen
2021-06-15 17:30:41 +02:00
parent b677206159
commit df588e030f
3 changed files with 11 additions and 11 deletions

View File

@@ -58,10 +58,10 @@ import org.springframework.web.server.UnsupportedMediaTypeStatusException;
* Abstract base class for argument resolvers that resolve method arguments
* by reading the request body with an {@link HttpMessageReader}.
*
* <p>Applies validation if the method argument is annotated with
* {@code @javax.validation.Valid} or
* {@link org.springframework.validation.annotation.Validated}. Validation
* failure results in an {@link ServerWebInputException}.
* <p>Applies validation if the method argument is annotated with any
* {@linkplain org.springframework.validation.annotation.ValidationAnnotationUtils#determineValidationHints
* annotations that trigger validation}. Validation failure results in a
* {@link ServerWebInputException}.
*
* @author Rossen Stoyanchev
* @author Sebastien Deleuze