docs_generate_swagger_ui
Turn an OpenAPI specification into an interactive Swagger UI HTML page for visualizing and testing API endpoints.
Instructions
Generate a Swagger UI HTML page from an OpenAPI specification
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Swagger UI theme (e.g., 'default', 'dark') | |
| api_key | No | API key for authentication | |
| openapi_spec | Yes | OpenAPI specification in JSON or YAML format |