-
Notifications
You must be signed in to change notification settings - Fork 41
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
Cmd+Click to navigate to source code method mentioned in operationId
#277
Comments
operationId
operationId
Hi @kavishdahekar-sap This is sounds like an interesting feature to have! It would be pretty challenging to try to locate matching code, given that implementation could be in any language and framework? How do you plan to tackle this problem? |
I was actually just thinking about Python+Connexion where Connexion implicitly links the endpoint to the operation via Flask under the hood. The Since OpenAPI just enforces the |
This seems pretty limited solution, IMO... |
That's a fair conclusion, however, it's often not feasible to support all languages for a new feature right from the start. By starting with Python, we can implement and refine the feature, setting a foundation for further development. This will also allow us to gather feedback and make iterative improvements. Ideally, as the feature proves its value and stability, other contributors from the community can help extend its support to additional languages over time. |
Usually OpenAPI spec and source code is maintained in the same repository.
It would be a great feature to be able to Cmd+Click the
operationId
of an API endpoint and have VSCode navigate to that method.I am willing to take this up if you think this is a worthwhile feature.
The text was updated successfully, but these errors were encountered: