This commit is contained in:
2020-09-02 20:53:34 -04:00
parent 85d99d2615
commit d06925204d
38 changed files with 913 additions and 679 deletions

View File

@@ -20,6 +20,7 @@ namespace PartSource.Api.Controllers
[Route("vehicles")]
[Route("v1/vehicles")]
[ApiController]
[ApiExplorerSettings(GroupName = "v1")]
public class LegacyVehiclesController : BaseNexpartController
{
private readonly VehicleService _vehicleService;
@@ -116,7 +117,7 @@ namespace PartSource.Api.Controllers
});
}
return Ok(new { data = new { subModel = submodels } });
return Ok(new { data = new { subModel = nexpartSubmodels } });
}
[HttpGet]