Fix Websocket OpenApi (#9935)

* Further split inbound and outbound messages

* Fix datatype for inbound start messages

* fixes from review
This commit is contained in:
Cody Robibero
2023-06-29 05:44:36 -06:00
committed by GitHub
parent 76939bbd9b
commit b5bbb98175
50 changed files with 165 additions and 126 deletions

View File

@@ -1,9 +1,14 @@
using System;
namespace MediaBrowser.Controller.Net.WebSocketMessages;
/// <summary>
/// Class representing the list of outbound websocket message types.
/// Only used in openapi generation.
/// Outbound websocket message.
/// </summary>
public class OutboundWebSocketMessage : WebSocketMessage
public class OutboundWebSocketMessage : WebSocketMessage, IOutboundWebSocketMessage
{
/// <summary>
/// Gets or sets the message id.
/// </summary>
public Guid MessageId { get; set; }
}