You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -313,8 +313,8 @@ This is the current limitation.
313
313
314
314
== Implementing message validation
315
315
316
-
Thanks to https://beanvalidation.org/2.0/spec/[Bean Validation] configuration support via https://beanvalidation.org/2.0/spec/#xml[XML deployment] descriptor, one it's possible to
317
-
provide the constraints for generated classes instead of instrumenting the generated messages with custom `protoc` compiler.
316
+
Thanks to https://beanvalidation.org/2.0/spec/[Bean Validation] configuration support via https://beanvalidation.org/2.0/spec/#xml[XML deployment descriptor] , it's possible to
317
+
provide the constraints for generated classes via XML instead of instrumenting the generated messages with custom `protoc` compiler.
318
318
319
319
. Add `org.springframework.boot:spring-boot-starter-validation` dependency to your project.
320
320
. Create `META-INF/validation.xml` and constraints declarations file(s). (IntelliJ IDEA has great auto-complete support for authorizing bean validation constraints xml files )+
0 commit comments