Explorar o código

Merge pull request #4762 from crobibero/api-file-return

Fix openapi file schema
Claus Vium %!s(int64=5) %!d(string=hai) anos
pai
achega
b56feac841
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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"
             }
         };