Migrate to OpenApi.NET V2.0 #406
sonarcloud.yml
on: pull_request
check if SONAR_TOKEN is set in github secrets
0s
Build
3m 33s
Annotations
10 errors and 11 warnings
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L44
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L50
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L54
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L61
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L64
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L74
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L84
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L106
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L117
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L150
'OpenApiDocument' does not contain a definition for 'AddComponentSchema' and no accessible extension method 'AddComponentSchema' accepting a first argument of type 'OpenApiDocument' could be found (are you missing a using directive or an assembly reference?)
|
|
check if SONAR_TOKEN is set in github secrets
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Edm/ODataOperationSegment.cs#L160
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiComponentsGenerator.cs#L30
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiDocumentGenerator.cs#L27
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiExampleGenerator.cs#L87
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiInfoGenerator.cs#L51
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiInfoGenerator.cs#L77
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiInfoGenerator.cs#L87
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L617
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L742
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
|
|
Build:
src/Microsoft.OpenApi.OData.Reader/PathItem/NavigationPropertyPathItemHandler.cs#L190
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
|