sync_swagger_to_confluence
Generates Confluence pages from Swagger/OpenAPI specs, organizing content by tag, path, or as a single page to reflect your API documentation structure.
Instructions
Sync a Swagger/OpenAPI spec to Confluence, optionally creating nested pages
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"swaggerSource": "<swaggerSource>",
"spaceKey": "<spaceKey>"
},
"name": "sync_swagger_to_confluence"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groupBy | No | How to organize pages: tag (separate pages per tag), path (separate pages per path), or single (all on one page) | |
| spaceKey | Yes | Target Confluence space key | |
| parentPageId | No | Optional: parent page ID for organizing documentation | |
| swaggerSource | Yes | URL or file path to the Swagger/OpenAPI specification |