naftiko: 1.0.0-alpha2 info: label: APIGit API — Repositories description: 'APIGit API — Repositories. 2 operations. Lead operation: APIGit List Repositories. Self-contained Naftiko capability covering one Apigit business surface.' tags: - Apigit - Repositories created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIGIT_API_KEY: APIGIT_API_KEY capability: consumes: - type: http namespace: apigit-repositories baseUri: https://api.apigit.com/v1 description: APIGit API — Repositories business capability. Self-contained, no shared references. resources: - name: repos path: /repos operations: - name: listrepositories method: GET description: APIGit List Repositories outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Maximum number of results. - name: offset in: query type: integer description: Number of results to skip. - name: createrepository method: POST description: APIGit Create Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-API-Key value: '{{env.APIGIT_API_KEY}}' placement: header exposes: - type: rest namespace: apigit-repositories-rest port: 8080 description: REST adapter for APIGit API — Repositories. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repos name: repos description: REST surface for repos. operations: - method: GET name: listrepositories description: APIGit List Repositories call: apigit-repositories.listrepositories with: limit: rest.limit offset: rest.offset outputParameters: - type: object mapping: $. - method: POST name: createrepository description: APIGit Create Repository call: apigit-repositories.createrepository with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: apigit-repositories-mcp port: 9090 transport: http description: MCP adapter for APIGit API — Repositories. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigit-list-repositories description: APIGit List Repositories hints: readOnly: true destructive: false idempotent: true call: apigit-repositories.listrepositories with: limit: tools.limit offset: tools.offset outputParameters: - type: object mapping: $. - name: apigit-create-repository description: APIGit Create Repository hints: readOnly: false destructive: false idempotent: false call: apigit-repositories.createrepository with: body: tools.body outputParameters: - type: object mapping: $.