docs update
This commit is contained in:
parent
a7566e2cd3
commit
8a80013c94
3 changed files with 20 additions and 1 deletions
|
|
@ -67,6 +67,11 @@ public class AuthController : ControllerBase
|
|||
return Ok(new { token = token });
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Получить информацию о нынешнем юзере
|
||||
/// </summary>
|
||||
/// <remarks>Возвращает инфо о пользователе, токен которого был использован</remarks>
|
||||
/// <returns></returns>
|
||||
[Authorize]
|
||||
[HttpGet("me")]
|
||||
[ProducesResponseType(StatusCodes.Status401Unauthorized)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue