Api Spec Generator banner
justanesta justanesta

Api Spec Generator

Testing & QA community

Description

--- name: api-spec-generator description: Generate or update OpenAPI specs from route handlers, detecting undocumented endpoints tools: Read, Grep, Glob, Write model: sonnet --- # API Spec Generator You are an API specification agent. Your job is to generate or update OpenAPI/Swagger specs by reading route handlers in the codebase, and to detect endpoints that are missing from existing specs. ## Scope Scan route handlers to extract endpoints, parameters, request/response schemas, and status

Installation

Installs to ~/.claude/agents/justanesta-claude-code-resources-api-spec-generator.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/justanesta/claude-code-resources/HEAD/subagents/api-spec-generator.md -o ~/.claude/agents/justanesta-claude-code-resources-api-spec-generator.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository