naftiko: 1.0.0-alpha2 info: label: GitHub Events API — Public description: 'GitHub Events API — Public. 1 operations. Lead operation: GitHub List Public Events for User. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Public created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: events-public baseUri: '' description: GitHub Events API — Public business capability. Self-contained, no shared references. resources: - name: users-username-events-public path: /users/{username}/events/public operations: - name: listpubliceventsforuser method: GET description: GitHub List Public Events for User outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.GITHUB_API_KEY}}' exposes: - type: rest namespace: events-public-rest port: 8080 description: REST adapter for GitHub Events API — Public. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/{username}/events/public name: users-username-events-public description: REST surface for users-username-events-public. operations: - method: GET name: listpubliceventsforuser description: GitHub List Public Events for User call: events-public.listpubliceventsforuser outputParameters: - type: object mapping: $. - type: mcp namespace: events-public-mcp port: 9090 transport: http description: MCP adapter for GitHub Events API — Public. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-list-public-events-user description: GitHub List Public Events for User hints: readOnly: true destructive: false idempotent: true call: events-public.listpubliceventsforuser outputParameters: - type: object mapping: $.