Skip to content

Commit 6814542

Browse files
Fixes null reference exception. Closes #1342
1 parent 2984d30 commit 6814542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.Hidi/OpenApiService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ private static OpenApiDocument ApplyFilters(HidiOptions options, ILogger logger,
151151
}
152152
else if (postmanCollection != null)
153153
{
154-
requestUrls = EnumerateJsonDocument(postmanCollection.RootElement, requestUrls);
154+
requestUrls = EnumerateJsonDocument(postmanCollection.RootElement, new());
155155
logger.LogTrace("Finished fetching the list of paths and Http methods defined in the Postman collection.");
156156
}
157157

0 commit comments

Comments
 (0)