Skip to content

feat: enable null reference type support #1677

feat: enable null reference type support

feat: enable null reference type support #1677

Triggered via pull request March 4, 2025 16:06
Status Success
Total duration 10m 58s
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/Models/OpenApiRequestBody.cs#L140
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L110
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L76
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/JsonPointer.cs#L51
Refactor 'ParentPointer' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiHeaderDeserializer.cs#L20
Refactor this field to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiParameterDeserializer.cs#L21
Refactor this field to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiSchemaDeserializer.cs#L22
Refactor this field to reduce its Cognitive Complexity from 30 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiV2VersionService.cs#L53
Remove the unused private method 'ParseLocalReference'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiV2VersionService.cs#L108
Remove the unused private method 'GetReferenceTypeV2FromName'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L18
Refactor this field to reduce its Cognitive Complexity from 52 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)