aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Filters
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2021-03-10 16:33:46 -0700
committercrobibero <cody@robibe.ro>2021-03-10 16:33:46 -0700
commit8e09276d7d83304792dcbfc07ae511d42b90936d (patch)
tree0aab48d2a1c1718a88758fe52c1b331cbab742ec /Jellyfin.Server/Filters
parent5592967497b4808330eea010981810181489d41d (diff)
Add websocket session message type to generated openapi.json
Diffstat (limited to 'Jellyfin.Server/Filters')
-rw-r--r--Jellyfin.Server/Filters/WebsocketModelFilter.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Jellyfin.Server/Filters/WebsocketModelFilter.cs b/Jellyfin.Server/Filters/WebsocketModelFilter.cs
index 248802857..38afb201d 100644
--- a/Jellyfin.Server/Filters/WebsocketModelFilter.cs
+++ b/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);
}
}
}