naftiko: 1.0.0-alpha2 info: label: Spot Ocean API — Ocean AKS description: 'Spot Ocean API — Ocean AKS. 5 operations. Lead operation: Spot Create Ocean Cluster (aks). Self-contained Naftiko capability covering one Flexera business surface.' tags: - Flexera - Ocean AKS 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-aks baseUri: https://api.spotinst.io description: Spot Ocean API — Ocean AKS business capability. Self-contained, no shared references. resources: - name: ocean-azure-k8s-cluster path: /ocean/azure/k8s/cluster operations: - name: createoceanclusteraks method: POST description: Spot Create Ocean Cluster (aks) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listoceanclustersaks method: GET description: Spot List Ocean Clusters (aks) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: ocean-azure-k8s-cluster-oceanClusterId path: /ocean/azure/k8s/cluster/{oceanClusterId} operations: - name: getoceanclusteraks method: GET description: Spot Get Ocean Cluster (aks) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: oceanClusterId in: path type: string required: true - name: updateoceanclusteraks method: PUT description: Spot Update Ocean Cluster (aks) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: oceanClusterId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteoceanclusteraks method: DELETE description: Spot Delete Ocean Cluster (aks) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: oceanClusterId in: path type: string required: true authentication: type: bearer token: '{{env.FLEXERA_API_KEY}}' exposes: - type: rest namespace: spot-ocean-ocean-aks-rest port: 8080 description: REST adapter for Spot Ocean API — Ocean AKS. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ocean/azure/k8s/cluster name: ocean-azure-k8s-cluster description: REST surface for ocean-azure-k8s-cluster. operations: - method: POST name: createoceanclusteraks description: Spot Create Ocean Cluster (aks) call: spot-ocean-ocean-aks.createoceanclusteraks with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listoceanclustersaks description: Spot List Ocean Clusters (aks) call: spot-ocean-ocean-aks.listoceanclustersaks outputParameters: - type: object mapping: $. - path: /v1/ocean/azure/k8s/cluster/{oceanclusterid} name: ocean-azure-k8s-cluster-oceanclusterid description: REST surface for ocean-azure-k8s-cluster-oceanClusterId. operations: - method: GET name: getoceanclusteraks description: Spot Get Ocean Cluster (aks) call: spot-ocean-ocean-aks.getoceanclusteraks with: oceanClusterId: rest.oceanClusterId outputParameters: - type: object mapping: $. - method: PUT name: updateoceanclusteraks description: Spot Update Ocean Cluster (aks) call: spot-ocean-ocean-aks.updateoceanclusteraks with: oceanClusterId: rest.oceanClusterId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteoceanclusteraks description: Spot Delete Ocean Cluster (aks) call: spot-ocean-ocean-aks.deleteoceanclusteraks with: oceanClusterId: rest.oceanClusterId outputParameters: - type: object mapping: $. - type: mcp namespace: spot-ocean-ocean-aks-mcp port: 9090 transport: http description: MCP adapter for Spot Ocean API — Ocean AKS. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: spot-create-ocean-cluster-aks description: Spot Create Ocean Cluster (aks) hints: readOnly: false destructive: false idempotent: false call: spot-ocean-ocean-aks.createoceanclusteraks with: body: tools.body outputParameters: - type: object mapping: $. - name: spot-list-ocean-clusters-aks description: Spot List Ocean Clusters (aks) hints: readOnly: true destructive: false idempotent: true call: spot-ocean-ocean-aks.listoceanclustersaks outputParameters: - type: object mapping: $. - name: spot-get-ocean-cluster-aks description: Spot Get Ocean Cluster (aks) hints: readOnly: true destructive: false idempotent: true call: spot-ocean-ocean-aks.getoceanclusteraks with: oceanClusterId: tools.oceanClusterId outputParameters: - type: object mapping: $. - name: spot-update-ocean-cluster-aks description: Spot Update Ocean Cluster (aks) hints: readOnly: false destructive: false idempotent: true call: spot-ocean-ocean-aks.updateoceanclusteraks with: oceanClusterId: tools.oceanClusterId body: tools.body outputParameters: - type: object mapping: $. - name: spot-delete-ocean-cluster-aks description: Spot Delete Ocean Cluster (aks) hints: readOnly: false destructive: true idempotent: true call: spot-ocean-ocean-aks.deleteoceanclusteraks with: oceanClusterId: tools.oceanClusterId outputParameters: - type: object mapping: $.