docs_generate_openapi
Generate an OpenAPI 3.x specification directly from source code, routes, or endpoint definitions. Simplifies documenting APIs by converting existing code into a structured spec.
Instructions
Generate an OpenAPI 3.x specification from source code, routes, or endpoint definitions
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | API title for the spec | |
| api_key | No | API key for authentication | |
| version | No | API version string | |
| source_code | Yes | Source code or route definitions to generate OpenAPI spec from |