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
@@ -317,10 +317,10 @@ Thanks to https://beanvalidation.org/2.0/spec/[Bean Validation] configuration su
317
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
-
. Create `META-INF/validation.xml` and constraints declarations file(s). (IntelliJ IDEA has great auto-complete support for authorizing bean validation constraints xml files )+
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 )+
321
321
See also https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_single/?v=6.1#chapter-xml-configuration[samples] from `Hibernate` validator documentation
322
322
323
-
You can find link:grpc-spring-boot-starter-demo/src/main/resources/META-INF/validation/constraints-message-to-validate.xml[demo configuration] and corresponding tests
323
+
You can find link:grpc-spring-boot-starter-demo/src/main/resources/META-INF/validation/constraints-person.xml[demo configuration] and corresponding tests
0 commit comments