swagger docs update

This commit is contained in:
nquidox 2025-09-14 16:23:01 +03:00
parent 8f4e999e43
commit a66a86a0b0
3 changed files with 3 additions and 27 deletions

View file

@ -222,11 +222,6 @@ const docTemplate = `{
},
"/user/auth/logout": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "Логаут. Для логаута надо передать refresh token, он будет инвалидирован.",
"tags": [
"Users - auth"
@ -253,12 +248,7 @@ const docTemplate = `{
},
"/user/auth/refresh": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "Принимает рефреш токен в заголовке Authorization",
"description": "Принимает рефреш токен в http only куки",
"tags": [
"Users - auth"
],

View file

@ -214,11 +214,6 @@
},
"/user/auth/logout": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "Логаут. Для логаута надо передать refresh token, он будет инвалидирован.",
"tags": [
"Users - auth"
@ -245,12 +240,7 @@
},
"/user/auth/refresh": {
"post": {
"security": [
{
"BearerAuth": []
}
],
"description": "Принимает рефреш токен в заголовке Authorization",
"description": "Принимает рефреш токен в http only куки",
"tags": [
"Users - auth"
],

View file

@ -205,14 +205,12 @@ paths:
description: Internal Server Error
schema:
$ref: '#/definitions/responses.ErrorResponse500'
security:
- BearerAuth: []
summary: Логаут
tags:
- Users - auth
/user/auth/refresh:
post:
description: Принимает рефреш токен в заголовке Authorization
description: Принимает рефреш токен в http only куки
responses:
"200":
description: OK
@ -226,8 +224,6 @@ paths:
description: Internal Server Error
schema:
$ref: '#/definitions/responses.ErrorResponse500'
security:
- BearerAuth: []
summary: Обновление аксесс токена по рефреш токену.
tags:
- Users - auth