Added a route to get a summary of all currencies

This commit is contained in:
2023-08-19 18:25:17 -04:00
parent ff327d0a03
commit 1fedd4d016
7 changed files with 58 additions and 12 deletions

View File

@ -63,7 +63,6 @@ namespace IO.Swagger.Controllers
[ValidateModelState]
[SwaggerOperation("GetUserDetails")]
[ProducesResponseType(typeof(UserDto), 200)]
[ProducesResponseType(401)]
public virtual async Task<IActionResult> GetUserDetails()
{
var userIdString = HttpContext.User.Claims.First(c => c.Type == ClaimTypes.NameIdentifier).Value;
@ -86,7 +85,6 @@ namespace IO.Swagger.Controllers
[SwaggerOperation("LoginUser")]
[ProducesResponseType(typeof(TokenDto), 200)]
[ProducesResponseType(typeof(IEnumerable<string>), 400)]
[ProducesResponseType(401)]
public virtual async Task<IActionResult> LoginUser([FromBody]AuthLoginBody body)
{
if (!ModelState.IsValid)
@ -109,7 +107,6 @@ namespace IO.Swagger.Controllers
[SwaggerOperation("RegisterUser")]
[ProducesResponseType(typeof(TokenDto), 200)]
[ProducesResponseType(typeof(IEnumerable<string>), 400)]
[ProducesResponseType(409)]
public async Task<IActionResult> RegisterUser([FromBody]AuthRegisterBody body)
{
if (!ModelState.IsValid)