Explorar el Código

Fix openapi file schema

crobibero hace 4 años
padre
commit
34029f860c
Se han modificado 1 ficheros con 2 adiciones y 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"
             }
         };