fix some responses
This commit is contained in:
@@ -4060,6 +4060,53 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/scores/homework": {
|
||||
"get": {
|
||||
"operationId": "getHomeworkScores",
|
||||
"tags": ["Scores"],
|
||||
"summary": "HomeworkController::index",
|
||||
"security": [{"bearerAuth": []}],
|
||||
"parameters": [
|
||||
{
|
||||
"name": "class_section_id",
|
||||
"in": "query",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"type": "integer",
|
||||
"minimum": 1
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "semester",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "school_year",
|
||||
"in": "query",
|
||||
"schema": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {"description": "OK"},
|
||||
"401": {"$ref": "#/components/responses/UnauthorizedError"},
|
||||
"422": {
|
||||
"description": "Validation error",
|
||||
"content": {
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/ErrorResponse"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/api/v1/time": {
|
||||
"get": {
|
||||
"operationId": "getServerTime",
|
||||
|
||||
Reference in New Issue
Block a user