feat: add a 200 result schema

This commit is contained in:
2024-12-25 07:22:07 +03:00
parent 269d976ad4
commit ae4d2073c4
5 changed files with 84 additions and 6 deletions

View File

@ -48,7 +48,6 @@ public class AuthController(IOptionsSnapshot<Admin> user, IOptionsSnapshot<Gener
[HttpGet("OAuth2")]
[BadRequestResponse]
[ProducesResponseType(typeof(string), StatusCodes.Status200OK)]
[Produces("text/html")]
[MaintenanceModeIgnore]
public async Task<ContentResult> OAuth2([FromQuery] string code, [FromQuery] string state)