ソースを参照

Fix openapi file schema

crobibero 4 年 前
コミット
34029f860c
1 ファイル変更2 行追加1 行削除
  1. 2 1
      Jellyfin.Server/Filters/FileResponseFilter.cs

+ 2 - 1
Jellyfin.Server/Filters/FileResponseFilter.cs

@@ -14,7 +14,8 @@ namespace Jellyfin.Server.Filters
         {
             Schema = new OpenApiSchema
             {
-                Type = "file"
+                Type = "string",
+                Format = "binary"
             }
         };