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

2.10.3 doesn't resolve recursive references #1052

Closed
ralfhandl opened this issue Aug 15, 2016 · 2 comments
Closed

2.10.3 doesn't resolve recursive references #1052

ralfhandl opened this issue Aug 15, 2016 · 2 comments

Comments

@ralfhandl
Copy link

People have Friends, so the Person schema references itself: https://raw.githubusercontent.com/ralfhandl/odata/master/TripPin.openapi.json

With version 2.10.1 this recursion was resolved one level deep and then stopped, which was fine: Person is visualized, and only Friends is an array of undefined
swagger-editor-2 10 1

With version 2.10.3 the recursion is not resolved at all: Person itself is now undefined
swagger-editor-2 10 3

Please restore the friendlier 2.10.1 behavior.

Thanks in advance
Ralf

@saharj
Copy link
Contributor

saharj commented Aug 17, 2016

Yes, this is a known issue with json-refs dependency. Please see this issue: #1005 (comment)

@saharj
Copy link
Contributor

saharj commented Aug 17, 2016

Follow this issue here: whitlockjc/json-refs#91

@saharj saharj closed this as completed Aug 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants