diff --git a/src/docs/asciidoc/core/core-validation.adoc b/src/docs/asciidoc/core/core-validation.adoc index 3e7d0d87e83..d597322c956 100644 --- a/src/docs/asciidoc/core/core-validation.adoc +++ b/src/docs/asciidoc/core/core-validation.adoc @@ -1618,6 +1618,7 @@ 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 diff --git a/src/docs/asciidoc/web/webflux.adoc b/src/docs/asciidoc/web/webflux.adoc index 3d047c642b7..978ee19ce6e 100644 --- a/src/docs/asciidoc/web/webflux.adoc +++ b/src/docs/asciidoc/web/webflux.adoc @@ -3102,7 +3102,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: