Openapi generator

From a5c-ai/babysitter · View interactive version

Openapi generator is an AI agent skill from the GitHub repository a5c-ai/babysitter. Generate OpenAPI specifications from code or legacy APIs with schema inference and documentation

How to use this skill

Skill file

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:

Capabilities

1. Spec Generation from Code Annotations

2. Schema Inference

3. Example Generation

4. Validation Rule Extraction

5. Versioning Support

6. Documentation Generation

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

Related Skills

Related Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.