Feat: Serialize const prop from 3.1 schemas as single enum #2067
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
2s
Build
5m 25s
Annotations
10 warnings
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L686
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L433
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L355
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L349
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L371
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L364
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L343
Change this condition so that it does not always evaluate to 'True'. (https://rules.sonarsource.com/csharp/RSPEC-2589)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L339
Method has 8 parameters, which is greater than the 7 authorized. (https://rules.sonarsource.com/csharp/RSPEC-107)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L339
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L267
Refactor this constructor to reduce its Cognitive Complexity from 20 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|