aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api
diff options
context:
space:
mode:
authorZadenRB <zaden.ruggieroboune@gmail.com>2020-04-22 10:06:37 -0600
committerZadenRB <zaden.ruggieroboune@gmail.com>2020-04-22 10:06:37 -0600
commiteee02a355af0760c55dc9c1d42b9f5f623135b08 (patch)
tree4c796012b2a49537976d14bb0215ac54f2038151 /Jellyfin.Api
parenta2f19eadf739297cbbc99c9082b0175e8b881054 (diff)
Adds produces annotation to the base controller to indicate application/json as the response type for endpoints
Diffstat (limited to 'Jellyfin.Api')
-rw-r--r--Jellyfin.Api/BaseJellyfinApiController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/BaseJellyfinApiController.cs b/Jellyfin.Api/BaseJellyfinApiController.cs
index 1f4508e6c..51bd384b3 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
{
}