Browse Source

Merge pull request #24460 from dreis2211

* pr/24460:
  Polish documentation format

Closes gh-24460
pull/24463/head
Stephane Nicoll 6 years ago
parent
commit
3a90d8a64d
  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

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

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

@ -3737,7 +3737,7 @@ use `FormatterRegistrar` implementations. @@ -3737,7 +3737,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