@@ -1,17 +1,9 @@
|
||||
syntax = "proto3";
|
||||
|
||||
import "google/api/annotations.proto";
|
||||
package helloworld;
|
||||
|
||||
service Test {
|
||||
rpc Call(Request) returns (Response) {
|
||||
option (google.api.http) = { post: "/api/v0/test/call/{uuid}"; body:"*"; };
|
||||
};
|
||||
rpc CallPcre(Request) returns (Response) {
|
||||
option (google.api.http) = { post: "^/api/v0/test/call/pcre/?$"; body:"*"; };
|
||||
};
|
||||
rpc CallPcreInvalid(Request) returns (Response) {
|
||||
option (google.api.http) = { post: "^/api/v0/test/call/pcre/invalid/?"; body:"*"; };
|
||||
};
|
||||
rpc Call(Request) returns (Response) {}
|
||||
}
|
||||
|
||||
message Request {
|
||||
|
Reference in New Issue
Block a user