All SkillsGet Started Free
Ln 775 API Docs Generator
Configures Swagger/OpenAPI documentation for backend APIs. Use when adding interactive API docs to a project.
MCP get_skill({ skillId: "ln-775-api-docs-generator-adf1658e" })Use this skill with your agent
Create a free account and connect via MCP
# ln-775-api-docs-generator
**Type:** L3 Worker
**Category:** 7XX Project Bootstrap
Configures API documentation with Swagger/OpenAPI.
---
## Overview
| Aspect | Details |
|--------|---------|
| **Input** | Context Store from ln-770 |
| **Output** | Swagger/OpenAPI configuration |
| **Stacks** | .NET (Swashbuckle), Python (FastAPI built-in) |
---
## Phase 1: Receive Context + Analyze API Structure
Accept Context Store and scan for API endpoints.
**Required Context:**
- `STACK`: .NET or Python
- `PROJECT_ROOT`: Project directory path
**Idempotency Check:**
- .NET: Grep for `AddSwaggerGen` or `UseSwagger`
- Python: FastAPI has built-in OpenAPI, check for custom configuration
- If found: Return `{ "status": "skipped" }`
**API Analysis:**
1. Scan for controller/router files
2. Identify authentication method (JWT, OAuth2, API Key)
3. Check for API versioning
---
## Phase 2: Research Documentation Standards
Use MCP tools for current documentation.
**For .NET:**
```
MCP ref: "Swashbuckle ASP.NET Core OpenAPI Swagger configuration"
Context7: /domaindrivendev/Swashbuckle.AspNetCore
```
**For Python:**#agile-workflow#code-review#documentationmcp-server