arjun-g / vs-swagger-viewer

Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.
MIT License
170 stars 47 forks source link

Running the contributed command:'extension.previewSwagger' failed. #42

Open han4wluc opened 6 years ago

han4wluc commented 6 years ago

I just installed the extension, and I'm getting this error when I try to preview a .yaml file using openapi: 3.0.0 Running the contributed command:'extension.previewSwagger' failed.

VS Code Version 1.25.1 (1.25.1). Swagger Viewer 2.0.1 MacOS High Sierra Versio 10.13.6

s-kikuchi commented 6 years ago

I'm getting the same issue. I write the way how to face the problem.

  1. Installed Swagger Viewer
  2. Opened swagger.yaml
  3. Clicked Command + Shift + P and executed Preview Swagger

I used these software each versions.

VS Code Version 1.25.1 Swagger View 2.0.1 MacOS High Sierra 10.13.4

arjun-g commented 6 years ago

Should be fixed in latest version 2.0.2 please check. If you still have this issue share the yaml file if possible.

adamlehenbauer commented 5 years ago

I'm having this issue too, rendering the plugin unusable for me.

Swagger Viewer: 2.0.2 VS Code: 1.27.2 Windows 10

Swagger file is just the example from node

hello.yaml.txt