RhSolutions-AddIn/RhSolutions.AddIn/Protos/product.proto

17 lines
284 B
Protocol Buffer

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