Skip to content

Commit 14fb782

Browse files
author
Alexander Furer
committed
README fixes
1 parent 8d2518f commit 14fb782

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,10 @@ Thanks to https://beanvalidation.org/2.0/spec/[Bean Validation] configuration su
317317
provide the constraints for generated classes via XML instead of instrumenting the generated messages with custom `protoc` compiler.
318318

319319
. 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 ) +
321321
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
322322

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
324324
link:grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc/ValidationTest.java[here]
325325

326326
Note, that both `request` and *response* messages are being validated.

0 commit comments

Comments
 (0)