Forráskód Böngészése

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

ZadenRB 5 éve
szülő
commit
eee02a355a
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      Jellyfin.Api/BaseJellyfinApiController.cs

+ 1 - 0
Jellyfin.Api/BaseJellyfinApiController.cs

@@ -7,6 +7,7 @@ namespace Jellyfin.Api
     /// </summary>
     /// </summary>
     [ApiController]
     [ApiController]
     [Route("[controller]")]
     [Route("[controller]")]
+    [Produces("application/json")]
     public class BaseJellyfinApiController : ControllerBase
     public class BaseJellyfinApiController : ControllerBase
     {
     {
     }
     }