naftiko: 1.0.0-alpha2 info: label: Choreo Developer Portal API — Application Keys description: 'Choreo Developer Portal API — Application Keys. 2 operations. Lead operation: Choreo Generate an API key. Self-contained Naftiko capability covering one Choreo business surface.' tags: - Choreo - Application Keys created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CHOREO_API_KEY: CHOREO_API_KEY capability: consumes: - type: http namespace: developer-portal-application-keys baseUri: https://devportal.choreo.dev/api/v1 description: Choreo Developer Portal API — Application Keys business capability. Self-contained, no shared references. resources: - name: applications-applicationId-api-keys path: /applications/{applicationId}/api-keys operations: - name: generateapikey method: POST description: Choreo Generate an API key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: applicationId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: applications-applicationId-keys path: /applications/{applicationId}/keys operations: - name: generatekeys method: POST description: Choreo Generate application keys outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: applicationId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.CHOREO_API_KEY}}' exposes: - type: rest namespace: developer-portal-application-keys-rest port: 8080 description: REST adapter for Choreo Developer Portal API — Application Keys. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/applications/{applicationid}/api-keys name: applications-applicationid-api-keys description: REST surface for applications-applicationId-api-keys. operations: - method: POST name: generateapikey description: Choreo Generate an API key call: developer-portal-application-keys.generateapikey with: applicationId: rest.applicationId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/applications/{applicationid}/keys name: applications-applicationid-keys description: REST surface for applications-applicationId-keys. operations: - method: POST name: generatekeys description: Choreo Generate application keys call: developer-portal-application-keys.generatekeys with: applicationId: rest.applicationId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: developer-portal-application-keys-mcp port: 9090 transport: http description: MCP adapter for Choreo Developer Portal API — Application Keys. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: choreo-generate-api-key description: Choreo Generate an API key hints: readOnly: false destructive: false idempotent: false call: developer-portal-application-keys.generateapikey with: applicationId: tools.applicationId body: tools.body outputParameters: - type: object mapping: $. - name: choreo-generate-application-keys description: Choreo Generate application keys hints: readOnly: false destructive: false idempotent: false call: developer-portal-application-keys.generatekeys with: applicationId: tools.applicationId body: tools.body outputParameters: - type: object mapping: $.