swagger docs update
This commit is contained in:
parent
8f4e999e43
commit
a66a86a0b0
3 changed files with 3 additions and 27 deletions
12
docs/docs.go
12
docs/docs.go
|
|
@ -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"
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue