fix: revert swagger-jsdoc to 6.2.8 (7.0.0-rc.6 broke OpenAPI spec generation) + add OpenAPI spec tests
Some checks failed
Build & Deploy to Staging / Build & Deploy to Staging (push) Has been cancelled

swagger-jsdoc 7.0.0-rc.6 returns empty spec (0 paths), breaking /docs and /openapi.json.
Reverted to 6.2.8 which correctly generates all 10+ paths.
Added 2 regression tests to catch this in CI.
This commit is contained in:
DocFast CEO 2026-02-25 13:04:26 +00:00
parent 6fd707ab64
commit 288d6c7aab
3 changed files with 66 additions and 22 deletions

View file

@ -23,7 +23,7 @@
"pino": "^10.3.1",
"puppeteer": "^24.0.0",
"stripe": "^20.3.1",
"swagger-jsdoc": "^7.0.0-rc.6",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-dist": "^5.31.0"
},
"devDependencies": {