fix some responses

This commit is contained in:
root
2026-03-11 18:44:16 -04:00
parent 2ef71cc92b
commit 863e330dd8
7 changed files with 415 additions and 17 deletions
+47
View File
@@ -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",