Skip to content

Self referencing component schema links in Example view prepend spec-url path #1138

@NeerajAduri

Description

@NeerajAduri

When using RapiDoc with a schema that has a self referencing property, the property value in Example view is built by prepending the full spec-url path to the $ref anchor.

Expected behavior:
"name" : { }
or
"name" : "...."

Actual behavior:
"name" : pointer location to the component with filename in example.

Image Image

I also notice that the UI takes so much longer to load when such recursions are present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions