feat: change all collections to ordered collections #1963
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
5m 45s
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/Services/OpenApiWorkspace.cs#L23
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/Validations/ValidationRuleSet.cs#L39
All 'ValidationRuleSet' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|
|
Build:
src/Microsoft.OpenApi/Validations/ValidationRuleSet.cs#L29
Refactor 'Rules' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
|
Build:
src/Microsoft.OpenApi/OrderedDictionary.cs#L32
Refactor 'Keys' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
|
Build:
src/Microsoft.OpenApi/OrderedDictionary.cs#L37
Refactor 'Values' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
|
|
Build:
src/Microsoft.OpenApi/Reader/V3/OpenApiV3VersionService.cs#L22
Remove the unused private field '_pathSeparator'. (https://rules.sonarsource.com/csharp/RSPEC-1144)
|
|
Build:
src/Microsoft.OpenApi/Reader/V31/OpenApiSchemaDeserializer.cs#L19
Refactor this field to reduce its Cognitive Complexity from 52 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L24
All 'WriteProperty' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
|