This commit is contained in:
@@ -18,7 +18,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[ApiVersion("8.0")]
|
||||
[Route("api/v{version:apiVersion}/[controller]")]
|
||||
[Route("api/v{version:apiVersion}/enum-list")]
|
||||
[Produces("application/json")]
|
||||
[Authorize]
|
||||
public class EnumListController : ControllerBase
|
||||
@@ -47,7 +47,7 @@ namespace AyaNova.Api.Controllers
|
||||
/// </summary>
|
||||
/// <param name="enumkey">The key name of the enumerated type</param>
|
||||
/// <returns>List</returns>
|
||||
[HttpGet("List/{enumkey}")]
|
||||
[HttpGet("list/{enumkey}")]
|
||||
public ActionResult GetList([FromRoute]string enumkey)
|
||||
{
|
||||
if (serverState.IsClosed)
|
||||
|
||||
Reference in New Issue
Block a user