aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-03-11 22:35:33 +0100
committerJoshua M. Boniface <joshua@boniface.me>2021-03-21 19:10:13 -0400
commit2ce6b347f5eaa616c4e903d2f1b5af150ef79011 (patch)
tree4a807aca70ad3fa594301cb2cce8a578bfe0e065
parent318c1f7f0c3fe0abbd4af7fd6e9dfef0b3cf580b (diff)
Merge pull request #5480 from crobibero/api-session-message-type
Add SessionMessageType to generated openapi spec (cherry picked from commit e3adc9ab74abaaa00a40bba7614e8e42d63119ee) Signed-off-by: Joshua M. Boniface <joshua@boniface.me>
-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);
}
}
}