Skip to content

fix: harden yaml parsing #3346

fix: harden yaml parsing

fix: harden yaml parsing #3346

Triggered via pull request August 18, 2026 22:18
Status Success
Total duration 6m 31s
Artifacts

sonarcloud.yml

on: pull_request
check if SONAR_TOKEN is set in github secrets
3s
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#L28
Loop should be simplified by calling Select(property => property.Key))
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.YamlReader/YamlJsonParser.cs#L183
Remove the unused local variable 'map'.
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L59
Remove this call from a constructor to the overridable 'CopyReference' method.
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
The 'adopt' legacy AdoptOpenJDK distribution is deprecated and will be removed in setup-java v6. Please migrate to the 'temurin' distribution.