Skip to content

Commit 8307d8e

Browse files
Merge pull request #1183 from microsoft/mk/fix-missing-api-generator-options
Replaces obsolete ApiGenerator option
2 parents 85e13a4 + 2ec0688 commit 8307d8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Microsoft.OpenApi.Tests/PublicApi/PublicApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void ReviewPublicApiChanges()
2626
// It takes a human to read the change, determine if it is breaking and update the PublicApi.approved.txt with the new approved API surface
2727

2828
// Arrange
29-
var publicApi = typeof(OpenApiSpecVersion).Assembly.GeneratePublicApi(new ApiGeneratorOptions() { WhitelistedNamespacePrefixes = new[] { "Microsoft.OpenApi" } } );
29+
var publicApi = typeof(OpenApiSpecVersion).Assembly.GeneratePublicApi(new ApiGeneratorOptions() { AllowNamespacePrefixes = new[] { "Microsoft.OpenApi" } } );
3030

3131
// Act
3232
var approvedFilePath = Path.Combine("PublicApi", "PublicApi.approved.txt");

0 commit comments

Comments
 (0)