Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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