Skip to content

The Free Software Media System - Server Backend & API

Adds produces annotation to the base controller to indicate application/json as the response type for endpoints

ZadenRBeee02a355af0
diff --git a/Jellyfin.Api/BaseJellyfinApiController.cs b/Jellyfin.Api/BaseJellyfinApiController.cs
index 1f4508e6cb..51bd384b3b 100644
--- a/Jellyfin.Api/BaseJellyfinApiController.cs
+++ b/Jellyfin.Api/BaseJellyfinApiController.cs
@@ -7,6 +7,7 @@ namespace Jellyfin.Api
/// </summary>
[ApiController]
[Route("[controller]")]
+ [Produces("application/json")]
public class BaseJellyfinApiController : ControllerBase
{
}