Compare commits
2 commits
87d211df0d
...
74332e3305
Author | SHA1 | Date | |
---|---|---|---|
|
74332e3305 | ||
|
952651dd2f |
1 changed files with 5 additions and 9 deletions
|
@ -25,9 +25,8 @@ message CreateProblemRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
oneof msg {
|
oneof msg {
|
||||||
string token = 1;
|
Problem problem = 1;
|
||||||
Problem problem = 2;
|
Test test = 2;
|
||||||
Test test = 3;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
message CreateProblemResponse {
|
message CreateProblemResponse {
|
||||||
|
@ -35,8 +34,7 @@ message CreateProblemResponse {
|
||||||
}
|
}
|
||||||
|
|
||||||
message ReadProblemRequest {
|
message ReadProblemRequest {
|
||||||
string token = 1;
|
int32 id = 1;
|
||||||
int32 id = 2;
|
|
||||||
}
|
}
|
||||||
message ReadProblemResponse {
|
message ReadProblemResponse {
|
||||||
message Problem {
|
message Problem {
|
||||||
|
@ -48,8 +46,7 @@ message ReadProblemResponse {
|
||||||
google.protobuf.Timestamp created_at = 6;
|
google.protobuf.Timestamp created_at = 6;
|
||||||
google.protobuf.Timestamp updated_at = 7;
|
google.protobuf.Timestamp updated_at = 7;
|
||||||
}
|
}
|
||||||
string token = 1;
|
Problem problem = 1;
|
||||||
Problem problem = 2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//message UpdateProblemRequest {
|
//message UpdateProblemRequest {
|
||||||
|
@ -65,6 +62,5 @@ message ReadProblemResponse {
|
||||||
//}
|
//}
|
||||||
|
|
||||||
message DeleteProblemRequest {
|
message DeleteProblemRequest {
|
||||||
string token = 1;
|
int32 id = 1;
|
||||||
int32 id = 2;
|
|
||||||
}
|
}
|
Loading…
Reference in a new issue