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

Definitions which hang the parser/resolver - infinite loop? #64

Open
MikeRalphson opened this issue Apr 3, 2017 · 3 comments
Open

Definitions which hang the parser/resolver - infinite loop? #64

MikeRalphson opened this issue Apr 3, 2017 · 3 comments

Comments

@MikeRalphson
Copy link

Seems to affect both the v3.4 and v4 branches.

Each seem to have quite deeply nested circular references (I used a topological sorting algorithm to check).

@JamesMessinger
Copy link
Member

Thanks for letting me know. I'll try to reproduce the problem locally and look into the cause

@bbqsrc
Copy link

bbqsrc commented Apr 4, 2017

I encountered this today, and I have made a minimal reproduction case here: APIDevTools/json-schema-ref-parser#36

@JamesMGreene
Copy link

Otherwise, maybe try settings the option $refs.circular to false....?

https://github.com/BigstickCarpet/swagger-parser/blob/master/docs/options.md#options

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

4 participants