diff --git a/src/Tgstation.Server.Host/Controllers/ApiRootController.cs b/src/Tgstation.Server.Host/Controllers/ApiRootController.cs index 652c98d445..49f3e89c2b 100644 --- a/src/Tgstation.Server.Host/Controllers/ApiRootController.cs +++ b/src/Tgstation.Server.Host/Controllers/ApiRootController.cs @@ -196,8 +196,10 @@ namespace Tgstation.Server.Host.Controllers /// A resulting in the of the operation. /// generated successfully. /// OAuth authentication failed. + /// OAuth authentication failed due to rate limiting. [HttpPost("oauth_gateway")] [ProducesResponseType(typeof(OAuthGatewayResponse), 200)] + [ProducesResponseType(typeof(ErrorMessageResponse), 429)] public ValueTask CreateOAuthGatewayToken(CancellationToken cancellationToken) => loginAuthority.InvokeTransformable(this, authority => authority.AttemptOAuthGatewayLogin(cancellationToken)); }