naftiko: 1.0.0-alpha2 info: label: Spinnaker Gate API — Projects description: 'Spinnaker Gate API — Projects. 2 operations. Lead operation: List Spinnaker Projects. Self-contained Naftiko capability covering one Spinnaker business surface.' tags: - Spinnaker - Projects created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SPINNAKER_API_KEY: SPINNAKER_API_KEY capability: consumes: - type: http namespace: gate-projects baseUri: http://localhost:8084 description: Spinnaker Gate API — Projects business capability. Self-contained, no shared references. resources: - name: projects path: /projects operations: - name: listprojects method: GET description: List Spinnaker Projects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: projects-id path: /projects/{id} operations: - name: getproject method: GET description: Get Spinnaker Project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: The project ID required: true authentication: type: bearer token: '{{env.SPINNAKER_API_KEY}}' exposes: - type: rest namespace: gate-projects-rest port: 8080 description: REST adapter for Spinnaker Gate API — Projects. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects name: projects description: REST surface for projects. operations: - method: GET name: listprojects description: List Spinnaker Projects call: gate-projects.listprojects outputParameters: - type: object mapping: $. - path: /v1/projects/{id} name: projects-id description: REST surface for projects-id. operations: - method: GET name: getproject description: Get Spinnaker Project call: gate-projects.getproject with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: gate-projects-mcp port: 9090 transport: http description: MCP adapter for Spinnaker Gate API — Projects. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-spinnaker-projects description: List Spinnaker Projects hints: readOnly: true destructive: false idempotent: true call: gate-projects.listprojects outputParameters: - type: object mapping: $. - name: get-spinnaker-project description: Get Spinnaker Project hints: readOnly: true destructive: false idempotent: true call: gate-projects.getproject with: id: tools.id outputParameters: - type: object mapping: $.