← Back to Browse
Documentation
SwaggerSync
Keep your OpenAPI docs in sync with your actual Express/Fastify routes automatically.
★★★★☆ 4.3
176 reviews
6.2k
installs
v1.9.0
MIT
Install
npx skilldock install swagger-sync
About
SwaggerSync introspects your route handlers, middleware, and TypeScript types to generate accurate OpenAPI 3.0 documentation. It detects route changes and warns about undocumented endpoints. Includes Swagger UI hosting and automatic client SDK generation.
Usage Example
const swaggerSync = require("swagger-sync");
// Auto-generate docs from routes
app.use("/docs", swaggerSync(app, {
title: "My API",
version: "1.0.0",
generateClient: true
}));