naftiko: 1.0.0-alpha2 info: label: Lemon Squeezy API — Affiliates description: 'Lemon Squeezy API — Affiliates. 2 operations. Lead operation: Lemon Squeezy List all affiliates. Self-contained Naftiko capability covering one Lemon Squeezy business surface.' tags: - Lemon Squeezy - Affiliates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LEMON_SQUEEZY_API_KEY: LEMON_SQUEEZY_API_KEY capability: consumes: - type: http namespace: lemon-squeezy-affiliates baseUri: https://api.lemonsqueezy.com description: Lemon Squeezy API — Affiliates business capability. Self-contained, no shared references. resources: - name: v1-affiliates path: /v1/affiliates operations: - name: get method: GET description: Lemon Squeezy List all affiliates outputRawFormat: json outputParameters: - name: result type: object value: $. - name: v1-affiliates-1 path: /v1/affiliates/1 operations: - name: get method: GET description: Lemon Squeezy Retrieve an affiliate outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.LEMON_SQUEEZY_API_KEY}}' exposes: - type: rest namespace: lemon-squeezy-affiliates-rest port: 8080 description: REST adapter for Lemon Squeezy API — Affiliates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/affiliates name: v1-affiliates description: REST surface for v1-affiliates. operations: - method: GET name: get description: Lemon Squeezy List all affiliates call: lemon-squeezy-affiliates.get outputParameters: - type: object mapping: $. - path: /v1/v1/affiliates/1 name: v1-affiliates-1 description: REST surface for v1-affiliates-1. operations: - method: GET name: get description: Lemon Squeezy Retrieve an affiliate call: lemon-squeezy-affiliates.get outputParameters: - type: object mapping: $. - type: mcp namespace: lemon-squeezy-affiliates-mcp port: 9090 transport: http description: MCP adapter for Lemon Squeezy API — Affiliates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: lemon-squeezy-list-all-affiliates description: Lemon Squeezy List all affiliates hints: readOnly: true destructive: false idempotent: true call: lemon-squeezy-affiliates.get outputParameters: - type: object mapping: $. - name: lemon-squeezy-retrieve-affiliate description: Lemon Squeezy Retrieve an affiliate hints: readOnly: true destructive: false idempotent: true call: lemon-squeezy-affiliates.get outputParameters: - type: object mapping: $.