naftiko: 1.0.0-alpha2 info: label: Microsoft Azure OpenAI Service API — Completions description: 'Microsoft Azure OpenAI Service API — Completions. 1 operations. Lead operation: Microsoft Create completion. Self-contained Naftiko capability covering one Microsoft business surface.' tags: - Microsoft - Completions created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_API_KEY: MICROSOFT_API_KEY capability: consumes: - type: http namespace: azure-openai-completions baseUri: https://{resource-name}.openai.azure.com/openai description: Microsoft Azure OpenAI Service API — Completions business capability. Self-contained, no shared references. resources: - name: deployments-deployment-id-completions path: /deployments/{deployment-id}/completions operations: - name: createcompletion method: POST description: Microsoft Create completion outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.MICROSOFT_API_KEY}}' exposes: - type: rest namespace: azure-openai-completions-rest port: 8080 description: REST adapter for Microsoft Azure OpenAI Service API — Completions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deployments/{deployment-id}/completions name: deployments-deployment-id-completions description: REST surface for deployments-deployment-id-completions. operations: - method: POST name: createcompletion description: Microsoft Create completion call: azure-openai-completions.createcompletion with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: azure-openai-completions-mcp port: 9090 transport: http description: MCP adapter for Microsoft Azure OpenAI Service API — Completions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-create-completion description: Microsoft Create completion hints: readOnly: false destructive: false idempotent: false call: azure-openai-completions.createcompletion with: body: tools.body outputParameters: - type: object mapping: $.