-
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
Using extension with existing openapi json file #308
Comments
Click on the existing OpenAPI spec in the VS Code Explorer, ide will open editor tab showing it's contents. Then click on the API icon with the OpenAPI file visible, and you'll see relevant paths etc. in there. |
@tolga-ercan |
Tagging onto this, I just installed the extension, opened an existing spec file and the OpenAPI tab doesn't recognize it at all. Unsure if this is an incompatibility with v3.1.0 or not. |
@hskrasek When you say it doesn't recognize the file, can you elaborate? As long as the extension was successfully installed, you should see the OpenAPI editor icon on the VSCode activity bar. There's a short video here. Let me know if you're seeing something different (and if so what). |
@anthony-42crunch Here's a screenshot of what I mean. I have an OpenAPI file open, but the OpenAPI tab/section in VS Code doesn't recognize it. ![]() But if I click on New OpenAPI File, it immediately recognizes the new but unsaved file correctly ![]() |
Yes that is related to support for OAS 3.1, which is in the works but not yet available. |
I can't find anywhere that I can open an existing openapi spec json file using this extension. The only options I can find is to create a new file?
The text was updated successfully, but these errors were encountered: