From 82a75bd616f872de1a1d25d3eb9f739bbd0ee3c3 Mon Sep 17 00:00:00 2001 From: Nikolai Papin Date: Wed, 18 Jun 2025 18:34:41 +0300 Subject: [PATCH] chore: swagger comments --- backend/internal/controllers/auth.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/internal/controllers/auth.go b/backend/internal/controllers/auth.go index 9afd047..2f9b41f 100644 --- a/backend/internal/controllers/auth.go +++ b/backend/internal/controllers/auth.go @@ -24,8 +24,7 @@ func RegistrationComplete(c *gin.Context) { c.Status(http.StatusNotImplemented) } -// TODO: Document instructions on 2FA -// @Summary Acquire tokens via login credentials or by providing 2FA code +// @Summary Acquire tokens via login credentials (and 2FA code if needed) // @Tags Auth // @Accept json // @Produce json @@ -52,7 +51,6 @@ func PasswordResetBegin(c *gin.Context) { c.Status(http.StatusNotImplemented) } -// TODO: Document instructions on 2FA // @Summary Complete password reset with email code and provide 2FA code or backup code if needed // @Tags Auth // @Accept json