diff options
| author | ZadenRB <zaden.ruggieroboune@gmail.com> | 2020-04-22 10:06:37 -0600 |
|---|---|---|
| committer | ZadenRB <zaden.ruggieroboune@gmail.com> | 2020-04-22 10:06:37 -0600 |
| commit | eee02a355af0760c55dc9c1d42b9f5f623135b08 (patch) | |
| tree | 4c796012b2a49537976d14bb0215ac54f2038151 /Jellyfin.Api/BaseJellyfinApiController.cs | |
| parent | a2f19eadf739297cbbc99c9082b0175e8b881054 (diff) | |
Adds produces annotation to the base controller to indicate application/json as the response type for endpoints
Diffstat (limited to 'Jellyfin.Api/BaseJellyfinApiController.cs')
| -rw-r--r-- | Jellyfin.Api/BaseJellyfinApiController.cs | 1 |
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 { } |
