api add tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2021-01-10 10:18:42 +03:00
parent e7dc3c5fb3
commit 957c488cbe
10 changed files with 237 additions and 130 deletions

View File

@@ -3,9 +3,12 @@ syntax = "proto3";
package helloworld;
option go_package = ".;helloworld";
import "google/api/annotations.proto";
service Test {
rpc Call(Request) returns (Response) {}
rpc Call(Request) returns (Response) {
option (google.api.http) = { post: "/api/v0/test/call/TEST"; body: "*"; };
};
}
message Request {