This commit is contained in:
@@ -144,7 +144,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"auth"
|
||||
"Auth"
|
||||
],
|
||||
"summary": "Logout user",
|
||||
"responses": {
|
||||
|
||||
@@ -137,7 +137,7 @@
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"auth"
|
||||
"Auth"
|
||||
],
|
||||
"summary": "Logout user",
|
||||
"responses": {
|
||||
|
||||
@@ -286,7 +286,7 @@ paths:
|
||||
- BearerAuth: []
|
||||
summary: Logout user
|
||||
tags:
|
||||
- auth
|
||||
- Auth
|
||||
/auth/refresh:
|
||||
post:
|
||||
consumes:
|
||||
|
||||
@@ -436,7 +436,7 @@ func (h *AuthController) GoogleCallback(c fiber.Ctx) error {
|
||||
// Logout godoc
|
||||
// @Summary Logout user
|
||||
// @Description Logout current user and revoke tokens
|
||||
// @Tags auth
|
||||
// @Tags Auth
|
||||
// @Security BearerAuth
|
||||
// @Produce json
|
||||
// @Success 200 {object} response.CommonResponse
|
||||
|
||||
Reference in New Issue
Block a user