MSP-8974 lint fixes

This commit is contained in:
chashintv committed 2026-11-23 13:00:03 +03:00
1 parent 11ef48bbeb
commit 1d1c5dbde6
12 files changed
+37 -60

No files matched your search

+1 -1
View File
@@ -66,7 +66,7 @@ func (c Audit) Events(ctx context.Context) ([]domain.AuditEvent, error) {
// SetEvents
// @Tags log
// @Summary Установить события аудита
// @Description Устанавливает (обновляет) набор активных событий аудита. `errorCode: <UnknownAuditEventErrorCode>` - если передано неизвестное событие аудита
// @Description Устанавливает (обновляет) набор активных событий аудита.
// @Accept json
// @Produce json
// @Param X-AUTH-ADMIN header string true "Токен администратора"
+1 -1
View File
@@ -116,7 +116,7 @@ func (a Auth) Login(ctx context.Context, authRequest domain.LoginRequest) (*doma
// LoginWithOauth
// @Tags auth
// @Summary Авторизация по авторизационному коду от OAuth
// @Description Авторизация с получением токена администратора. `errorCode: <ErrOauthIsMissedCode>` - OAuth не настроен, `<ErrUnauthenticatedCode>` - неверный код или неизвестный клиент
// @Description Авторизация с получением токена администратора.
// @Accept json
// @Produce json
// @Param body body domain.LoginOauthRequest true "Тело запроса"