fix: a bug where empty enums would make the conversion fail #594
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
2s
Build
5m 55s
Annotations
10 warnings
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L574
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L484
Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L141
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L31
Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L752
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L574
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L484
Refactor this method to reduce its Cognitive Complexity from 29 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L141
Indexing at Count-1 should be used instead of the "Enumerable" extension method "Last" (https://rules.sonarsource.com/csharp/RSPEC-6608)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L31
Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L752
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|