Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Circular remote references results in overflow #24

Closed
whitlockjc opened this issue Jul 8, 2015 · 0 comments
Closed

Circular remote references results in overflow #24

whitlockjc opened this issue Jul 8, 2015 · 0 comments

Comments

@whitlockjc
Copy link
Owner

It is possible to create a circular reference that json-refs does not catch but it only happens for remote references. Let's say you serve a document at http://yourhostname/swagger.json and within that document you have references that look like http://yourhostname/swagger.json#/definitions/User, when json-refs resolves the remote reference it will find another remote reference pointing to itself and infinitely loop.

@whitlockjc whitlockjc changed the title Better handle circular remote references Circular remote references results in overflow Jul 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant