github.com/stackb/rules_proto@v0.0.0-20240221195024-5428336c51f1/example/golden/testdata/proto_repository/proto/foo/app.proto (about) 1 syntax = "proto3"; 2 3 package proto; 4 5 option go_package = "github.com/example/app"; 6 7 import "google/api/annotations.proto"; 8 import "google/api/field_behavior.proto"; 9 10 message Request { 11 string id = 1 [(google.api.field_behavior) = REQUIRED]; 12 } 13 14 message Response { 15 string id = 1 [(google.api.field_behavior) = REQUIRED]; 16 } 17 18 service Echoer { 19 rpc Echo(Request) returns (Response) { 20 option (google.api.http) = { 21 post: "/v1/example/echo" 22 body: "*" 23 }; 24 } 25 }