diff --git a/src/docs/asciidoc/core/core-validation.adoc b/src/docs/asciidoc/core/core-validation.adoc index ee2c5245c62..ca278363297 100644 --- a/src/docs/asciidoc/core/core-validation.adoc +++ b/src/docs/asciidoc/core/core-validation.adoc @@ -1971,6 +1971,7 @@ requires the Spring Validation API, as the following example shows: ==== Configuring Custom Constraints Each bean validation constraint consists of two parts: + * A `@Constraint` annotation that declares the constraint and its configurable properties. * An implementation of the `javax.validation.ConstraintValidator` interface that implements the constraint's behavior. diff --git a/src/docs/asciidoc/web/webflux.adoc b/src/docs/asciidoc/web/webflux.adoc index 7c279560fd4..2a001476bc0 100644 --- a/src/docs/asciidoc/web/webflux.adoc +++ b/src/docs/asciidoc/web/webflux.adoc @@ -3737,7 +3737,7 @@ use `FormatterRegistrar` implementations. By default, if <> is present on the classpath (for example, the Hibernate Validator), the `LocalValidatorFactoryBean` is registered as a global <> for use with `@Valid` and -`Validated` on `@Controller` method arguments. +`@Validated` on `@Controller` method arguments. In your Java configuration, you can customize the global `Validator` instance, as the following example shows: