Skip to content

feat: enable null reference type support #1678

feat: enable null reference type support

feat: enable null reference type support #1678

Triggered via pull request March 4, 2025 16:18
Status Success
Total duration 6m 45s
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/Models/OpenApiParameter.cs#L316
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
Build: src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L323
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)
Build: src/Microsoft.OpenApi/Models/OpenApiReference.cs#L72
Make this an auto-implemented property and remove its backing field. (https://rules.sonarsource.com/csharp/RSPEC-2292)
Build: src/Microsoft.OpenApi/Exceptions/OpenApiReaderException.cs#L14
Update this implementation of 'ISerializable' to conform to the recommended serialization pattern. Add a 'protected' constructor 'OpenApiReaderException(SerializationInfo, StreamingContext)'. (https://rules.sonarsource.com/csharp/RSPEC-3925)
Build: src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L28
All 'SerializeAsJsonAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L42
All 'SerializeAsYamlAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L58
All 'SerializeAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)