naftiko: 1.0.0-alpha2 info: label: RapidAPI Gateway API — Authentication description: 'RapidAPI Gateway API — Authentication. 2 operations. Lead operation: Get authentication configuration. Self-contained Naftiko capability covering one Rapidapi business surface.' tags: - Rapidapi - Authentication created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RAPIDAPI_API_KEY: RAPIDAPI_API_KEY capability: consumes: - type: http namespace: gateway-authentication baseUri: https://gateway.rapidapi.com/v1 description: RapidAPI Gateway API — Authentication business capability. Self-contained, no shared references. resources: - name: gateways-gatewayId-authentication path: /gateways/{gatewayId}/authentication operations: - name: getauthenticationconfig method: GET description: Get authentication configuration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateauthenticationconfig method: PUT description: Update authentication configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: apikey key: X-RapidAPI-Key value: '{{env.RAPIDAPI_API_KEY}}' placement: header exposes: - type: rest namespace: gateway-authentication-rest port: 8080 description: REST adapter for RapidAPI Gateway API — Authentication. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/gateways/{gatewayid}/authentication name: gateways-gatewayid-authentication description: REST surface for gateways-gatewayId-authentication. operations: - method: GET name: getauthenticationconfig description: Get authentication configuration call: gateway-authentication.getauthenticationconfig outputParameters: - type: object mapping: $. - method: PUT name: updateauthenticationconfig description: Update authentication configuration call: gateway-authentication.updateauthenticationconfig with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: gateway-authentication-mcp port: 9090 transport: http description: MCP adapter for RapidAPI Gateway API — Authentication. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-authentication-configuration description: Get authentication configuration hints: readOnly: true destructive: false idempotent: true call: gateway-authentication.getauthenticationconfig outputParameters: - type: object mapping: $. - name: update-authentication-configuration description: Update authentication configuration hints: readOnly: false destructive: false idempotent: true call: gateway-authentication.updateauthenticationconfig with: body: tools.body outputParameters: - type: object mapping: $.