@@ -129,7 +129,7 @@ defmodule CadetWeb.AdminGradingController do
129
129
end
130
130
131
131
swagger_path :index do
132
- get ( "/grading" )
132
+ get ( "/admin/ grading" )
133
133
134
134
summary ( "Get a list of all submissions with current user as the grader." )
135
135
@@ -152,7 +152,7 @@ defmodule CadetWeb.AdminGradingController do
152
152
end
153
153
154
154
swagger_path :unsubmit do
155
- post ( "/grading/{submissionId}/unsubmit" )
155
+ post ( "/admin/ grading/{submissionId}/unsubmit" )
156
156
summary ( "Unsubmit submission. Can only be done by the Avenger of a student." )
157
157
security ( [ % { JWT: [ ] } ] )
158
158
@@ -167,7 +167,7 @@ defmodule CadetWeb.AdminGradingController do
167
167
end
168
168
169
169
swagger_path :autograde_submission do
170
- post ( "/grading/{submissionId}/autograde" )
170
+ post ( "/admin/ grading/{submissionId}/autograde" )
171
171
summary ( "Force re-autograding of an entire submission" )
172
172
security ( [ % { JWT: [ ] } ] )
173
173
@@ -182,7 +182,7 @@ defmodule CadetWeb.AdminGradingController do
182
182
end
183
183
184
184
swagger_path :autograde_answer do
185
- post ( "/grading/{submissionId}/{questionId}/autograde" )
185
+ post ( "/admin/ grading/{submissionId}/{questionId}/autograde" )
186
186
summary ( "Force re-autograding of a question in a submission" )
187
187
security ( [ % { JWT: [ ] } ] )
188
188
@@ -198,7 +198,7 @@ defmodule CadetWeb.AdminGradingController do
198
198
end
199
199
200
200
swagger_path :show do
201
- get ( "/grading/{submissionId}" )
201
+ get ( "/admin/ grading/{submissionId}" )
202
202
203
203
summary ( "Get information about a specific submission to be graded." )
204
204
@@ -217,7 +217,7 @@ defmodule CadetWeb.AdminGradingController do
217
217
end
218
218
219
219
swagger_path :update do
220
- post ( "/grading/{submissionId}/{questionId}" )
220
+ post ( "/admin/ grading/{submissionId}/{questionId}" )
221
221
222
222
summary ( "Update marks given to the answer of a particular question in a submission." )
223
223
@@ -239,7 +239,7 @@ defmodule CadetWeb.AdminGradingController do
239
239
end
240
240
241
241
swagger_path :grading_summary do
242
- get ( "/grading/summary" )
242
+ get ( "/admin/ grading/summary" )
243
243
244
244
summary ( "Receives a summary of grading items done by this grader." )
245
245
0 commit comments