naftiko: 1.0.0-alpha2 info: label: Spot Ocean API — Ocean CD description: 'Spot Ocean API — Ocean CD. 5 operations. Lead operation: Spot Create Ocean Cd Cluster. Self-contained Naftiko capability covering one Flexera business surface.' tags: - Flexera - Ocean CD created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FLEXERA_API_KEY: FLEXERA_API_KEY capability: consumes: - type: http namespace: spot-ocean-ocean-cd baseUri: https://api.spotinst.io description: Spot Ocean API — Ocean CD business capability. Self-contained, no shared references. resources: - name: ocean-cd-cluster path: /ocean/cd/cluster operations: - name: createoceancdcluster method: POST description: Spot Create Ocean Cd Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listoceancdclusters method: GET description: Spot List Ocean Cd Clusters outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ocean-cd-cluster-clusterId path: /ocean/cd/cluster/{clusterId} operations: - name: getoceancdcluster method: GET description: Spot Get Ocean Cd Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterId in: path type: string required: true - name: updateoceancdcluster method: PUT description: Spot Update Ocean Cd Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteoceancdcluster method: DELETE description: Spot Delete Ocean Cd Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: clusterId in: path type: string required: true authentication: type: bearer token: '{{env.FLEXERA_API_KEY}}' exposes: - type: rest namespace: spot-ocean-ocean-cd-rest port: 8080 description: REST adapter for Spot Ocean API — Ocean CD. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ocean/cd/cluster name: ocean-cd-cluster description: REST surface for ocean-cd-cluster. operations: - method: POST name: createoceancdcluster description: Spot Create Ocean Cd Cluster call: spot-ocean-ocean-cd.createoceancdcluster with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listoceancdclusters description: Spot List Ocean Cd Clusters call: spot-ocean-ocean-cd.listoceancdclusters outputParameters: - type: object mapping: $. - path: /v1/ocean/cd/cluster/{clusterid} name: ocean-cd-cluster-clusterid description: REST surface for ocean-cd-cluster-clusterId. operations: - method: GET name: getoceancdcluster description: Spot Get Ocean Cd Cluster call: spot-ocean-ocean-cd.getoceancdcluster with: clusterId: rest.clusterId outputParameters: - type: object mapping: $. - method: PUT name: updateoceancdcluster description: Spot Update Ocean Cd Cluster call: spot-ocean-ocean-cd.updateoceancdcluster with: clusterId: rest.clusterId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteoceancdcluster description: Spot Delete Ocean Cd Cluster call: spot-ocean-ocean-cd.deleteoceancdcluster with: clusterId: rest.clusterId outputParameters: - type: object mapping: $. - type: mcp namespace: spot-ocean-ocean-cd-mcp port: 9090 transport: http description: MCP adapter for Spot Ocean API — Ocean CD. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: spot-create-ocean-cd-cluster description: Spot Create Ocean Cd Cluster hints: readOnly: false destructive: false idempotent: false call: spot-ocean-ocean-cd.createoceancdcluster with: body: tools.body outputParameters: - type: object mapping: $. - name: spot-list-ocean-cd-clusters description: Spot List Ocean Cd Clusters hints: readOnly: true destructive: false idempotent: true call: spot-ocean-ocean-cd.listoceancdclusters outputParameters: - type: object mapping: $. - name: spot-get-ocean-cd-cluster description: Spot Get Ocean Cd Cluster hints: readOnly: true destructive: false idempotent: true call: spot-ocean-ocean-cd.getoceancdcluster with: clusterId: tools.clusterId outputParameters: - type: object mapping: $. - name: spot-update-ocean-cd-cluster description: Spot Update Ocean Cd Cluster hints: readOnly: false destructive: false idempotent: true call: spot-ocean-ocean-cd.updateoceancdcluster with: clusterId: tools.clusterId body: tools.body outputParameters: - type: object mapping: $. - name: spot-delete-ocean-cd-cluster description: Spot Delete Ocean Cd Cluster hints: readOnly: false destructive: true idempotent: true call: spot-ocean-ocean-cd.deleteoceancdcluster with: clusterId: tools.clusterId outputParameters: - type: object mapping: $.