From hatch3r
Generates and validates OpenAPI specs from codebase: inventories endpoints, defines schemas, generates docs, and verifies accuracy. For API design and maintenance.
npx claudepluginhub hatch3r/hatch3rThis skill uses the workspace's default tool permissions.
```
Generates or updates OpenAPI 3.0 specs by scanning API endpoints in Express, FastAPI, Django, Go, Spring, and Rails codebases. Triggers on requests to create or document APIs from code.
Generates OpenAPI specs and interactive API docs with Swagger/Redoc. Handles spec-first contracts and code-first auto-generation from Express, FastAPI, NestJS, Spring Boot.
Generates OpenAPI 3.0+ specs from existing API code, enhances with schemas/examples/errors, creates interactive docs/SDKs, and validates compliance.
Share bugs, ideas, or general feedback.
Task Progress:
- [ ] Step 1: Inventory existing endpoints
- [ ] Step 2: Generate OpenAPI spec
- [ ] Step 3: Validate schemas
- [ ] Step 4: Generate documentation
- [ ] Step 5: Verify spec accuracy
openapi.yaml (or openapi.json) at the project root or docs/api/ directory.info block with title, version, description, and contact.components/schemas for shared request/response types.$ref references to avoid schema duplication.security schemes matching the project's authentication (Bearer, API key, OAuth2).required, minLength, maxLength, pattern, enum).nullable: true or type union.spectral, redocly lint) if available in the project.application/json, multipart/form-data, etc.) match actual handlers.