Skip to content

Migrate to OpenApi.NET V2.0 #416

Migrate to OpenApi.NET V2.0

Migrate to OpenApi.NET V2.0 #416

Triggered via pull request January 3, 2025 13:18
Status Failure
Total duration 4m 14s
Artifacts

sonarcloud.yml

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

Annotations

10 errors and 11 warnings
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L45
'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#L51
'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#L55
'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#L62
'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#L65
'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#L75
'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#L85
'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#L107
'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#L118
'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#L151
'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/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#L740
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiSchemaGenerator.cs#L683
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
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)
Build: src/Microsoft.OpenApi.OData.Reader/Vocabulary/Core/PrimitiveExampleValue.cs#L32
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)