mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
add produces attribute to ListsController
This commit is contained in:
parent
0dd3ee289e
commit
a6a159b74e
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ namespace FilterLists.Api.Controllers
|
|||
//TODO: migrate controllers to separate projects by version, use dependency injection
|
||||
//TODO: automate URL versioning
|
||||
[Route("v1/[controller]")]
|
||||
[Produces("application/json")]
|
||||
public class ListsController : Controller
|
||||
{
|
||||
private readonly IListService listService;
|
||||
|
|
|
|||
Loading…
Reference in a new issue