Repository navigation
automatic promotion of shipped APIs for main #3573
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
3s
Build
10m 21s
Annotations
10 warnings and 1 notice
|
Build:
src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L204
Refactor this method to reduce its Cognitive Complexity from 25 to the 15 allowed.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L261
Remove the unnecessary Boolean literal(s).
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L166
Remove this call from a constructor to the overridable 'CopyReference' method.
|
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterBase.cs#L148
All 'WriteValue' method overloads should be adjacent.
|
|
Build:
src/Microsoft.OpenApi/Models/References/OpenApiSchemaReference.cs#L170
Do not forget to remove this deprecated code someday.
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L36
Do not forget to remove this deprecated code someday.
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L140
A static field in a generic type is not shared among instances of different close constructed types.
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L12
Reduce the number of generic parameters in the 'BaseOpenApiReferenceHolder' class to no more than the 2 authorized.
|
|
Build:
src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L73
Change return type to 'void'; not a single caller uses the returned value.
|
|
Build:
src/Microsoft.OpenApi/Extensions/OpenAPIWriterExtensions.cs#L3
Rename class 'OpenAPIWriterExtensions' to match pascal case naming rules, consider using 'OpenApiWriterExtensions'.
|
|
check if SONAR_TOKEN is set in github secrets
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
|