naftiko: 1.0.0-alpha2 info: label: Core API — ping description: 'Core API — ping. 2 operations. Lead operation: Returns a heartbeat to the consumer. Self-contained Naftiko capability covering one Marqeta business surface.' tags: - Marqeta - ping created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MARQETA_API_KEY: MARQETA_API_KEY capability: consumes: - type: http namespace: core-ping baseUri: '' description: Core API — ping business capability. Self-contained, no shared references. resources: - name: ping path: /ping operations: - name: getping method: GET description: Returns a heartbeat to the consumer outputRawFormat: json outputParameters: - name: result type: object value: $. - name: postping method: POST description: Echo test for sending payload to server outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: basic username: '{{env.MARQETA_USER}}' password: '{{env.MARQETA_PASS}}' exposes: - type: rest namespace: core-ping-rest port: 8080 description: REST adapter for Core API — ping. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ping name: ping description: REST surface for ping. operations: - method: GET name: getping description: Returns a heartbeat to the consumer call: core-ping.getping outputParameters: - type: object mapping: $. - method: POST name: postping description: Echo test for sending payload to server call: core-ping.postping with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: core-ping-mcp port: 9090 transport: http description: MCP adapter for Core API — ping. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: returns-heartbeat-consumer description: Returns a heartbeat to the consumer hints: readOnly: true destructive: false idempotent: true call: core-ping.getping outputParameters: - type: object mapping: $. - name: echo-test-sending-payload-server description: Echo test for sending payload to server hints: readOnly: true destructive: false idempotent: false call: core-ping.postping with: body: tools.body outputParameters: - type: object mapping: $.