Skip to content

chore(main): release 2.0.0-preview9 #1586

chore(main): release 2.0.0-preview9

chore(main): release 2.0.0-preview9 #1586

Triggered via pull request February 20, 2025 15:44
Status Success
Total duration 9m 15s
Artifacts

sonarcloud.yml

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

Annotations

10 warnings
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L24
All 'WriteProperty' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L248
All 'WriteRequiredMap' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterBase.cs#L139
All 'WriteValue' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)
Build: src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L696
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Build: src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L701
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Build: src/Microsoft.OpenApi/Models/OpenApiConstants.cs#L706
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Build: src/Microsoft.OpenApi/Models/OpenApiSchema.cs#L191
Refactor this constructor to reduce its Cognitive Complexity from 19 to the 15 allowed. (https://rules.sonarsource.com/csharp/RSPEC-3776)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L144
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L172
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterExtensions.cs#L407
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type. (https://rules.sonarsource.com/csharp/RSPEC-2955)