ソースを参照

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

ZadenRB 5 年 前
コミット
eee02a355a
1 ファイル変更1 行追加0 行削除
  1. 1 0
      Jellyfin.Api/BaseJellyfinApiController.cs

+ 1 - 0
Jellyfin.Api/BaseJellyfinApiController.cs

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