naftiko: 1.0.0-alpha2 info: label: TIBCO Mashery API Management — Packages description: 'TIBCO Mashery API Management — Packages. 5 operations. Lead operation: List packages. Self-contained Naftiko capability covering one Tibco business surface.' tags: - Tibco - Packages created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TIBCO_API_KEY: TIBCO_API_KEY capability: consumes: - type: http namespace: mashery-packages baseUri: https://api.mashery.com/v3 description: TIBCO Mashery API Management — Packages business capability. Self-contained, no shared references. resources: - name: rest-packages path: /rest/packages operations: - name: listpackages method: GET description: List packages outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpackage method: POST description: Create a package outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: rest-packages-packageId path: /rest/packages/{packageId} operations: - name: getpackage method: GET description: Get a package outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatepackage method: PUT description: Update a package outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletepackage method: DELETE description: Delete a package outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.TIBCO_API_KEY}}' exposes: - type: rest namespace: mashery-packages-rest port: 8080 description: REST adapter for TIBCO Mashery API Management — Packages. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/packages name: rest-packages description: REST surface for rest-packages. operations: - method: GET name: listpackages description: List packages call: mashery-packages.listpackages outputParameters: - type: object mapping: $. - method: POST name: createpackage description: Create a package call: mashery-packages.createpackage with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/packages/{packageid} name: rest-packages-packageid description: REST surface for rest-packages-packageId. operations: - method: GET name: getpackage description: Get a package call: mashery-packages.getpackage outputParameters: - type: object mapping: $. - method: PUT name: updatepackage description: Update a package call: mashery-packages.updatepackage with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepackage description: Delete a package call: mashery-packages.deletepackage outputParameters: - type: object mapping: $. - type: mcp namespace: mashery-packages-mcp port: 9090 transport: http description: MCP adapter for TIBCO Mashery API Management — Packages. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-packages description: List packages hints: readOnly: true destructive: false idempotent: true call: mashery-packages.listpackages outputParameters: - type: object mapping: $. - name: create-package description: Create a package hints: readOnly: false destructive: false idempotent: false call: mashery-packages.createpackage with: body: tools.body outputParameters: - type: object mapping: $. - name: get-package description: Get a package hints: readOnly: true destructive: false idempotent: true call: mashery-packages.getpackage outputParameters: - type: object mapping: $. - name: update-package description: Update a package hints: readOnly: false destructive: false idempotent: true call: mashery-packages.updatepackage with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-package description: Delete a package hints: readOnly: false destructive: true idempotent: true call: mashery-packages.deletepackage outputParameters: - type: object mapping: $.