Skip to content

Update the OpenApiStreamReader's Read and ReadFragment method to be consistent with ReadAsync #723

Update the OpenApiStreamReader's Read and ReadFragment method to be consistent with ReadAsync

Update the OpenApiStreamReader's Read and ReadFragment method to be consistent with ReadAsync #723

Triggered via pull request March 6, 2024 11:23
Status Success
Total duration 4m 13s
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/OpenApiDocument.cs#L440
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Models/OpenApiSecurityRequirement.cs#L109
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/Services/OpenApiReferenceResolver.cs#L272
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/Services/OpenApiReferenceResolver.cs#L286
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L75
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/Any/OpenApiAnyCloneHelper.cs#L11
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L25
All 'SerializeAsJson' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L38
All 'SerializeAsYaml' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L53
All 'Serialize' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Extensions/OpenAPIWriterExtensions.cs#L5
Rename class 'OpenAPIWriterExtensions' to match pascal case naming rules, consider using 'OpenApiWriterExtensions'. (https://rules.sonarsource.com/csharp/RSPEC-101)