naftiko: 1.0.0-alpha2 info: label: Horoscope API — Horoscope description: 'Horoscope API — Horoscope. 3 operations. Lead operation: Get Daily Horoscope. Self-contained Naftiko capability covering one Horoscope Api business surface.' tags: - Horoscope Api - Horoscope created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HOROSCOPE_API_API_KEY: HOROSCOPE_API_API_KEY capability: consumes: - type: http namespace: horoscope-horoscope baseUri: https://freehoroscopeapi.com description: Horoscope API — Horoscope business capability. Self-contained, no shared references. resources: - name: api-v1-get-horoscope-daily path: /api/v1/get-horoscope/daily operations: - name: getdailyhoroscope method: GET description: Get Daily Horoscope outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sign in: query type: string description: Zodiac sign (case-insensitive). required: true - name: api-v1-get-horoscope-monthly path: /api/v1/get-horoscope/monthly operations: - name: getmonthlyhoroscope method: GET description: Get Monthly Horoscope outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sign in: query type: string description: Zodiac sign (case-insensitive). required: true - name: api-v1-get-horoscope-weekly path: /api/v1/get-horoscope/weekly operations: - name: getweeklyhoroscope method: GET description: Get Weekly Horoscope outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: sign in: query type: string description: Zodiac sign (case-insensitive). required: true exposes: - type: rest namespace: horoscope-horoscope-rest port: 8080 description: REST adapter for Horoscope API — Horoscope. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v1/get-horoscope/daily name: api-v1-get-horoscope-daily description: REST surface for api-v1-get-horoscope-daily. operations: - method: GET name: getdailyhoroscope description: Get Daily Horoscope call: horoscope-horoscope.getdailyhoroscope with: sign: rest.sign outputParameters: - type: object mapping: $. - path: /v1/api/v1/get-horoscope/monthly name: api-v1-get-horoscope-monthly description: REST surface for api-v1-get-horoscope-monthly. operations: - method: GET name: getmonthlyhoroscope description: Get Monthly Horoscope call: horoscope-horoscope.getmonthlyhoroscope with: sign: rest.sign outputParameters: - type: object mapping: $. - path: /v1/api/v1/get-horoscope/weekly name: api-v1-get-horoscope-weekly description: REST surface for api-v1-get-horoscope-weekly. operations: - method: GET name: getweeklyhoroscope description: Get Weekly Horoscope call: horoscope-horoscope.getweeklyhoroscope with: sign: rest.sign outputParameters: - type: object mapping: $. - type: mcp namespace: horoscope-horoscope-mcp port: 9090 transport: http description: MCP adapter for Horoscope API — Horoscope. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-daily-horoscope description: Get Daily Horoscope hints: readOnly: true destructive: false idempotent: true call: horoscope-horoscope.getdailyhoroscope with: sign: tools.sign outputParameters: - type: object mapping: $. - name: get-monthly-horoscope description: Get Monthly Horoscope hints: readOnly: true destructive: false idempotent: true call: horoscope-horoscope.getmonthlyhoroscope with: sign: tools.sign outputParameters: - type: object mapping: $. - name: get-weekly-horoscope description: Get Weekly Horoscope hints: readOnly: true destructive: false idempotent: true call: horoscope-horoscope.getweeklyhoroscope with: sign: tools.sign outputParameters: - type: object mapping: $.