Skip to content

fix: harden yaml parsing #3341

fix: harden yaml parsing

fix: harden yaml parsing #3341

Triggered via pull request August 18, 2026 21:01
Status Success
Total duration 14m 33s
Artifacts

sonarcloud.yml

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

Annotations

11 warnings
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L163
Loops should be simplified using the "Where" LINQ method
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L97
Do not forget to remove this deprecated code someday.
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L28
Loop should be simplified by calling Select(property => property.Key))
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L73
Do not forget to remove this deprecated code someday.
Build: src/Microsoft.OpenApi/Writers/OpenApiWriterBase.cs#L119
Pass the 'cancellationToken' to this method to allow cancellation of the operation, or use 'CancellationToken.None' to opt out explicitly.
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L163
Loops should be simplified using the "Where" LINQ method
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L97
Do not forget to remove this deprecated code someday.
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L73
Do not forget to remove this deprecated code someday.
Build: src/Microsoft.OpenApi/Validations/Rules/OpenApiSchemaRules.cs#L28
Loop should be simplified by calling Select(property => property.Key))
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L59
Remove this call from a constructor to the overridable 'CopyReference' method.
Build
The 'adopt' legacy AdoptOpenJDK distribution is deprecated and will be removed in setup-java v6. Please migrate to the 'temurin' distribution.