News for hackers. Stuff that matters.
Re:Swagger-viewer: utility to visualize OpenAPI/Swagger docs by fatihky on Wednesday April 15, 2026 @08:09AM (#47777969)
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

There are no comments on this comment yet.