Skip to content

fix: adds explicit error message for invalid json pointers #3160

fix: adds explicit error message for invalid json pointers

fix: adds explicit error message for invalid json pointers #3160

Triggered via pull request July 14, 2026 16:13
Status Success
Total duration 8m 48s
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

10 warnings and 1 notice
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L59
Remove this call from a constructor to the overridable 'CopyReference' method.
Build: src/Microsoft.OpenApi/Reader/JsonNodeHelper.cs#L257
Method has 8 parameters, which is greater than the 7 authorized.
Build: src/Microsoft.OpenApi/Reader/JsonNodeHelper.cs#L257
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.
Build: src/Microsoft.OpenApi/Reader/JsonNodeHelper.cs#L34
Use a comparison to 'default(T)' instead or add a constraint to 'T' so that it can't be a value type.
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiV31Deserializer.cs#L78
Use a comparison to 'default(U)' instead or add a constraint to 'U' so that it can't be a value type.
Build: src/Microsoft.OpenApi/Reader/V31/OpenApiV31Deserializer.cs#L61
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
Build: src/Microsoft.OpenApi/Reader/V32/OpenApiV32Deserializer.cs#L78
Use a comparison to 'default(U)' instead or add a constraint to 'U' so that it can't be a value type.
Build: src/Microsoft.OpenApi/Reader/V32/OpenApiV32Deserializer.cs#L61
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
Build: src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L79
Use a comparison to 'default(U)' instead or add a constraint to 'U' so that it can't be a value type.
Build: src/Microsoft.OpenApi/Reader/V3/OpenApiV3Deserializer.cs#L62
Refactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.
Build
AdoptOpenJDK has moved to Eclipse Temurin https://github.com/actions/setup-java#supported-distributions please consider changing to the 'temurin' distribution type in your setup-java configuration.