naftiko: 1.0.0-alpha2 info: label: ProductInventory — product description: 'ProductInventory — product. 5 operations. Lead operation: TM Forum List or Find Product Objects. Self-contained Naftiko capability covering one Tm Forum business surface.' tags: - Tm Forum - product created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TM_FORUM_API_KEY: TM_FORUM_API_KEY capability: consumes: - type: http namespace: tmf637-product-inventory-product baseUri: https://serverRoot description: ProductInventory — product business capability. Self-contained, no shared references. resources: - name: product path: /product operations: - name: listproduct method: GET description: TM Forum List or Find Product Objects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createproduct method: POST description: TM Forum Creates a Product outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: product-id path: /product/{id} operations: - name: retrieveproduct method: GET description: TM Forum Retrieves a Product by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deleteproduct method: DELETE description: TM Forum Deletes a Product outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patchproduct method: PATCH description: TM Forum Updates Partially a Product outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: tmf637-product-inventory-product-rest port: 8080 description: REST adapter for ProductInventory — product. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/product name: product description: REST surface for product. operations: - method: GET name: listproduct description: TM Forum List or Find Product Objects call: tmf637-product-inventory-product.listproduct outputParameters: - type: object mapping: $. - method: POST name: createproduct description: TM Forum Creates a Product call: tmf637-product-inventory-product.createproduct with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/product/{id} name: product-id description: REST surface for product-id. operations: - method: GET name: retrieveproduct description: TM Forum Retrieves a Product by ID call: tmf637-product-inventory-product.retrieveproduct outputParameters: - type: object mapping: $. - method: DELETE name: deleteproduct description: TM Forum Deletes a Product call: tmf637-product-inventory-product.deleteproduct outputParameters: - type: object mapping: $. - method: PATCH name: patchproduct description: TM Forum Updates Partially a Product call: tmf637-product-inventory-product.patchproduct with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: tmf637-product-inventory-product-mcp port: 9090 transport: http description: MCP adapter for ProductInventory — product. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: tm-forum-list-find-product description: TM Forum List or Find Product Objects hints: readOnly: true destructive: false idempotent: true call: tmf637-product-inventory-product.listproduct outputParameters: - type: object mapping: $. - name: tm-forum-creates-product description: TM Forum Creates a Product hints: readOnly: false destructive: false idempotent: false call: tmf637-product-inventory-product.createproduct with: body: tools.body outputParameters: - type: object mapping: $. - name: tm-forum-retrieves-product-id description: TM Forum Retrieves a Product by ID hints: readOnly: true destructive: false idempotent: true call: tmf637-product-inventory-product.retrieveproduct outputParameters: - type: object mapping: $. - name: tm-forum-deletes-product description: TM Forum Deletes a Product hints: readOnly: false destructive: true idempotent: true call: tmf637-product-inventory-product.deleteproduct outputParameters: - type: object mapping: $. - name: tm-forum-updates-partially-product description: TM Forum Updates Partially a Product hints: readOnly: false destructive: false idempotent: true call: tmf637-product-inventory-product.patchproduct with: body: tools.body outputParameters: - type: object mapping: $.