Skip to content

automatic promotion of shipped APIs for main #3455

automatic promotion of shipped APIs for main

automatic promotion of shipped APIs for main #3455

Triggered via pull request September 8, 2026 13:07
Status Success
Total duration 9m 18s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
4s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterBase.cs#L119
Pass the 'cancellationToken' to this method to allow cancellation of the operation, or use 'CancellationToken.None' to opt out explicitly.
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L166
Remove this call from a constructor to the overridable 'CopyReference' method.
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L880
Loops should be simplified using the "Where" LINQ method
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L877
Loop should be simplified by calling Select(pathItem => pathItem.Operations))
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L624
Refactor this method to reduce its Cognitive Complexity from 24 to the 15 allowed.
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L532
Change this condition so that it does not always evaluate to 'True'.
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L596
Remove this unused method parameter 'token'.
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L525
Remove this null-forgiving operator; the compiler already knows this expression is not null here.
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L463
Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L314
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.