What problem does it solve? Writing and maintaining OpenAPI specifications by hand is tedious and error-prone, especially as API routes evolve. This Skill scans your existing API codebase and produces a complete, validated OpenAPI 3.0/3.1 spec automatically. ## Core Features & Use Cases - Route Scanning: Extracts route definitions, JSDoc metadata, and path parameters from Express, Next.js, Fastify, Hono, or NestJS codebases. - Schema Generation: Converts TypeScript types into OpenAPI component schemas, including enums, arrays, and required fields. - Spec Export & Validation: Outputs YAML or JSON specs with security schemes, tags, and examples, then validates them with Swagger Parser. - Use Case: You have an Express API with 40 endpoints and need documentation for a partner team. Run the generator to produce an openapi.yaml file that imports directly into Postman, Insomnia, or Swagger UI. ## Quick Start Ask the AI to generate an OpenAPI 3.1 specification from the routes in your src directory and export it as openapi.yaml.