kogosoftwarellc / open-api

A Monorepo of various packages to power OpenAPI in node
MIT License
895 stars 237 forks source link

How to get the nice swagger page? #895

Open codan84 opened 9 months ago

codan84 commented 9 months ago

In your docs you have a screenshot of a nice swagger page with docs: https://github.com/kogosoftwarellc/open-api/blob/main/packages/express-openapi/docs/swagger-page.png

What I am getting by default on /api-docs endpoint is just plain JSON with full schema... nothing mentioned in docs about swagger page...

icazemier commented 7 months ago

Landed here... (thinking I can answer this question)

If I'm not mistaken, you could take a look here: https://github.com/swagger-api/swagger-ui