You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
whitlockjc
changed the title
Better handle circular remote references
Circular remote references results in overflow
Jul 15, 2015
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 likehttp://yourhostname/swagger.json#/definitions/User
, when json-refs resolves the remote reference it will find another remote reference pointing to itself and infinitely loop.The text was updated successfully, but these errors were encountered: