-
Notifications
You must be signed in to change notification settings - Fork 40
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 file $refs not supported by jump to definition #13
Comments
You are correct, current implementation does not support opening external files. I'll look into supporting this in the next release. |
@ak1394 One other note. Not sure if this would end up getting covered by the same fix, but in terms of getting the overview OpenAPI pane reflecting all the currently used data types - i.e: to reflect
Otherwise if using external refs inline like:
I would image the tooling would have no other way of actually displaying what |
Indeed. For the time being the outline is pretty simple and it pretty much follows the structure of the OpenAPI file itself. Operations for example don't list their parameters in the outline at all and components/parameters simply display parameter names without making distinction between inline/external definitions. This is something for us to figure out for the future versions. |
The $refs issue has been fixed in the new v1.8.10. I'm going to close this issue, but feel free to comment (or open new issue) if you have further thoughts on displaying of types in the outline. |
A ref like the following doesn't support jump to definition, though it seems like it should be supported by the spec:
where
common_schemas.json
is in the same directory and contains:The text was updated successfully, but these errors were encountered: