-
Notifications
You must be signed in to change notification settings - Fork 92
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
Issue with relative paths in refs #77
Comments
Seems like a legit issue. I'm not sure how this was missed but I will get it sorted. |
This seems related to #96 |
any news on this? running into an issue where sway fails to resolve references even within a single document. |
|
@whitlockjc I wouldn't bother you unless @theganyo used this in https://github.com/theganyo/swagger-node-runner which kinda made it useless for request validation as it fails all the time. but I guess it's primarily his issue, not yours. thank you for your work! really appreciate people like you who support OSS, keep it up! |
This is actually working as designed. With |
Hi
I am trying to use sway for validating our swagger schema files. I'm running into an issue with using relative references for files. I created a repo to illustrate the issue, https://github.com/ianand2/sway-multi-file-error.
The issue seems to be coming from here: https://github.com/apigee-127/sway/blob/master/index.js#L191 after resolving the remotes, it is resolving the local references, but since it is using remoteResults.value instead of remoteResults.resolved, it throws a bunch of validation errors. Making that change in sway makes the validations pass. Can you please take a look and let me know, if I'm doing something wrong.
Thanks
The text was updated successfully, but these errors were encountered: