ソースを参照

Add websocket session message type to generated openapi.json

crobibero 4 年 前
コミット
8e09276d7d
1 ファイル変更2 行追加0 行削除
  1. 2 0
      Jellyfin.Server/Filters/WebsocketModelFilter.cs

+ 2 - 0
Jellyfin.Server/Filters/WebsocketModelFilter.cs

@@ -25,6 +25,8 @@ namespace Jellyfin.Server.Filters
             context.SchemaGenerator.GenerateSchema(typeof(GeneralCommandType), context.SchemaRepository);
             context.SchemaGenerator.GenerateSchema(typeof(GeneralCommandType), context.SchemaRepository);
 
 
             context.SchemaGenerator.GenerateSchema(typeof(GroupUpdate<object>), context.SchemaRepository);
             context.SchemaGenerator.GenerateSchema(typeof(GroupUpdate<object>), context.SchemaRepository);
+
+            context.SchemaGenerator.GenerateSchema(typeof(SessionMessageType), context.SchemaRepository);
         }
         }
     }
     }
 }
 }