protobuf.js/tests/data/service.proto

17 lines
270 B
Protocol Buffer

syntax = "proto3";
package myservice;
message DoSomethingRequest {
}
message DoSomethingResponse {
}
service MyService {
rpc DoSomething(DoSomethingRequest) returns (DoSomethingResponse) {
option (google.api.http) = {
get: "/v1/dosomething"
};
};
}