Compare commits
No commits in common. "74332e33051110a36082a46dbc0379b1c816406b" and "87d211df0de83b719e191bb5f150aa1d7a9bd202" have entirely different histories.
74332e3305
...
87d211df0d
1 changed files with 9 additions and 5 deletions
|
@ -25,8 +25,9 @@ message CreateProblemRequest {
|
||||||
}
|
}
|
||||||
|
|
||||||
oneof msg {
|
oneof msg {
|
||||||
Problem problem = 1;
|
string token = 1;
|
||||||
Test test = 2;
|
Problem problem = 2;
|
||||||
|
Test test = 3;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
message CreateProblemResponse {
|
message CreateProblemResponse {
|
||||||
|
@ -34,7 +35,8 @@ message CreateProblemResponse {
|
||||||
}
|
}
|
||||||
|
|
||||||
message ReadProblemRequest {
|
message ReadProblemRequest {
|
||||||
int32 id = 1;
|
string token = 1;
|
||||||
|
int32 id = 2;
|
||||||
}
|
}
|
||||||
message ReadProblemResponse {
|
message ReadProblemResponse {
|
||||||
message Problem {
|
message Problem {
|
||||||
|
@ -46,7 +48,8 @@ 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;
|
||||||
}
|
}
|
||||||
Problem problem = 1;
|
string token = 1;
|
||||||
|
Problem problem = 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
//message UpdateProblemRequest {
|
//message UpdateProblemRequest {
|
||||||
|
@ -62,5 +65,6 @@ message ReadProblemResponse {
|
||||||
//}
|
//}
|
||||||
|
|
||||||
message DeleteProblemRequest {
|
message DeleteProblemRequest {
|
||||||
int32 id = 1;
|
string token = 1;
|
||||||
|
int32 id = 2;
|
||||||
}
|
}
|
Loading…
Reference in a new issue