/install afrexai-api-docs
API Documentation Generator
Generate production-ready API documentation from endpoint descriptions. Outputs OpenAPI 3.0, markdown reference docs, and SDK quickstart guides.
Usage
Describe your API endpoints and this skill generates:
- OpenAPI 3.0 spec — machine-readable, import into Swagger/Postman
- Markdown reference — human-readable endpoint docs with examples
- SDK quickstart — copy-paste integration guide for developers
Instructions
When the user describes API endpoints (routes, methods, parameters, responses):
- Generate a complete OpenAPI 3.0 YAML specification
- Create markdown documentation with:
- Authentication section
- Each endpoint: method, path, description, parameters table, request/response examples
- Error codes reference
- Rate limiting notes
- Generate a quickstart guide with curl examples and common language snippets (Python, JavaScript, Go)
Output Format
# openapi.yaml — full OpenAPI 3.0 spec
# API Reference — human-readable docs
# Quickstart Guide — integration examples
Quality Standards
- Every endpoint must have request AND response examples
- Use realistic sample data, not "string" or "example"
- Include error responses (400, 401, 403, 404, 500)
- Document pagination, filtering, and sorting patterns
- Note breaking changes and versioning strategy
Tips
- Paste your route files or controller code for automatic extraction
- Works with REST, GraphQL (schema-first), and gRPC (proto-first)
- Combine with CI/CD to auto-generate docs on every deploy
Built by AfrexAI — AI-powered business tools for teams that ship fast.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install afrexai-api-docs - After installation, invoke the skill by name or use
/afrexai-api-docs - Provide required inputs per the skill's parameter spec and get structured output
What is API Documentation Generator?
Generate comprehensive OpenAPI 3.0 specs, markdown reference docs, and SDK quickstarts from API endpoint descriptions with examples and error codes. It is an AI Agent Skill for Claude Code / OpenClaw, with 672 downloads so far.
How do I install API Documentation Generator?
Run "/install afrexai-api-docs" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is API Documentation Generator free?
Yes, API Documentation Generator is completely free (open-source). You can download, install and use it at no cost.
Which platforms does API Documentation Generator support?
API Documentation Generator is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created API Documentation Generator?
It is built and maintained by 1kalin (@1kalin); the current version is v1.0.0.