Skip to content

chore: implement test cases for types of References in an OpenApi document #1985

chore: implement test cases for types of References in an OpenApi document

chore: implement test cases for types of References in an OpenApi document #1985

Triggered via pull request May 14, 2025 08:25
Status Success
Total duration 5m 18s
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/Reader/V31/OpenApiSchemaDeserializer.cs#L19
Refactor this field to reduce its Cognitive Complexity from 52 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L206
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
Build: src/Microsoft.OpenApi/Reader/ParseNodes/MapNode.cs#L35
Remove this unnecessary cast to 'IEnumerable<KeyValuePair<string, JsonNode>>'. (https://rules.sonarsource.com/csharp/RSPEC-1905)
Build: src/Microsoft.OpenApi/Reader/ParseNodes/MapNode.cs#L198
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L19
Refactor this field to reduce its Cognitive Complexity from 52 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L206
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)
Build: src/Microsoft.OpenApi/Reader/ParseNodes/MapNode.cs#L35
Remove this unnecessary cast to 'IEnumerable<KeyValuePair<string, JsonNode>>'. (https://rules.sonarsource.com/csharp/RSPEC-1905)
Build: src/Microsoft.OpenApi/Reader/ParseNodes/MapNode.cs#L198
Remove this unnecessary check for null. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L19
Refactor this field to reduce its Cognitive Complexity from 52 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L206
Loops should be simplified using the "Where" LINQ method (https://rules.sonarsource.com/csharp/RSPEC-3267)