@@ -45,7 +45,7 @@ public sealed class TwoFactorAuthenticationController : ArchiController {
4545 [ HttpGet ( "Confirmations" ) ]
4646 [ ProducesResponseType < GenericResponse < IReadOnlyDictionary < string , GenericResponse < IReadOnlyCollection < Confirmation > > > > > ( ( int ) HttpStatusCode . OK ) ]
4747 [ ProducesResponseType < GenericResponse > ( ( int ) HttpStatusCode . BadRequest ) ]
48- public async Task < ActionResult < GenericResponse > > ConfirmationsGet ( string botNames ) {
48+ public async Task < ActionResult < GenericResponse > > ConfirmationsGet ( [ Description ( WebUtilities . BotNamesParameterDescription ) ] string botNames ) {
4949 ArgumentException . ThrowIfNullOrEmpty ( botNames ) ;
5050
5151 HashSet < Bot > ? bots = Bot . GetBots ( botNames ) ;
@@ -100,7 +100,7 @@ public async Task<ActionResult<GenericResponse>> ConfirmationsPost([Description(
100100 [ HttpDelete ]
101101 [ ProducesResponseType < GenericResponse < IReadOnlyDictionary < string , GenericResponse < string > > > > ( ( int ) HttpStatusCode . OK ) ]
102102 [ ProducesResponseType < GenericResponse > ( ( int ) HttpStatusCode . BadRequest ) ]
103- public async Task < ActionResult < GenericResponse > > Delete ( string botNames ) {
103+ public async Task < ActionResult < GenericResponse > > Delete ( [ Description ( WebUtilities . BotNamesParameterDescription ) ] string botNames ) {
104104 ArgumentException . ThrowIfNullOrEmpty ( botNames ) ;
105105
106106 HashSet < Bot > ? bots = Bot . GetBots ( botNames ) ;
@@ -151,7 +151,7 @@ public async Task<ActionResult<GenericResponse>> Post([Description(WebUtilities.
151151 [ HttpGet ( "Token" ) ]
152152 [ ProducesResponseType < GenericResponse < IReadOnlyDictionary < string , GenericResponse < string > > > > ( ( int ) HttpStatusCode . OK ) ]
153153 [ ProducesResponseType < GenericResponse > ( ( int ) HttpStatusCode . BadRequest ) ]
154- public async Task < ActionResult < GenericResponse > > TokenGet ( string botNames ) {
154+ public async Task < ActionResult < GenericResponse > > TokenGet ( [ Description ( WebUtilities . BotNamesParameterDescription ) ] string botNames ) {
155155 ArgumentException . ThrowIfNullOrEmpty ( botNames ) ;
156156
157157 HashSet < Bot > ? bots = Bot . GetBots ( botNames ) ;
0 commit comments