From a59a33846e65ddac1ec71b1c3a079bd810df437b Mon Sep 17 00:00:00 2001 From: Christoph Dreis Date: Thu, 30 Jan 2020 14:17:22 +0100 Subject: [PATCH] Polish documentation format See gh-24462 --- src/docs/asciidoc/core/core-validation.adoc | 1 + src/docs/asciidoc/web/webflux.adoc | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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: