Ver Fonte

Fix openapi file schema

crobibero há 4 anos atrás
pai
commit
34029f860c
1 ficheiros alterados com 2 adições e 1 exclusões
  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"
             }
         };