openapi-generator
БесплатноБез исполняемых скриптовНе проверенGenerate OpenAPI specifications from code or legacy APIs with schema inference and documentation
от a5c-ai★ 1 947 звёзд на GitHubОб этом скилле
OpenAPI Generator Skill
Generates OpenAPI specifications from code annotations, legacy APIs, or runtime analysis, with schema inference and documentation generation.
Purpose
Enable API documentation for:
- Spec generation from code
- Schema inference
- Example generation
- Validation rule extraction
- Documentation generation
Capabilities
1. Spec Generation from Code Annotations
- Parse JSDoc/Swagger annotations
- Extract from decorators
- Process code comments
- Support multiple languages
2. Schema Inference
- Infer from TypeScript types
- Extract from runtime samples
- Build from database models
- Derive from existing payloads
3. Example Generation
- Generate realistic examples
- Create edge case samples
- Produce validation examples
- Build test fixtures
4. Validation Rule Extraction
- Extract validation constraints
- Document required fields
- Map format rules
- Export enum values
5. Versioning Support
- Track API versions
- Generate diff between versions
- Document breaking changes
- Support multiple versions
6. Documentation Generation
- Generate Swagger UI
- Create ReDoc pages
- Export to Postman
- Build developer portals
Tool Integrations
| Tool | Language | Integration Method |
|---|---|---|
| Swagger Codegen | Multi | CLI |
| OpenAPI Generator | Multi | CLI |
| springdoc | Java/Spring | Library |
| NSwag | .NET | CLI |
| tsoa | TypeScript | CLI |
| FastAPI | Python | Auto |
Output Schema
{
"generationId": "string",
"timestamp": "ISO8601",
"specification": {
"openapi": "string",
"info": {},
"paths": {},
"components": {}
},
"artifacts": {
"specFile": "string",
"docsUrl": "string",
"postmanCollection": "string"
},
"coverage": {
"endpoints": "number",
"documented": "number",
"schemasGenerated": "number"
}
}
Integration with Migration Processes
- api-modernization: Spec generation
- documentation-migration: API docs
Related Skills
api-inventory-scanner: Endpoint discoveryapi-compatibility-analyzer: Version comparison
Related Agents
api-modernization-architect: API designdocumentation-migration-agent: Doc generation
Установить openapi-generator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashReadWriteGrepGlobEditВложенные файлы
FAQ
Что делает скилл openapi-generator?
Generate OpenAPI specifications from code or legacy APIs with schema inference and documentation
Как установить скилл openapi-generator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл openapi-generator запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic