From 542ba3517f5c8c9ba74a3744c044e12cf8cd69d6 Mon Sep 17 00:00:00 2001 From: Cong-Xin Cynthia Qiu Date: Thu, 30 May 2024 14:01:16 -0400 Subject: [PATCH] Fix typo in Jakarta validation documentation Closes gh-32928 --- .../modules/ROOT/pages/core/validation/beanvalidation.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc b/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc index ae12ee8ea2b..d7070b29a27 100644 --- a/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc +++ b/framework-docs/modules/ROOT/pages/core/validation/beanvalidation.adoc @@ -341,7 +341,7 @@ xref:web/webflux/ann-rest-exceptions.adoc[Error Responses] sections. === Method Validation Exceptions By default, `jakarta.validation.ConstraintViolationException` is raised with the set of -``ConstraintViolation``s returned by `jakarata.validation.Validator`. As an alternative, +``ConstraintViolation``s returned by `jakarta.validation.Validator`. As an alternative, you can have `MethodValidationException` raised instead with ``ConstraintViolation``s adapted to `MessageSourceResolvable` errors. To enable set the following flag: