Open
Description
I have discovered an issue when a remote schema (ex. http://schema.com/user) contains another reference to a relative schema on that site (ref: "/address");
Using the resolver, i get a $refs object which contains following keys:
- My original file
- http://schema.com/user
- http://schema.com/address
This is what I expect.
However, when trying to bundle(), I get the message that: "all pointers must begin with #".
I have made a workaround in my code using .resolve() and then swapping out the relative path by checking all the keys in the $refs object, but I expect bundle() to just work out of the box.
fyi, this relative path thing works fine on the official Swagger Editor website.