Explorar el Código

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

Fix openapi file schema

(cherry picked from commit b56feac8413f6d050d95eec9bc5cbd54ccc234e1)
Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
Claus Vium hace 4 años
padre
commit
89a649cc23
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"
             }
         };