Fixed JwtAuthorizationAttribute + tests

This commit is contained in:
2025-03-15 17:31:13 +01:00
parent 962de4df9e
commit bd175da738
6 changed files with 208 additions and 53 deletions

View File

@@ -20,6 +20,7 @@ namespace BasicDotnetTemplate.MainProject.Controllers
this._userService = userService;
}
[JwtAuthorization()]
[HttpGet("get/{guid}")]
[ProducesResponseType<GetUserResponse>(StatusCodes.Status200OK)]
[ProducesResponseType<BaseResponse<object>>(StatusCodes.Status404NotFound)]