Swagger-viewer: utility to visualize OpenAPI/Swagger docs (npmjs.com) 2 points by fatihky 3mo ago ↗ HN
[–] fatihky 3mo ago ↗ 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
1 comment
[ 4.6 ms ] story [ 18.8 ms ] threadIt'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