You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "monkeyDluffy6017 (via GitHub)" <gi...@apache.org> on 2023/07/26 03:28:05 UTC
[GitHub] [apisix] monkeyDluffy6017 commented on a diff in pull request #9902: docs: add example for protos
monkeyDluffy6017 commented on code in PR #9902:
URL: https://github.com/apache/apisix/pull/9902#discussion_r1274333691
##########
docs/en/latest/deployment-modes.md:
##########
@@ -434,3 +434,23 @@ upstreams:
id: 1
#END
```
+
+### How to configure protos
+
+```yaml
+protos:
+ - id: helloworld
+ desc: hello world
+ content: >
+ syntax = "proto3";
+ package helloworld;
+ service Greeter {
+ rpc SayHello (HelloRequest) returns (HelloReply) {}
+ }
+ message HelloRequest {
+ string name = 1;
+ }
+ message HelloReply {
+ string message = 1;
Review Comment:
Do we need indent and blank here?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org