Skip to content

Support OpenAPI 3.1/3.2 $dynamicRef resolution with ApiDOM #4223

Description

@aqeelat

Summary

Proposed Swagger Client resolver work for OpenAPI 3.1/3.2 $dynamicRef schemas using ApiDOM. This issue is linked from the broader Swagger UI coordination issue so the prerequisite relationship is visible.

Reference implementation / showcase

The showcase repository includes OpenAPI examples used to validate that dynamic response envelopes and root-local #/components/... refs resolve as expected.

Related issues

Proposed scope

  • Delegate schemas with $dynamicRef to ApiDOM's dereference logic.
  • Resolve with full OpenAPI document context where dynamic scope requires root-level context.
  • Preserve compatibility for root-local #/components/... refs inside schemas that also declare absolute $id values.
  • Add regression coverage for a dynamic-ref response schema shape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions