Browse Source

Merge pull request #5480 from crobibero/api-session-message-type

Add SessionMessageType to generated openapi spec
Bond-009 4 năm trước cách đây
mục cha
commit
e3adc9ab74
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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(GroupUpdate<object>), context.SchemaRepository);
+
+            context.SchemaGenerator.GenerateSchema(typeof(SessionMessageType), context.SchemaRepository);
         }
     }
 }