naftiko: 1.0.0-alpha2 info: label: Tyk Gateway API — Schema description: 'Tyk Gateway API — Schema. 1 operations. Lead operation: Tyk Get Oas Schema.. Self-contained Naftiko capability covering one Tyk business surface.' tags: - Tyk - Schema created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TYK_API_KEY: TYK_API_KEY capability: consumes: - type: http namespace: gateway-schema baseUri: https://{tenant} description: Tyk Gateway API — Schema business capability. Self-contained, no shared references. resources: - name: tyk-schema path: /tyk/schema operations: - name: getschema method: GET description: Tyk Get Oas Schema. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: oasVersion in: query type: string description: The OAS version to fetch. authentication: type: apikey key: X-Tyk-Authorization value: '{{env.TYK_API_KEY}}' placement: header exposes: - type: rest namespace: gateway-schema-rest port: 8080 description: REST adapter for Tyk Gateway API — Schema. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/tyk/schema name: tyk-schema description: REST surface for tyk-schema. operations: - method: GET name: getschema description: Tyk Get Oas Schema. call: gateway-schema.getschema with: oasVersion: rest.oasVersion outputParameters: - type: object mapping: $. - type: mcp namespace: gateway-schema-mcp port: 9090 transport: http description: MCP adapter for Tyk Gateway API — Schema. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: tyk-get-oas-schema description: Tyk Get Oas Schema. hints: readOnly: true destructive: false idempotent: true call: gateway-schema.getschema with: oasVersion: tools.oasVersion outputParameters: - type: object mapping: $.