Skip to content

fix: TryAddPath exact-match check for duplicate bound operation paths (OpenAPI 3.2) #753

fix: TryAddPath exact-match check for duplicate bound operation paths (OpenAPI 3.2)

fix: TryAddPath exact-match check for duplicate bound operation paths (OpenAPI 3.2) #753

Triggered via pull request April 14, 2026 01:02
Status Success
Total duration 7m 36s
Artifacts

sonarcloud.yml

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

Annotations

10 warnings
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L338
Indexing should be used instead of the "Enumerable" extension method "ElementAt"
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L308
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L187
Remove this unnecessary check for null.
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L215
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last"
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L184
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last"
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L338
Indexing should be used instead of the "Enumerable" extension method "ElementAt"
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L308
Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L187
Remove this unnecessary check for null.
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L215
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last"
Build: src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs#L184
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last"