naftiko: 1.0.0-alpha2 info: label: Azure API Management REST API — Gateway description: 'Azure API Management REST API — Gateway. 6 operations. Lead operation: Microsoft Azure API Management Gateway_ListByService. Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.' tags: - Microsoft Azure Api Management - Gateway created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY capability: consumes: - type: http namespace: rest-gateway baseUri: https://management.azure.com description: Azure API Management REST API — Gateway business capability. Self-contained, no shared references. resources: - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways operations: - name: gatewaylistbyservice method: GET description: Microsoft Azure API Management Gateway_ListByService outputRawFormat: json outputParameters: - name: result type: object value: $. - name: subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/gateways/{gatewayId} operations: - name: gatewaygetentitytag method: HEAD description: Microsoft Azure API Management Gateway_GetEntityTag outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gatewayget method: GET description: Microsoft Azure API Management Gateway_Get outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gatewaycreateorupdate method: PUT description: Microsoft Azure API Management Gateway_CreateOrUpdate outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gatewayupdate method: PATCH description: Microsoft Azure API Management Gateway_Update outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gatewaydelete method: DELETE description: Microsoft Azure API Management Gateway_Delete outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MICROSOFT_AZURE_API_MANAGEMENT_API_KEY}}' exposes: - type: rest namespace: rest-gateway-rest port: 8080 description: REST adapter for Azure API Management REST API — Gateway. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/gateways name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: GET name: gatewaylistbyservice description: Microsoft Azure API Management Gateway_ListByService call: rest-gateway.gatewaylistbyservice outputParameters: - type: object mapping: $. - path: /v1/subscriptions/{subscriptionid}/resourcegroups/{resourcegroupname}/providers/microsoft-apimanagement/service/{servicename}/gateways/{gatewayid} name: subscriptions-subscriptionid-resourcegroups-resourcegroupname-providers-microsof description: REST surface for subscriptions-subscriptionId-resourceGroups-resourceGroupName-providers-Microsof. operations: - method: HEAD name: gatewaygetentitytag description: Microsoft Azure API Management Gateway_GetEntityTag call: rest-gateway.gatewaygetentitytag outputParameters: - type: object mapping: $. - method: GET name: gatewayget description: Microsoft Azure API Management Gateway_Get call: rest-gateway.gatewayget outputParameters: - type: object mapping: $. - method: PUT name: gatewaycreateorupdate description: Microsoft Azure API Management Gateway_CreateOrUpdate call: rest-gateway.gatewaycreateorupdate outputParameters: - type: object mapping: $. - method: PATCH name: gatewayupdate description: Microsoft Azure API Management Gateway_Update call: rest-gateway.gatewayupdate outputParameters: - type: object mapping: $. - method: DELETE name: gatewaydelete description: Microsoft Azure API Management Gateway_Delete call: rest-gateway.gatewaydelete outputParameters: - type: object mapping: $. - type: mcp namespace: rest-gateway-mcp port: 9090 transport: http description: MCP adapter for Azure API Management REST API — Gateway. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-api-management-gateway description: Microsoft Azure API Management Gateway_ListByService hints: readOnly: true destructive: false idempotent: true call: rest-gateway.gatewaylistbyservice outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-gateway-2 description: Microsoft Azure API Management Gateway_GetEntityTag hints: readOnly: false destructive: false idempotent: false call: rest-gateway.gatewaygetentitytag outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-gateway-3 description: Microsoft Azure API Management Gateway_Get hints: readOnly: true destructive: false idempotent: true call: rest-gateway.gatewayget outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-gateway-4 description: Microsoft Azure API Management Gateway_CreateOrUpdate hints: readOnly: false destructive: false idempotent: true call: rest-gateway.gatewaycreateorupdate outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-gateway-5 description: Microsoft Azure API Management Gateway_Update hints: readOnly: false destructive: false idempotent: true call: rest-gateway.gatewayupdate outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-gateway-6 description: Microsoft Azure API Management Gateway_Delete hints: readOnly: false destructive: true idempotent: true call: rest-gateway.gatewaydelete outputParameters: - type: object mapping: $.