micro-tests/server/grpc/proto/test.proto
Vasiliy Tolstov 267b29b658 update after protoc-gen-micro changes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-27 13:51:39 +03:00

29 lines
489 B
Protocol Buffer

syntax = "proto3";
package helloworld;
option go_package = "github.com/unistack-org/micro-tests/server/grpc/proto;helloworld";
import "google/api/annotations.proto";
service Test {
rpc Call(Request) returns (Response) {
option (google.api.http) = { post: "/api/v0/test/call/TEST"; body: "*"; };
};
}
message Request {
string uuid = 1;
string name = 2;
Broken broken = 4;
};
message Broken {
string field = 1;
};
message Response {
string msg = 1;
Broken broken = 4;
};