naftiko: 1.0.0-alpha2 info: label: UiPath Test Manager API — TestCases description: 'UiPath Test Manager API — TestCases. 3 operations. Lead operation: UiPath List Test Cases in a Project. Self-contained Naftiko capability covering one Uipath business surface.' tags: - Uipath - TestCases created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: UIPATH_API_KEY: UIPATH_API_KEY capability: consumes: - type: http namespace: test-manager-testcases baseUri: https://cloud.uipath.com/{organizationName}/{tenantName}/testmanager_ description: UiPath Test Manager API — TestCases business capability. Self-contained, no shared references. resources: - name: api-v2-projects-projectId-testcases path: /api/v2/projects/{projectId}/testcases operations: - name: listtestcases method: GET description: UiPath List Test Cases in a Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page in: query type: integer description: Page number for pagination (0-based) - name: pageSize in: query type: integer description: Number of records per page - name: createtestcase method: POST description: UiPath Create a Test Case outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-projects-projectId-testcases-testCaseId path: /api/v2/projects/{projectId}/testcases/{testCaseId} operations: - name: gettestcase method: GET description: UiPath Get a Test Case by ID outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.UIPATH_API_KEY}}' exposes: - type: rest namespace: test-manager-testcases-rest port: 8080 description: REST adapter for UiPath Test Manager API — TestCases. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/projects/{projectid}/testcases name: api-v2-projects-projectid-testcases description: REST surface for api-v2-projects-projectId-testcases. operations: - method: GET name: listtestcases description: UiPath List Test Cases in a Project call: test-manager-testcases.listtestcases with: page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - method: POST name: createtestcase description: UiPath Create a Test Case call: test-manager-testcases.createtestcase with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/projects/{projectid}/testcases/{testcaseid} name: api-v2-projects-projectid-testcases-testcaseid description: REST surface for api-v2-projects-projectId-testcases-testCaseId. operations: - method: GET name: gettestcase description: UiPath Get a Test Case by ID call: test-manager-testcases.gettestcase outputParameters: - type: object mapping: $. - type: mcp namespace: test-manager-testcases-mcp port: 9090 transport: http description: MCP adapter for UiPath Test Manager API — TestCases. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: uipath-list-test-cases-project description: UiPath List Test Cases in a Project hints: readOnly: true destructive: false idempotent: true call: test-manager-testcases.listtestcases with: page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: uipath-create-test-case description: UiPath Create a Test Case hints: readOnly: true destructive: false idempotent: false call: test-manager-testcases.createtestcase with: body: tools.body outputParameters: - type: object mapping: $. - name: uipath-get-test-case-id description: UiPath Get a Test Case by ID hints: readOnly: true destructive: false idempotent: true call: test-manager-testcases.gettestcase outputParameters: - type: object mapping: $.