Browse Source

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

Add SessionMessageType to generated openapi spec
Bond-009 4 years ago
parent
commit
e3adc9ab74
1 changed files with 2 additions and 0 deletions
  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);
         }
     }
 }