Skip to content

fix(library): enforce spec-compliant $ref serialization; add Extensions support for schema references in v3.1/v3.2 #2829

fix(library): enforce spec-compliant $ref serialization; add Extensions support for schema references in v3.1/v3.2

fix(library): enforce spec-compliant $ref serialization; add Extensions support for schema references in v3.1/v3.2 #2829

Triggered via pull request March 20, 2026 13:36
Status Success
Total duration 5m 27s
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

10 warnings
Build: src/Microsoft.OpenApi/Models/JsonSchemaReference.cs#L161
Use a 'null' check instead.
Build: src/Microsoft.OpenApi/Models/JsonSchemaReference.cs#L163
Remove this unnecessary cast to 'JsonNode'.
Build: src/Microsoft.OpenApi/Models/JsonSchemaReference.cs#L161
Use a 'null' check instead.
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L47
Remove this call from a constructor to the overridable 'CopyReference' method.
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L47
Remove this call from a constructor to the overridable 'CopyReference' method.
Build: src/Microsoft.OpenApi/Models/JsonSchemaReference.cs#L163
Remove this unnecessary cast to 'JsonNode'.
Build: src/Microsoft.OpenApi/Models/JsonSchemaReference.cs#L161
Use a 'null' check instead.
Build: src/Microsoft.OpenApi/Models/JsonSchemaReference.cs#L163
Remove this unnecessary cast to 'JsonNode'.
Build: src/Microsoft.OpenApi/Models/JsonSchemaReference.cs#L161
Use a 'null' check instead.
Build: src/Microsoft.OpenApi/Models/References/BaseOpenApiReferenceHolder.cs#L47
Remove this call from a constructor to the overridable 'CopyReference' method.