-
Notifications
You must be signed in to change notification settings - Fork 91
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
External nested refs aren't being resolved #96
Conversation
This is currently being tracked in whitlockjc/json-refs#80 The plan is to update the json-refs version in sway when this is fixed. |
@whitlockjc I think this is a different issue, since json-refs resolves it fine:
|
Yes, |
@whitlockjc thanks, and I'm sorry to bother you again: I just tried with json-refs@2.1.5 and it resolved it fine, just like 2.1.6 did. So I think that maybe this issue is unrelated to json-refs. Can you confirm? |
json-refs is the resolving library for sway and swagger-tools. It is the only thing that is used for resolving references. What version of json-refs is installed in your swagger-tools? |
@whitlockjc I'm just using the json-refs git repo:
|
What I'm trying to say is that you reported an error with sway that has since been fixed in json-refs but that version of json-refs is not the one installed into your sway (likely). So to figure out if I'm right, wherever your sway-based project is, run this: |
I'm sorry @whitlockjc: the version of json-refs used in my project that depends on sway is 2.1.6, and it's failing there. Now that I've read whitlockjc/json-refs#80, I understand that the issue happens when using "-I relative", and that makes sense. I agree with the solution proposed here: whitlockjc/json-refs#80 (comment) |
This test is failing.