We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6b9bf4 commit f9019b1Copy full SHA for f9019b1
src/LEGO.AsyncAPI/Validation/Rules/AsyncApiDocumentRules.cs
@@ -30,7 +30,7 @@ public static class AsyncApiDocumentRules
30
context.Exit();
31
32
context.Enter("channels");
33
- if (document.Channels == null || !document.Channels.Keys.Any())
+ if (document.Channels == null)
34
{
35
context.CreateError(
36
nameof(DocumentRequiredFields),
0 commit comments