Skip to content

Omit null OpenAPI response descriptions #3468

Omit null OpenAPI response descriptions

Omit null OpenAPI response descriptions #3468

Re-run triggered September 11, 2026 12:00
Status Success
Total duration 12m 10s
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/Models/OpenApiResponse.cs#L116
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.
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#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/OpenApiResponse.cs#L116
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.
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/OpenApiResponse.cs#L116
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.
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#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/OpenApiResponse.cs#L116
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L166
Remove this call from a constructor to the overridable 'CopyReference' method.