Live data from Hacker News

Swagger-viewer: utility to visualize OpenAPI/Swagger docs

npmjs.com

1–2 of 2 posts

Re: Swagger-viewer: utility to visualize OpenAPI/Swagger docs

#2
Hi, I have a small utility package resides in npm for a couple years and I thought it could help.

It's basically takes your api schema file path or url as argument and visualizes with the swagger-ui[1] package.

Easiest way to see it in action:

`npx swagger-viewer@latest https://petstore.swagger.io/v2/swagger.json`

[1] https://www.npmjs.com/package/swagger-ui-dist