micro-server-grpc/proto/test.proto
Vasiliy Tolstov 33e3df9bdb regenerate all proto based files (#1531)
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-20 15:11:09 +03:00

20 lines
299 B
Protocol Buffer

syntax = "proto3";
import "google/api/annotations.proto";
service Test {
rpc Call(Request) returns (Response) {
option (google.api.http) = { post: "/api/v0/test/call/{uuid}"; body:"*"; };
};
}
message Request {
string uuid = 1;
string name = 2;
}
message Response {
string msg = 1;
}