create_api_doc_from_controller
Eliminate manual documentation by generating Confluence API docs from NestJS controller files, with optional endpoint filters and automatic Postman collection creation.
Instructions
Create a new API documentation page from NestJS controller files
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": {
"controllerPath": "<controllerPath>",
"spaceKey": "<spaceKey>"
},
"name": "create_api_doc_from_controller"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional: custom page title | |
| baseUrl | No | Optional: API base URL for Postman collection | |
| spaceKey | Yes | Target Confluence space key | |
| filterTags | No | Optional: only include endpoints with these tags | |
| filterPaths | No | Optional: only include endpoints matching these path patterns | |
| parentPageId | No | Optional: parent page ID for nesting | |
| controllerPath | Yes | Path to a .controller.ts file or directory containing controller files |