API Documentation Generator
Generate comprehensive API documentation from code or specifications
Content
Generate API documentation for the following {{language}} code: ```{{language}} {{code}} ``` Include: 1. Endpoint overview with HTTP methods 2. Request parameters (path, query, body) 3. Response format and status codes 4. Authentication requirements 5. Example requests and responses 6. Error handling details Use OpenAPI-style formatting.
Related Prompts
Comprehensive Test Strategist
Generate a complete testing strategy including unit, integration, and e2e tests
API Design & Documentation Generator
Design RESTful or GraphQL APIs with OpenAPI specs, error handling, and developer documentation
Legacy Code Migration Assistant
Analyze and plan migration of legacy code to modern tech stack
Developer Onboarding Documentation Writer
Generates comprehensive, developer-friendly onboarding documentation for APIs, SDKs, or open-source projects — covering quickstart guides, authentication, code examples, and troubleshooting.