Skip to content

Commit

Permalink
fix: required field time is not set error (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiuxia211 authored Dec 10, 2024
1 parent 8c8787d commit 575bafa
Show file tree
Hide file tree
Showing 4 changed files with 185 additions and 159 deletions.
8 changes: 4 additions & 4 deletions idl/academic.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ struct GetScoresRequest {

struct GetScoresResponse {
1: required model.BaseResp base
2: required list<model.Score> scores
2: optional list<model.Score> scores
}

struct GetGPARequest {
Expand All @@ -18,7 +18,7 @@ struct GetGPARequest {

struct GetGPAResponse {
1: required model.BaseResp base
2: required model.GPABean gpa
2: optional model.GPABean gpa
}

struct GetCreditRequest {
Expand All @@ -28,7 +28,7 @@ struct GetCreditRequest {

struct GetCreditResponse {
1: required model.BaseResp base
2: required list<model.Credit> major
2: optional list<model.Credit> major
}

struct GetUnifiedExamRequest {
Expand All @@ -38,7 +38,7 @@ struct GetUnifiedExamRequest {

struct GetUnifiedExamResponse {
1: required model.BaseResp base
2: required list<model.UnifiedExam> unifiedExam
2: optional list<model.UnifiedExam> unifiedExam
}

service AcademicService {
Expand Down
Loading

0 comments on commit 575bafa

Please sign in to comment.