naftiko: 1.0.0-alpha2 info: label: Incident.io API — Utilities description: 'Incident.io API — Utilities. 3 operations. Lead operation: Test API key identity. Self-contained Naftiko capability covering one Incident Io business surface.' tags: - Incident Io - Utilities created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INCIDENT_IO_API_KEY: INCIDENT_IO_API_KEY capability: consumes: - type: http namespace: incident-io-utilities baseUri: https://api.incident.io/v2 description: Incident.io API — Utilities business capability. Self-contained, no shared references. resources: - name: utilities-identity path: /utilities/identity operations: - name: getidentity method: GET description: Test API key identity outputRawFormat: json outputParameters: - name: result type: object value: $. - name: utilities-openapi-v2 path: /utilities/openapi-v2 operations: - name: getopenapiv2 method: GET description: Get the OpenAPI v2 definition outputRawFormat: json outputParameters: - name: result type: object value: $. - name: utilities-openapi-v3 path: /utilities/openapi-v3 operations: - name: getopenapiv3 method: GET description: Get the OpenAPI v3 definition outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.INCIDENT_IO_API_KEY}}' exposes: - type: rest namespace: incident-io-utilities-rest port: 8080 description: REST adapter for Incident.io API — Utilities. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/utilities/identity name: utilities-identity description: REST surface for utilities-identity. operations: - method: GET name: getidentity description: Test API key identity call: incident-io-utilities.getidentity outputParameters: - type: object mapping: $. - path: /v1/utilities/openapi-v2 name: utilities-openapi-v2 description: REST surface for utilities-openapi-v2. operations: - method: GET name: getopenapiv2 description: Get the OpenAPI v2 definition call: incident-io-utilities.getopenapiv2 outputParameters: - type: object mapping: $. - path: /v1/utilities/openapi-v3 name: utilities-openapi-v3 description: REST surface for utilities-openapi-v3. operations: - method: GET name: getopenapiv3 description: Get the OpenAPI v3 definition call: incident-io-utilities.getopenapiv3 outputParameters: - type: object mapping: $. - type: mcp namespace: incident-io-utilities-mcp port: 9090 transport: http description: MCP adapter for Incident.io API — Utilities. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: test-api-key-identity description: Test API key identity hints: readOnly: true destructive: false idempotent: true call: incident-io-utilities.getidentity outputParameters: - type: object mapping: $. - name: get-openapi-v2-definition description: Get the OpenAPI v2 definition hints: readOnly: true destructive: false idempotent: true call: incident-io-utilities.getopenapiv2 outputParameters: - type: object mapping: $. - name: get-openapi-v3-definition description: Get the OpenAPI v3 definition hints: readOnly: true destructive: false idempotent: true call: incident-io-utilities.getopenapiv3 outputParameters: - type: object mapping: $.