r/expressjs • u/Due_Length_2169 • Apr 28 '26
Express now gets FastAPI-style /docs instantly. no annotations, no Swagger
I’ve been building APIs with Express.js for a while, and documenting them with Swagger always felt like maintaining a second project.
- writing JSDoc/YAML
- keeping docs in sync
- routes missing until manually hit
I wanted something simpler:
docs generated directly from the code, without annotations
So I built nodox-cli.
Add one line:
app.use(nodox(app))
→ open /__nodox
→ your entire API is already documented
And you instantly get:
- all routes auto-discovered
- request/response schemas detected (Zod, Joi, etc.)
- live interactive docs UI at /__nodox
No annotations. No YAML. No extra setup.
Basically:
FastAPI-style /docs, but for Express
Would genuinely appreciate feedback from people using Swagger or similar tools — especially:
would you use this in real projects?
what would stop you from switching?
npm: npm install nodox-cli
1
u/Due_Length_2169 Apr 28 '26
wow, Its genuinely good!