0
0
RhSolutions-Api/RhSolutions.Api/Protos/product.proto

15 lines
233 B
Protocol Buffer

syntax = "proto3";
service ProductSearch {
rpc GetProduct (ProductRequest) returns (ProductReply);
}
message ProductRequest {
string query = 1;
}
message ProductReply {
string id = 1;
string name = 2;
double price = 3;
}