naftiko: 1.0.0-alpha2 info: label: APIGen API — Connectors description: 'APIGen API — Connectors. 5 operations. Lead operation: APIGen List Connectors. Self-contained Naftiko capability covering one Apigen business surface.' tags: - Apigen - Connectors created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APIGEN_API_KEY: APIGEN_API_KEY capability: consumes: - type: http namespace: apigen-connectors baseUri: https://api.apigen.com/v1 description: APIGen API — Connectors business capability. Self-contained, no shared references. resources: - name: projects-projectId-connectors path: /projects/{projectId}/connectors operations: - name: listconnectors method: GET description: APIGen List Connectors outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createconnector method: POST description: APIGen Create a Connector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-projectId-connectors-connectorId path: /projects/{projectId}/connectors/{connectorId} operations: - name: getconnector method: GET description: APIGen Get a Connector outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateconnector method: PUT description: APIGen Update a Connector outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteconnector method: DELETE description: APIGen Delete a Connector outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.APIGEN_API_KEY}}' exposes: - type: rest namespace: apigen-connectors-rest port: 8080 description: REST adapter for APIGen API — Connectors. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{projectid}/connectors name: projects-projectid-connectors description: REST surface for projects-projectId-connectors. operations: - method: GET name: listconnectors description: APIGen List Connectors call: apigen-connectors.listconnectors outputParameters: - type: object mapping: $. - method: POST name: createconnector description: APIGen Create a Connector call: apigen-connectors.createconnector with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{projectid}/connectors/{connectorid} name: projects-projectid-connectors-connectorid description: REST surface for projects-projectId-connectors-connectorId. operations: - method: GET name: getconnector description: APIGen Get a Connector call: apigen-connectors.getconnector outputParameters: - type: object mapping: $. - method: PUT name: updateconnector description: APIGen Update a Connector call: apigen-connectors.updateconnector with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteconnector description: APIGen Delete a Connector call: apigen-connectors.deleteconnector outputParameters: - type: object mapping: $. - type: mcp namespace: apigen-connectors-mcp port: 9090 transport: http description: MCP adapter for APIGen API — Connectors. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apigen-list-connectors description: APIGen List Connectors hints: readOnly: true destructive: false idempotent: true call: apigen-connectors.listconnectors outputParameters: - type: object mapping: $. - name: apigen-create-connector description: APIGen Create a Connector hints: readOnly: false destructive: false idempotent: false call: apigen-connectors.createconnector with: body: tools.body outputParameters: - type: object mapping: $. - name: apigen-get-connector description: APIGen Get a Connector hints: readOnly: true destructive: false idempotent: true call: apigen-connectors.getconnector outputParameters: - type: object mapping: $. - name: apigen-update-connector description: APIGen Update a Connector hints: readOnly: false destructive: false idempotent: true call: apigen-connectors.updateconnector with: body: tools.body outputParameters: - type: object mapping: $. - name: apigen-delete-connector description: APIGen Delete a Connector hints: readOnly: false destructive: true idempotent: true call: apigen-connectors.deleteconnector outputParameters: - type: object mapping: $.