fix: скрыл отзывы от студентов
🚀 Create and publish a Docker image / Detect changes in backend and frontend (push) Successful in 11s
🚀 Create and publish a Docker image / Build & publish backend image (push) Successful in 1m17s
🚀 Create and publish a Docker image / Build & publish frontend image (push) Successful in 29s
🚀 Create and publish a Docker image / Update stack on Portainer (push) Successful in 9s

This commit is contained in:
2026-05-13 19:16:48 +03:00
parent 7761238719
commit f6aaf0b923
7 changed files with 61 additions and 7 deletions
+33 -3
View File
@@ -1827,7 +1827,7 @@
"Lectures"
],
"summary": "Получить отзывы к лекции.",
"description": "**Required:** any authenticated user",
"description": "Только Admin или Teacher.\n\n**Required roles:** Admin, Teacher",
"parameters": [
{
"name": "id",
@@ -1877,6 +1877,16 @@
}
}
},
"403": {
"description": "Требуется роль Admin или Teacher.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"404": {
"description": "Лекция не найдена.",
"content": {
@@ -2501,7 +2511,7 @@
"Reviews"
],
"summary": "Получить отзыв по ID.",
"description": "**Required:** any authenticated user",
"description": "Только Admin или Teacher.\n\n**Required roles:** Admin, Teacher",
"parameters": [
{
"name": "id",
@@ -2535,6 +2545,16 @@
}
}
},
"403": {
"description": "Требуется роль Admin или Teacher.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"404": {
"description": "Отзыв не найден.",
"content": {
@@ -3679,7 +3699,7 @@
"Users"
],
"summary": "Получить отзывы пользователя.",
"description": "**Required:** any authenticated user",
"description": "Только Admin или Teacher.\n\n**Required roles:** Admin, Teacher",
"parameters": [
{
"name": "id",
@@ -3728,6 +3748,16 @@
}
}
}
},
"403": {
"description": "Требуется роль Admin или Teacher.",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
}
},
"security": [