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