Skip to content

Commit 9b3c669

Browse files
committed
chore: do not create an empty one. Should fail if not in spec
1 parent f9019b1 commit 9b3c669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/LEGO.AsyncAPI/Models/AsyncApiDocument.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class AsyncApiDocument : IAsyncApiExtensible, IAsyncApiSerializable
4646
/// <summary>
4747
/// REQUIRED. The available channels and messages for the API.
4848
/// </summary>
49-
public IDictionary<string, AsyncApiChannel> Channels { get; set; } = new Dictionary<string, AsyncApiChannel>();
49+
public IDictionary<string, AsyncApiChannel> Channels { get; set; }
5050

5151
/// <summary>
5252
/// an element to hold various schemas for the specification.

0 commit comments

Comments
 (0)