generate_documentation
Create Markdown or HTML API documentation from an OpenAPI session, including endpoints, schemas, examples, and security details; returns the saved file path.
Instructions
Generate comprehensive markdown documentation for the API and return the file path
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: 'markdown' for .md file or 'html' for interactive HTML documentation (default: markdown) | |
| filename | No | Filename for the documentation (default: auto-generated from API title) | |
| sessionId | Yes | The session ID | |
| groupByTags | No | Group endpoints by tags (default: true) | |
| includeExamples | No | Include examples in documentation (default: false) | |
| includeSecurity | No | Include security information in endpoints (default: true) | |
| outputDirectory | No | Directory to save the documentation file (default: current working directory) | |
| includeEndpoints | No | Include endpoints documentation (default: true) | |
| includeComponents | No | Include components/schemas documentation (default: true) | |
| includeTableOfContents | No | Include table of contents (default: true) |