naftiko: 1.0.0-alpha2 info: label: Amazon API Gateway V1 (REST) — Methods description: 'Amazon API Gateway V1 (REST) — Methods. 3 operations. Lead operation: Amazon API Gateway Get a Method. Self-contained Naftiko capability covering one Aws Api Gateway business surface.' tags: - Aws Api Gateway - Methods created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AWS_API_GATEWAY_API_KEY: AWS_API_GATEWAY_API_KEY capability: consumes: - type: http namespace: v1-methods baseUri: https://apigateway.{region}.amazonaws.com description: Amazon API Gateway V1 (REST) — Methods business capability. Self-contained, no shared references. resources: - name: restapis-restapi_id-resources-resource_id-methods-http_method path: /restapis/{restapi_id}/resources/{resource_id}/methods/{http_method} operations: - name: getmethod method: GET description: Amazon API Gateway Get a Method outputRawFormat: json outputParameters: - name: result type: object value: $. - name: putmethod method: PUT description: Amazon API Gateway Put a Method outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletemethod method: DELETE description: Amazon API Gateway Delete a Method outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.AWS_API_GATEWAY_API_KEY}}' placement: header exposes: - type: rest namespace: v1-methods-rest port: 8080 description: REST adapter for Amazon API Gateway V1 (REST) — Methods. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/restapis/{restapi-id}/resources/{resource-id}/methods/{http-method} name: restapis-restapi-id-resources-resource-id-methods-http-method description: REST surface for restapis-restapi_id-resources-resource_id-methods-http_method. operations: - method: GET name: getmethod description: Amazon API Gateway Get a Method call: v1-methods.getmethod outputParameters: - type: object mapping: $. - method: PUT name: putmethod description: Amazon API Gateway Put a Method call: v1-methods.putmethod with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletemethod description: Amazon API Gateway Delete a Method call: v1-methods.deletemethod outputParameters: - type: object mapping: $. - type: mcp namespace: v1-methods-mcp port: 9090 transport: http description: MCP adapter for Amazon API Gateway V1 (REST) — Methods. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amazon-api-gateway-get-method description: Amazon API Gateway Get a Method hints: readOnly: true destructive: false idempotent: true call: v1-methods.getmethod outputParameters: - type: object mapping: $. - name: amazon-api-gateway-put-method description: Amazon API Gateway Put a Method hints: readOnly: false destructive: false idempotent: true call: v1-methods.putmethod with: body: tools.body outputParameters: - type: object mapping: $. - name: amazon-api-gateway-delete-method description: Amazon API Gateway Delete a Method hints: readOnly: false destructive: true idempotent: true call: v1-methods.deletemethod outputParameters: - type: object mapping: $.