From 0c714e3a7808199cb7e8b128026f7b0cae39e5de Mon Sep 17 00:00:00 2001 From: rstoyanchev Date: Mon, 4 Sep 2023 13:25:19 +0100 Subject: [PATCH] Fix documentation syntax issue See gh-16917 --- .../modules/ROOT/pages/core/validation/beanvalidation.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc b/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc index 028a725461e..ef6bbb8630e 100644 --- a/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc +++ b/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc @@ -338,7 +338,7 @@ xref:web/webflux/ann-rest-exceptions.adoc[Error Responses] sections. [[validation-beanvalidation-spring-method-exceptions]] -==== Method Validation Exceptions +=== Method Validation Exceptions By default, `jakarta.validation.ConstraintViolationException` is raised with the set of ``ConstraintViolation``s returned by `jakarata.validation.Validator`. As an alternative, @@ -386,7 +386,7 @@ implements `org.springframework.validation.Errors` and exposes validation errors [[validation-beanvalidation-spring-method-i18n]] -==== Customizing Validation Errors +=== Customizing Validation Errors The adapted `MessageSourceResolvable` errors can be turned into error messages to display to users through the configured `MessageSource` with locale and language specific