Skip to content

chore(main): release 2.0.0-preview.17 #1882

chore(main): release 2.0.0-preview.17

chore(main): release 2.0.0-preview.17 #1882

Triggered via pull request April 9, 2025 09:36
Status Success
Total duration 5m 53s
Artifacts

sonarcloud.yml

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

Annotations

10 warnings
Build: src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L23
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
Build: src/Microsoft.OpenApi/Reader/V3/OpenApiV3VersionService.cs#L22
Remove the unused private field '_pathSeparator'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L87
Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Services/OpenApiWorkspace.cs#L274
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Microsoft.OpenApi/Reader/OpenApiJsonReader.cs#L40
Remove this unnecessary check for null. Some code paths are unreachable. (https://rules.sonarsource.com/csharp/RSPEC-2583)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L309
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L309
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Reader/OpenApiModelFactory.cs#L309
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L92
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Microsoft.OpenApi/Models/OpenApiDocument.cs#L268
Refactor this method to reduce its Cognitive Complexity from 34 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)