Skip to content

Commit

Permalink
Merge pull request #1183 from microsoft/mk/fix-missing-api-generator-…
Browse files Browse the repository at this point in the history
…options

Replaces obsolete ApiGenerator option
  • Loading branch information
MaggieKimani1 authored Mar 7, 2023
2 parents 85e13a4 + 2ec0688 commit 8307d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Microsoft.OpenApi.Tests/PublicApi/PublicApiTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void ReviewPublicApiChanges()
// 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

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

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

0 comments on commit 8307d8e

Please sign in to comment.