Receber por email
← Voltar para o catálogo

openapi-generator

Gere especificações OpenAPI a partir de código ou APIs legadas com inferência de esquema e documentação.

1.4kestrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add a5c-ai/babysitter

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/openapi-generator/svg)](https://www.skillteca.com.br/skills/openapi-generator)

Skills relacionadas

Ver todas de Automação →

Alerta por categoria

Receba novas skills de Automação toda segunda

1 email curto, só com as skills novas de Automação. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

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 discovery
  • api-compatibility-analyzer: Version comparison

Related Agents

  • api-modernization-architect: API design
  • documentation-migration-agent: Doc generation
Compartilhar X LinkedIn