naftiko: 1.0.0-alpha2 info: label: Spinnaker Gate API — Tasks description: 'Spinnaker Gate API — Tasks. 2 operations. Lead operation: List Application Tasks. Self-contained Naftiko capability covering one Spinnaker business surface.' tags: - Spinnaker - Tasks created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SPINNAKER_API_KEY: SPINNAKER_API_KEY capability: consumes: - type: http namespace: gate-tasks baseUri: http://localhost:8084 description: Spinnaker Gate API — Tasks business capability. Self-contained, no shared references. resources: - name: applications-application-tasks path: /applications/{application}/tasks operations: - name: listapplicationtasks method: GET description: List Application Tasks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: application in: path type: string description: The Spinnaker application name required: true - name: page in: query type: integer description: Page number for pagination - name: pageSize in: query type: integer description: Number of tasks per page - name: createapplicationtask method: POST description: Create Application Task outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: application in: path type: string description: The Spinnaker application name required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.SPINNAKER_API_KEY}}' exposes: - type: rest namespace: gate-tasks-rest port: 8080 description: REST adapter for Spinnaker Gate API — Tasks. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/applications/{application}/tasks name: applications-application-tasks description: REST surface for applications-application-tasks. operations: - method: GET name: listapplicationtasks description: List Application Tasks call: gate-tasks.listapplicationtasks with: application: rest.application page: rest.page pageSize: rest.pageSize outputParameters: - type: object mapping: $. - method: POST name: createapplicationtask description: Create Application Task call: gate-tasks.createapplicationtask with: application: rest.application body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gate-tasks-mcp port: 9090 transport: http description: MCP adapter for Spinnaker Gate API — Tasks. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-application-tasks description: List Application Tasks hints: readOnly: true destructive: false idempotent: true call: gate-tasks.listapplicationtasks with: application: tools.application page: tools.page pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: create-application-task description: Create Application Task hints: readOnly: false destructive: false idempotent: false call: gate-tasks.createapplicationtask with: application: tools.application body: tools.body outputParameters: - type: object mapping: $.