Skip to content

Commit b6cf619

Browse files
authored
Merge pull request #1343 from waldekmastykarz/fix-filter-postman
Fixes null reference exception. Closes #1342
2 parents 2984d30 + 6814542 commit b6cf619

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)