Skip to content

Commit

Permalink
Fix sonar warning fix for Swagger for AB#16872.
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMaki committed Jan 8, 2025
1 parent 1a93f55 commit 42e116f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Apps/Common/src/Swagger/ConfigureSwaggerGenOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public ConfigureSwaggerGenOptions(
#pragma warning disable S3236
Debug.Assert(versionDescriptionProvider != null, "The versionDescriptionProvider parameter cannot be null.");
Debug.Assert(swaggerSettings != null, "The swaggerSettings parameter cannot be null.");
#pragma warning restore CSHARP_S3236
#pragma warning restore S3236

this.provider = versionDescriptionProvider;
this.settings = swaggerSettings.Value;
Expand Down
2 changes: 1 addition & 1 deletion Apps/Common/src/Swagger/ConfigureSwaggerUiOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public ConfigureSwaggerUiOptions(IApiVersionDescriptionProvider versionDescripti
#pragma warning disable S3236
Debug.Assert(versionDescriptionProvider != null, "The versionDescriptionProvider parameter cannot be null.");
Debug.Assert(settings != null, "The settings parameter cannot be null.");
#pragma warning restore CSHARP_S3236
#pragma warning restore S3236
this.provider = versionDescriptionProvider;
this.settings = settings.Value;
}
Expand Down

0 comments on commit 42e116f

Please sign in to comment.