diff --git a/docs/docs.go b/docs/docs.go index 228408d..72e0e21 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -144,7 +144,7 @@ const docTemplate = `{ "application/json" ], "tags": [ - "auth" + "Auth" ], "summary": "Logout user", "responses": { diff --git a/docs/swagger.json b/docs/swagger.json index 6e514b7..706d621 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -137,7 +137,7 @@ "application/json" ], "tags": [ - "auth" + "Auth" ], "summary": "Logout user", "responses": { diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 7e710c6..021d8b2 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -286,7 +286,7 @@ paths: - BearerAuth: [] summary: Logout user tags: - - auth + - Auth /auth/refresh: post: consumes: diff --git a/internal/controllers/authController.go b/internal/controllers/authController.go index 6d5adee..df68f45 100644 --- a/internal/controllers/authController.go +++ b/internal/controllers/authController.go @@ -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