Merge pull request #2960 from ZadenRB/content-type-annotation

Adds annotation for content-type of ASP.NET Web API endpoints
This commit is contained in:
Bond-009
2020-04-25 15:55:36 +02:00
committed by GitHub

View File

@@ -1,3 +1,4 @@
using System.Net.Mime;
using Microsoft.AspNetCore.Mvc;
namespace Jellyfin.Api
@@ -7,6 +8,7 @@ namespace Jellyfin.Api
/// </summary>
[ApiController]
[Route("[controller]")]
[Produces(MediaTypeNames.Application.Json)]
public class BaseJellyfinApiController : ControllerBase
{
}