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

@@ -21,7 +21,7 @@ namespace AyaNova.Api.Controllers
/// </summary>
[ApiController]
[ApiVersion("8.0")]
[Route("api/v{version:apiVersion}/[controller]")]
[Route("api/v{version:apiVersion}/form-custom")]
[Produces("application/json")]
[Authorize]
public class FormCustomController : ControllerBase
@@ -101,7 +101,7 @@ namespace AyaNova.Api.Controllers
/// which can be fetched from the EnumList route
/// </summary>
/// <returns>A list of valid values for custom field types</returns>
[HttpGet("AvailableCustomTypes")]
[HttpGet("availablecustomtypes")]
public ActionResult GetAvailableCustomTypes()
{
if (!serverState.IsOpen)
@@ -121,7 +121,7 @@ namespace AyaNova.Api.Controllers
/// Used to build UI for customizing a form
/// </summary>
/// <returns>A list of string formKey values valid for customization</returns>
[HttpGet("AvailableCustomizableFormKeys")]
[HttpGet("availablecustomizableformkeys")]
public ActionResult GetAvailableCustomizableFormKeys()
{
if (!serverState.IsOpen)