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 bb600b4 commit a659d3fCopy full SHA for a659d3f
src/Microsoft.OpenApi/Services/OpenApiUrlSpaceNode.cs
@@ -81,7 +81,7 @@ public string Identifier
81
/// <returns>true or false.</returns>
82
public bool HasOperations()
83
{
84
- return PathItem != null && PathItem.Operations != null && PathItem.Operations.Count > 0;
+ return PathItem?.Operations != null && PathItem.Operations.Count > 0;
85
}
86
87
/// <summary>
0 commit comments