case 4586 - fuck it, everything is interdependent, just went for it, mostly buildable just reporting to fixup then testing after this

This commit is contained in:
2024-05-09 22:56:53 +00:00
parent 7f048a7666
commit 87a4946500
75 changed files with 217 additions and 212 deletions

View File

@@ -16,7 +16,7 @@ using AyaNova.Biz;
namespace AyaNova.Api.Controllers
{
[ApiController]
[ApiVersion("8.0")]
[Asp.Versioning.ApiVersion("8.0")]
[Route("api/v{version:apiVersion}/part")]
[Produces("application/json")]
[Authorize]
@@ -46,7 +46,7 @@ namespace AyaNova.Api.Controllers
/// <param name="apiVersion">From route path</param>
/// <returns></returns>
[HttpPost]
public async Task<IActionResult> PostPart([FromBody] Part newObject, ApiVersion apiVersion)
public async Task<IActionResult> PostPart([FromBody] Part newObject, Asp.Versioning.ApiVersion apiVersion)
{
if (!serverState.IsOpen)
return StatusCode(503, new ApiErrorResponse(serverState.ApiErrorCode, null, serverState.Reason));