|
@@ -1,12 +1,12 @@
|
|
|
syntax = "proto3";
|
|
|
package llnwApi.Delivery;
|
|
|
service DeliveryService {
|
|
|
- rpc ListDelivery(ShortNameRequest)returns(DeliveryList);
|
|
|
- rpc ValidateDelivery(DeliveryRequest)returns(DeliveryEntity);
|
|
|
- rpc CreateDelivery(DeliveryRequest)returns(DeliveryEntity);
|
|
|
- rpc GetDelivery(IdRequest)returns(DeliveryEntity);
|
|
|
- rpc UpdateDelivery(DeliveryRequest)returns(DeliveryEntity);
|
|
|
- rpc DeleteDelivery(IdRequest)returns(DeliveryEntity);
|
|
|
+ rpc ListDelivery(ShortNameRequest)returns(DeliveryList){};
|
|
|
+ rpc ValidateDelivery(DeliveryRequest)returns(DeliveryEntity){};
|
|
|
+ rpc CreateDelivery(DeliveryRequest)returns(DeliveryEntity){};
|
|
|
+ rpc GetDelivery(IdRequest)returns(DeliveryEntity){};
|
|
|
+ rpc UpdateDelivery(DeliveryRequest)returns(DeliveryEntity){};
|
|
|
+ rpc DeleteDelivery(IdRequest)returns(DeliveryEntity){};
|
|
|
}
|
|
|
message Base{
|
|
|
string username = 1;
|