Skip to content

feat: configure AOT for trimming compatibility #1382

feat: configure AOT for trimming compatibility

feat: configure AOT for trimming compatibility #1382

Triggered via pull request January 15, 2025 11:13
Status Success
Total duration 9m 13s
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

11 warnings
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/Models/OpenApiSecurityRequirement.cs#L126
Private classes which are not derived in the current assembly should be marked as 'sealed'. (https://rules.sonarsource.com/csharp/RSPEC-3260)
Build: src/Microsoft.OpenApi/Reader/V2/OpenApiSecuritySchemeDeserializer.cs#L86
Complete the task associated to this 'TODO' comment. (https://rules.sonarsource.com/csharp/RSPEC-1135)
Build: src/Microsoft.OpenApi/Writers/OpenApiYamlWriter.cs#L75
Remove this commented out code. (https://rules.sonarsource.com/csharp/RSPEC-125)
Build: src/Microsoft.OpenApi/JsonPointer.cs#L51
Refactor 'ParentPointer' into a method, properties should not copy collections. (https://rules.sonarsource.com/csharp/RSPEC-2365)
Build: src/Microsoft.OpenApi/Models/JsonSchemaType.cs#L12
Rename this enumeration to match the regular expression: '^([A-Z]{1,3}[a-z0-9]+)*([A-Z]{2})?s$'. (https://rules.sonarsource.com/csharp/RSPEC-2342)
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/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#L696
Refactor your code not to use hardcoded absolute paths or URIs. (https://rules.sonarsource.com/csharp/RSPEC-1075)
Build: src/Microsoft.OpenApi/Reader/ParseNodes/ParserHelper.cs#L12
Add a 'protected' constructor or the 'static' keyword to the class declaration. (https://rules.sonarsource.com/csharp/RSPEC-1118)
Build: src/Microsoft.OpenApi/Extensions/OpenApiSerializableExtensions.cs#L28
All 'SerializeAsJsonAsync' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136)