Added a route to get a summary of all currencies
This commit is contained in:
@ -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)
|
||||
|
||||
Reference in New Issue
Block a user