Skip to content

Fix link extensions serialization #508

Fix link extensions serialization

Fix link extensions serialization #508

Triggered via pull request October 24, 2023 12:12
Status Success
Total duration 6m 28s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
2s
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#L444
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/Any/OpenApiString.cs#L11
Make 'isExplicit' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
Build: src/Microsoft.OpenApi/Any/OpenApiString.cs#L12
Make 'isRawString' 'readonly'. (https://rules.sonarsource.com/csharp/RSPEC-2933)
Build: src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L22
Make this field 'private' and encapsulate it in a 'public' property. (https://rules.sonarsource.com/csharp/RSPEC-1104)
Build: src/Microsoft.OpenApi/Models/OpenApiParameter.cs#L421
Remove this empty class, write its code or make it an "interface". (https://rules.sonarsource.com/csharp/RSPEC-2094)