浏览代码

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"
             }
         };