Skip to content

Commit d41ecd3

Browse files
author
Alexander Furer
committed
docs formatting fixes
1 parent d6e7a1d commit d41ecd3

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ See also https://docs.jboss.org/hibernate/stable/validator/reference/en-US/html_
343343
You can find link:grpc-spring-boot-starter-demo/src/main/resources/META-INF/validation/constraints-person.xml[demo configuration] and corresponding tests
344344
link:grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc/ValidationTest.java[here]
345345

346-
Note, that both `request` and *response* messages are being validated.
346+
Note, that both `request` and `response` messages are being validated.
347347

348348
If your gRPC method uses the same request and response message type, you can use `org.lognet.springboot.grpc.validation.group.RequestMessage` and
349349
`org.lognet.springboot.grpc.validation.group.ResponseMessage` validation groups to apply different validation logic :
@@ -523,7 +523,7 @@ final Authentication auth = GrpcSecurity.AUTHENTICATION_CONTEXT_KEY.get();
523523
By adding `io.github.lognet:grpc-client-spring-boot-starter` dependency to your *java grpc client* application you can easily configure per-channel or per-call credentials :
524524

525525
* Per-channel :
526-
526+
+
527527
[source,java]
528528
----
529529
class MyClient{
@@ -550,7 +550,7 @@ class MyClient{
550550
<3> Provide token generator function (Please refer to link:grpc-spring-boot-starter-demo/src/test/java/org/lognet/springboot/grpc/auth/JwtAuthBaseTest.java[for example].)
551551

552552
* Per-call :
553-
553+
+
554554
[source,java]
555555
----
556556
class MyClient{
@@ -618,7 +618,7 @@ Below are the essential parts of configurations for both server and client proje
618618
----
619619

620620
* Configure gRPC server to register itself with Eureka.
621-
621+
+
622622
[source,yaml]
623623
.bootstrap.yaml
624624
----
@@ -627,7 +627,7 @@ spring:
627627
name: my-service-name <1>
628628
----
629629
<1> Eureka's `ServiceId` by default is the spring application name, provide it before the service registers itself with Eureka.
630-
630+
+
631631
[source,yaml]
632632
.application.yaml
633633
----
@@ -646,7 +646,7 @@ eureka:
646646

647647

648648
* Expose the gRPC service as part of Spring Boot Application.
649-
649+
+
650650
[source,java]
651651
.EurekaGrpcServiceApp.java
652652
----

0 commit comments

Comments
 (0)