Explorar o código

Fix openapi file schema

crobibero %!s(int64=4) %!d(string=hai) anos
pai
achega
34029f860c
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"
             }
         };