Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class WebSocketsChannelBinding : ChannelBinding<WebSocketsChannelBinding>
/// </summary>
public AsyncApiJsonSchema Headers { get; set; }

public override string BindingKey => "websockets";
public override string BindingKey => "ws";

protected override FixedFieldMap<WebSocketsChannelBinding> FixedFieldMap => new()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public void V2_WebSocketChannelBinding_WithFilledObject_SerializesAndDeserialize
var expected =
"""
bindings:
websockets:
ws:
method: POST
query:
description: this mah query
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void V2_AsyncApiChannel_WithWebSocketsBinding_Serializes()
{
var expected = """
bindings:
websockets:
ws:
method: POST
query:
properties:
Expand Down
Loading