Browse Source

Polish documentation format

See gh-24462
pull/26383/head
Christoph Dreis 6 years ago committed by Stephane Nicoll
parent
commit
a59a33846e
  1. 1
      src/docs/asciidoc/core/core-validation.adoc
  2. 2
      src/docs/asciidoc/web/webflux.adoc

1
src/docs/asciidoc/core/core-validation.adoc

@ -1618,6 +1618,7 @@ the Spring Validation API, as the following example shows: @@ -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

2
src/docs/asciidoc/web/webflux.adoc

@ -3102,7 +3102,7 @@ use `FormatterRegistrar` implementations. @@ -3102,7 +3102,7 @@ use `FormatterRegistrar` implementations.
By default, if <<core.adoc#validation-beanvalidation-overview, Bean Validation>> is present
on the classpath (for example, the Hibernate Validator), the `LocalValidatorFactoryBean`
is registered as a global <<core.adoc#validator,validator>> 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:

Loading…
Cancel
Save