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

The site can't be reached when previewing in browser #9

Closed ni5ni6 closed 7 years ago

ni5ni6 commented 7 years ago

Hi,

I have a problem with previewing in browser. Once I click "Open"

image

I get:

image

Is there a prerequisite I've missed?

Thanks!

ni5ni6 commented 7 years ago

Huh, okay, I sorted it out.

You'll need to restart the VS Code after changing the settings swaggerViewer.previewInBrowser to true and it will work nicely.

(Maybe mention that in the README?)