naftiko: 1.0.0-alpha2 info: label: Biogen Developer API — Keys description: 'Biogen Developer API — Keys. 2 operations. Lead operation: Biogen List API Keys. Self-contained Naftiko capability covering one Biogen business surface.' tags: - Biogen - Keys created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BIOGEN_API_KEY: BIOGEN_API_KEY capability: consumes: - type: http namespace: developer-keys baseUri: https://developer.biogen.com description: Biogen Developer API — Keys business capability. Self-contained, no shared references. resources: - name: api-keys path: /api/keys operations: - name: listapikeys method: GET description: Biogen List API Keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createapikey method: POST description: Biogen Create API Key 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-API-Key value: '{{env.BIOGEN_API_KEY}}' placement: header exposes: - type: rest namespace: developer-keys-rest port: 8080 description: REST adapter for Biogen Developer API — Keys. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/keys name: api-keys description: REST surface for api-keys. operations: - method: GET name: listapikeys description: Biogen List API Keys call: developer-keys.listapikeys outputParameters: - type: object mapping: $. - method: POST name: createapikey description: Biogen Create API Key call: developer-keys.createapikey with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: developer-keys-mcp port: 9090 transport: http description: MCP adapter for Biogen Developer API — Keys. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: biogen-list-api-keys description: Biogen List API Keys hints: readOnly: true destructive: false idempotent: true call: developer-keys.listapikeys outputParameters: - type: object mapping: $. - name: biogen-create-api-key description: Biogen Create API Key hints: readOnly: false destructive: false idempotent: false call: developer-keys.createapikey with: body: tools.body outputParameters: - type: object mapping: $.