-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Error displaying when trying to use multiple files for definition reference #96
Comments
@nchudleigh could you please provide more details?
Thanks |
I just tested on your files and can confirm this is a bug. |
Great thanks 👍 |
I'm getting a similar issue when using $ref for external .json files. I will be sending you an email with a minimal sample that reproduces the issue. It is not exactly the same for us, as for example, a different spec which is structurally similar (references multiple .json files) is not affected by this bug. Thanks. |
@camillu thanks for sending minimal sample. Fix will be shipped in the next release. I will let you know. |
Thank you so much! |
FYI: new release has been shipped (actually some time ago but I have remembered only now) |
Thanks! We are making use of 1.6.1 already and it's working great. |
My file structure looks like this:
swagger.json has all the paths and parameters, I am trying to reference the definitions in the path parameters (in swagger.json) and I am getting this error. The odd thing is the references work for ONE endpoint but not multiple.
I am using swagger-tools to validate the swagger.json file and it seems to be fine
The text was updated successfully, but these errors were encountered: