diff --git a/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs b/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs index cdeac299a..7d5f5514a 100644 --- a/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs +++ b/ArchiSteamFarm/IPC/Controllers/Api/TwoFactorAuthenticationController.cs @@ -45,7 +45,7 @@ public sealed class TwoFactorAuthenticationController : ArchiController { [HttpGet("Confirmations")] [ProducesResponseType>>>>((int) HttpStatusCode.OK)] [ProducesResponseType((int) HttpStatusCode.BadRequest)] - public async Task> ConfirmationsGet(string botNames) { + public async Task> ConfirmationsGet([Description(WebUtilities.BotNamesParameterDescription)] string botNames) { ArgumentException.ThrowIfNullOrEmpty(botNames); HashSet? bots = Bot.GetBots(botNames); @@ -100,7 +100,7 @@ public sealed class TwoFactorAuthenticationController : ArchiController { [HttpDelete] [ProducesResponseType>>>((int) HttpStatusCode.OK)] [ProducesResponseType((int) HttpStatusCode.BadRequest)] - public async Task> Delete(string botNames) { + public async Task> Delete([Description(WebUtilities.BotNamesParameterDescription)] string botNames) { ArgumentException.ThrowIfNullOrEmpty(botNames); HashSet? bots = Bot.GetBots(botNames); @@ -151,7 +151,7 @@ public sealed class TwoFactorAuthenticationController : ArchiController { [HttpGet("Token")] [ProducesResponseType>>>((int) HttpStatusCode.OK)] [ProducesResponseType((int) HttpStatusCode.BadRequest)] - public async Task> TokenGet(string botNames) { + public async Task> TokenGet([Description(WebUtilities.BotNamesParameterDescription)] string botNames) { ArgumentException.ThrowIfNullOrEmpty(botNames); HashSet? bots = Bot.GetBots(botNames);