mirror of
https://github.com/bitwarden/server
synced 2025-12-19 09:43:25 +00:00
Fix swagger errors (#2277)
This commit is contained in:
@@ -229,6 +229,7 @@ public class TwoFactorController : Controller
|
||||
}
|
||||
|
||||
[HttpPost("get-webauthn-challenge")]
|
||||
[ApiExplorerSettings(IgnoreApi = true)] // Disable Swagger due to CredentialCreateOptions not converting properly
|
||||
public async Task<CredentialCreateOptions> GetWebAuthnChallenge([FromBody] SecretVerificationRequestModel model)
|
||||
{
|
||||
var user = await CheckAsync(model, true);
|
||||
|
||||
Reference in New Issue
Block a user