aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server/Filters/WebsocketModelFilter.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-03-11 22:35:33 +0100
committerGitHub <noreply@github.com>2021-03-11 22:35:33 +0100
commite3adc9ab74abaaa00a40bba7614e8e42d63119ee (patch)
tree246894b58cfcbbc6cfa1eb15556e09d69fd694b1 /Jellyfin.Server/Filters/WebsocketModelFilter.cs
parentd967267ceff0d786047c60c294c31cc0770a2742 (diff)
parent8e09276d7d83304792dcbfc07ae511d42b90936d (diff)
Merge pull request #5480 from crobibero/api-session-message-type
Add SessionMessageType to generated openapi spec
Diffstat (limited to 'Jellyfin.Server/Filters/WebsocketModelFilter.cs')
-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);
}
}
}