swagger-docs-generator
Generate Swagger/OpenAPI documentation setup for REST APIs. Triggers on "create swagger docs", "generate api documentation", "swagger setup", "openapi docs config".
When & Why to Use This Skill
This Claude skill automates the generation of Swagger and OpenAPI 3.x documentation for REST APIs. It streamlines the developer workflow by producing ready-to-use TypeScript configurations for Express.js, ensuring that your API endpoints are professionally documented, interactive, and compliant with industry standards.
Use Cases
- Rapidly bootstrapping Swagger UI documentation for a new Node.js/Express backend project.
- Generating standardized OpenAPI 3.x configuration files (swagger.ts) to maintain consistency across microservices.
- Automating the creation of interactive API documentation to improve developer experience and facilitate smoother frontend-backend integration.
| name | swagger-docs-generator |
|---|---|
| description | Generate Swagger/OpenAPI documentation setup for REST APIs. Triggers on "create swagger docs", "generate api documentation", "swagger setup", "openapi docs config". |
Swagger Docs Generator
Generate Swagger UI setup and configuration for API documentation.
Output Requirements
File Output: swagger.ts with express-swagger-ui configuration
Format: Valid TypeScript
Standards: OpenAPI 3.x, swagger-ui-express
When Invoked
Immediately generate Swagger documentation setup.
Example Invocations
Prompt: "Create Swagger docs for Express API" Output: Complete Swagger UI setup with configuration.