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
commit 3c366954ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
{
}