naftiko: 1.0.0-alpha2 info: label: Fake Store API — Auth description: 'Fake Store API — Auth. 1 operations. Lead operation: Login. Self-contained Naftiko capability covering one Fake Store Api business surface.' tags: - Fake Store Api - Auth created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: FAKE_STORE_API_API_KEY: FAKE_STORE_API_API_KEY capability: consumes: - type: http namespace: fake-store-auth baseUri: https://fakestoreapi.com description: Fake Store API — Auth business capability. Self-contained, no shared references. resources: - name: auth-login path: /auth/login operations: - name: login method: POST description: Login outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: fake-store-auth-rest port: 8080 description: REST adapter for Fake Store API — Auth. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/auth/login name: auth-login description: REST surface for auth-login. operations: - method: POST name: login description: Login call: fake-store-auth.login with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: fake-store-auth-mcp port: 9090 transport: http description: MCP adapter for Fake Store API — Auth. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: login description: Login hints: readOnly: false destructive: false idempotent: false call: fake-store-auth.login with: body: tools.body outputParameters: - type: object mapping: $.