Skip to content

fix: TryAddPath exact-match check for duplicate bound operation paths

c49b868
Select commit
Loading
Failed to load commit list.
Merged

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

fix: TryAddPath exact-match check for duplicate bound operation paths
c49b868
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 14, 2026 in 39s

Quality Gate failed

Annotations

Check warning on line 334 in test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'ListToString' does not access instance data and can be marked as static

See more on https://sonarcloud.io/project/issues?id=microsoft_OpenAPI.NET.OData&issues=AZ2JiWavgSVICk-snxYG&open=AZ2JiWavgSVICk-snxYG&pullRequest=812

Check warning on line 63 in src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Do not guard 'HashSet.Add(string)' with 'HashSet.Contains(string)'

See more on https://sonarcloud.io/project/issues?id=microsoft_OpenAPI.NET.OData&issues=AZ2JiWbLgSVICk-snxYI&open=AZ2JiWbLgSVICk-snxYI&pullRequest=812

Check warning on line 62 in test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Member 'AssertGraphBetaModelPaths' does not access instance data and can be marked as static

See more on https://sonarcloud.io/project/issues?id=microsoft_OpenAPI.NET.OData&issues=AZ2JiWavgSVICk-snxYF&open=AZ2JiWavgSVICk-snxYF&pullRequest=812

Check warning on line 355 in test/Microsoft.OpenAPI.OData.Reader.Tests/Edm/ODataPathProviderTests.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=microsoft_OpenAPI.NET.OData&issues=AZ2JiWavgSVICk-snxYE&open=AZ2JiWavgSVICk-snxYE&pullRequest=812

Check failure on line 308 in src/Microsoft.OpenApi.OData.Reader/Common/Utils.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=microsoft_OpenAPI.NET.OData&issues=AZ2JiWbLgSVICk-snxYH&open=AZ2JiWbLgSVICk-snxYH&pullRequest=812