Update proto definitions
This commit is contained in:
@@ -6,12 +6,15 @@ option go_package = "./ozon/products";
|
||||
|
||||
service ProductsService {
|
||||
// Retrieves a list of products based on the provided request.
|
||||
rpc GetListOfProducts(GetListOfProductsRequest) returns (stream Product);
|
||||
rpc GetListOfProducts(GetListOfProductsRequest) returns (stream GetListOfProductsResponse);
|
||||
}
|
||||
|
||||
message GetListOfProductsRequest{
|
||||
|
||||
}
|
||||
message GetListOfProductsResponse {
|
||||
repeated Product products = 1;
|
||||
}
|
||||
|
||||
message Product {
|
||||
int64 id = 1;
|
||||
|
||||
Reference in New Issue
Block a user