Fix default values for enum service args #298 (#299)

This commit is contained in:
Kim Gustyr
2021-12-04 00:26:48 +03:00
committed by GitHub
parent b0a36d12e4
commit bc3cfc5562
3 changed files with 26 additions and 4 deletions

View File

@@ -2,9 +2,16 @@ syntax = "proto3";
package service;
enum ThingType {
UNKNOWN = 0;
LIVING = 1;
DEAD = 2;
}
message DoThingRequest {
string name = 1;
repeated string comments = 2;
ThingType type = 3;
}
message DoThingResponse {