naftiko: 1.0.0-alpha2 info: label: OpenStack Compute (Nova) API — Flavors description: 'OpenStack Compute (Nova) API — Flavors. 3 operations. Lead operation: List flavors. Self-contained Naftiko capability covering one Openstack business surface.' tags: - Openstack - Flavors created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: OPENSTACK_API_KEY: OPENSTACK_API_KEY capability: consumes: - type: http namespace: nova-flavors baseUri: https://{nova-host}/compute/v2.1 description: OpenStack Compute (Nova) API — Flavors business capability. Self-contained, no shared references. resources: - name: flavors path: /flavors operations: - name: listflavors method: GET description: List flavors outputRawFormat: json outputParameters: - name: result type: object value: $. - name: flavors-detail path: /flavors/detail operations: - name: listflavorsdetail method: GET description: List flavors (detailed) outputRawFormat: json outputParameters: - name: result type: object value: $. - name: flavors-flavor_id path: /flavors/{flavor_id} operations: - name: getflavor method: GET description: Get flavor outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-Auth-Token value: '{{env.OPENSTACK_API_KEY}}' placement: header exposes: - type: rest namespace: nova-flavors-rest port: 8080 description: REST adapter for OpenStack Compute (Nova) API — Flavors. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/flavors name: flavors description: REST surface for flavors. operations: - method: GET name: listflavors description: List flavors call: nova-flavors.listflavors outputParameters: - type: object mapping: $. - path: /v1/flavors/detail name: flavors-detail description: REST surface for flavors-detail. operations: - method: GET name: listflavorsdetail description: List flavors (detailed) call: nova-flavors.listflavorsdetail outputParameters: - type: object mapping: $. - path: /v1/flavors/{flavor-id} name: flavors-flavor-id description: REST surface for flavors-flavor_id. operations: - method: GET name: getflavor description: Get flavor call: nova-flavors.getflavor outputParameters: - type: object mapping: $. - type: mcp namespace: nova-flavors-mcp port: 9090 transport: http description: MCP adapter for OpenStack Compute (Nova) API — Flavors. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-flavors description: List flavors hints: readOnly: true destructive: false idempotent: true call: nova-flavors.listflavors outputParameters: - type: object mapping: $. - name: list-flavors-detailed description: List flavors (detailed) hints: readOnly: true destructive: false idempotent: true call: nova-flavors.listflavorsdetail outputParameters: - type: object mapping: $. - name: get-flavor description: Get flavor hints: readOnly: true destructive: false idempotent: true call: nova-flavors.getflavor outputParameters: - type: object mapping: $.