fix api version in last

This commit is contained in:
Collin Barrett 2018-09-21 20:00:02 -05:00
parent 526a2aab47
commit bd63439845

View file

@ -5,7 +5,7 @@
namespace FilterLists.Api.V1.Controllers
{
[ApiVersion("1")]
[ApiVersion("1.0")]
//TODO: use versioning without needing to manually specify in swagger-ui (https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/370)
[Route("v{version:apiVersion}/[controller]")]
[ResponseCache(Duration = 86400)]