docs_add_swagger
Import API documentation from a Swagger UI page by detecting its OpenAPI spec URL automatically. Use when given URLs like /swagger or /api-docs.
Instructions
Import documentation from a Swagger UI page. Automatically detects the OpenAPI spec URL by trying common patterns. Use this when you have a Swagger UI URL like /swagger or /api-docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The Swagger UI page URL (e.g., "https://api.example.com/swagger") | |
| name | No | Optional: display name for the API documentation | |
| sourceId | No | Optional: custom source ID (auto-generated from API title if not provided) | |
| description | No | Optional: description for the source |