feat: добавил отображение аватарки
gitea-push-docker.yml (push) Invalid workflow file
Backend CI / build-and-test (push) Successful in 3m34s
Frontend CI / build-and-check (push) Failing after 21s

This commit is contained in:
serega404 committed 2026-10-01 00:17:16 +03:00
1 parent 34e450815b
commit 038f0d89a6
22 files changed
+598 -28

No files matched your search

+72
View File
@@ -2439,6 +2439,75 @@
]
}
},
"/api/v1/users/me/photo": {
"get": {
"tags": [
"ProfilePhoto"
],
"summary": "Получить фото текущего пользователя из Microsoft Entra.",
"description": "**Required:** any authenticated user",
"responses": {
"200": {
"description": "OK"
},
"401": {
"description": "Unauthorized",
"content": {
"image/jpeg": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"image/png": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"image/gif": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"image/webp": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
},
"404": {
"description": "Not Found",
"content": {
"image/jpeg": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"image/png": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"image/gif": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
},
"image/webp": {
"schema": {
"$ref": "#/components/schemas/ProblemDetails"
}
}
}
}
},
"security": [
{
"Bearer": [ ]
}
]
}
},
"/api/v1/reviews": {
"post": {
"tags": [
@@ -6542,6 +6611,9 @@
{
"name": "Notifications"
},
{
"name": "ProfilePhoto"
},
{
"name": "Reviews"
},