api-docs-generator▌
patricio0312rev/skills · updated Apr 8, 2026
Create comprehensive API documentation with OpenAPI specifications and interactive documentation.
API Docs Generator
Create comprehensive API documentation with OpenAPI specifications and interactive documentation.
Core Workflow
- Analyze API endpoints: Review routes, methods, parameters
- Define OpenAPI spec: Create specification in YAML/JSON
- Add schemas: Define request/response models
- Include examples: Add realistic example values
- Generate documentation: Deploy interactive docs
- Create SDK: Optional client library generation
OpenAPI Specification Structure
# openapi.yaml
openapi: 3.1.0
info:
title: My API
version: 1.0.0
description: |
API description with **Markdown** support.
## Authentication
All endpoints require Bearer token authentication.
contact:
name: API Support
email: api@example.com
url: https://docs.example.com
license:
name: MIT
url: https://opensource.org/licenses/MIT
servers:
- url: https://api.example.com/v1
description: Production
- url: https://staging-api.example.com/v1
description: Staging
- url: http://localhost:3000/v1
description: Development
tags:
- name: Users
description: User management endpoints
- name: Products
description: Product catalog endpoints
- name: Orders
description: Order processing endpoints
paths:
# Endpoints defined here
components:
# Reusable schemas, security, etc.
Path Definitions
Basic CRUD Endpoints
paths:
/users:
get:
tags:
- Users
summary: List all users
description: Retrieve a paginated list of users
operationId: listUsers
parameters:
- $ref: '#/components/parameters/PageParam'
- $ref: '#/components/parameters/LimitParam'
- name: role
in: query
description: Filter by user role
schema:
type: string
enum: [admin, user, guest]
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/UserList'
example:
data:
- id: "usr_123"
email: "john@example.com"
name: "John Doe"
role: "admin"
createdAt: "2024-01-15T10:30:00Z"
pagination:
page: 1
limit: 20
total: 150
'401':
$ref: '#/components/responses/Unauthorized'
'500':
$ref: '#/components/responses/InternalError'
post:
tags:
- Users
summary: Create a new user
description: Create a new user account
operationId: createUser
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CreateUserRequest'
example:
email: "newuser@example.com"
name: "New User"
password: "securePassword123"
role: "user"
responses:
'201':
description: User created successfully
content:
application/json:
schema:
$ref: '#/components/schemas/User'
'400':
$ref: '#/components/responses/BadRequest'
'409':
description: User already exists
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
code: "USER_EXISTS"
message: "A user with this email already exists"
'422':
$ref: '#/components/responses/ValidationError'
/users/{userId}:
parameters:
- $ref: '#/components/parameters/UserId'
get:
tags:
- Users
summary: Get user by ID
description: Retrieve a specific user by their ID
operationId: getUserById
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/User'
'404':
$ref: '#/components/responses/NotFound'
patch:
tags:
- Users
summary: Update user
description: Update an existing user's information
operationId: updateUser
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateUserRequest'
responses:
'200':
description: User updated successfully
content:
application/json:
schema:
$ref: '#/components/schemas/User'
'404':
$ref: '#/components/responses/NotFound'
'422':
$ref: '#/components/responses/ValidationError'
delete:
tags:
- Users
summary: Delete user
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★67 reviews- ★★★★★Dhruvi Jain· Dec 12, 2024
We added api-docs-generator from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Pratham Ware· Dec 8, 2024
Registry listing for api-docs-generator matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Camila Zhang· Dec 8, 2024
Useful defaults in api-docs-generator — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Aisha Taylor· Dec 8, 2024
api-docs-generator has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Michael Dixit· Dec 8, 2024
api-docs-generator fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Kofi Taylor· Dec 4, 2024
We added api-docs-generator from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Camila Khan· Nov 27, 2024
I recommend api-docs-generator for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Chinedu Sanchez· Nov 27, 2024
api-docs-generator reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Luis Jackson· Nov 23, 2024
api-docs-generator fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Aisha Garcia· Nov 15, 2024
Solid pick for teams standardizing on skills: api-docs-generator is focused, and the summary matches what you get after install.
showing 1-10 of 67