This commit is contained in:
2020-05-13 23:15:47 +00:00
parent dc6e8113a3
commit 1fb475827b
18 changed files with 31 additions and 31 deletions

View File

@@ -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)