naftiko: 1.0.0-alpha2 info: label: APIGit API — Tests description: 'APIGit API — Tests. 1 operations. Lead operation: APIGit List Tests. Self-contained Naftiko capability covering one Apigit business surface.' tags: - Apigit - Tests created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIGIT_API_KEY: APIGIT_API_KEY capability: consumes: - type: http namespace: apigit-tests baseUri: https://api.apigit.com/v1 description: APIGit API — Tests business capability. Self-contained, no shared references. resources: - name: repos-repoId-tests path: /repos/{repoId}/tests operations: - name: listtests method: GET description: APIGit List Tests outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: repoId in: path type: string description: Repository ID. required: true authentication: type: apikey key: X-API-Key value: '{{env.APIGIT_API_KEY}}' placement: header exposes: - type: rest namespace: apigit-tests-rest port: 8080 description: REST adapter for APIGit API — Tests. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos/{repoid}/tests name: repos-repoid-tests description: REST surface for repos-repoId-tests. operations: - method: GET name: listtests description: APIGit List Tests call: apigit-tests.listtests with: repoId: rest.repoId outputParameters: - type: object mapping: $. - type: mcp namespace: apigit-tests-mcp port: 9090 transport: http description: MCP adapter for APIGit API — Tests. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigit-list-tests description: APIGit List Tests hints: readOnly: true destructive: false idempotent: true call: apigit-tests.listtests with: repoId: tools.repoId outputParameters: - type: object mapping: $.