Skip to content

feat: Add writer settings to enable collection sorting using a comparer #2034

feat: Add writer settings to enable collection sorting using a comparer

feat: Add writer settings to enable collection sorting using a comparer #2034

Triggered via pull request May 21, 2025 08:27
Status Success
Total duration 4m 38s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
3s
check if SONAR_TOKEN is set in github secrets
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Build: src/Microsoft.OpenApi/Services/OpenApiWalker.cs#L74
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterAnyExtensions.cs#L117
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L476
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L426
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L172
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L144
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/Microsoft.OpenApi/Services/CopyReferences.cs#L17
All 'Visit' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L267
All 'WriteRequiredMap' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L25
All 'WriteProperty' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Models/OpenApiRequestBody.cs#L139
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)