naftiko: 1.0.0-alpha2 info: label: Infor ION API Gateway — ION Documents description: 'Infor ION API Gateway — ION Documents. 2 operations. Lead operation: List ION documents. Self-contained Naftiko capability covering one Infor business surface.' tags: - Infor - ION Documents created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: INFOR_API_KEY: INFOR_API_KEY capability: consumes: - type: http namespace: ion-api-gateway-ion-documents baseUri: https://{os}/{tenant}/{product} description: Infor ION API Gateway — ION Documents business capability. Self-contained, no shared references. resources: - name: ion-api-documents path: /ion-api/documents operations: - name: listiondocuments method: GET description: List ION documents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: documentType in: query type: string description: ION document type filter (e.g., "SyncSalesOrder") - name: status in: query type: string - name: from in: query type: string - name: to in: query type: string - name: pageSize in: query type: integer - name: ion-api-documents-documentId path: /ion-api/documents/{documentId} operations: - name: getiondocument method: GET description: Get ION document outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: documentId in: path type: string required: true authentication: type: bearer token: '{{env.INFOR_API_KEY}}' exposes: - type: rest namespace: ion-api-gateway-ion-documents-rest port: 8080 description: REST adapter for Infor ION API Gateway — ION Documents. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ion-api/documents name: ion-api-documents description: REST surface for ion-api-documents. operations: - method: GET name: listiondocuments description: List ION documents call: ion-api-gateway-ion-documents.listiondocuments with: documentType: rest.documentType status: rest.status from: rest.from to: rest.to pageSize: rest.pageSize outputParameters: - type: object mapping: $. - path: /v1/ion-api/documents/{documentid} name: ion-api-documents-documentid description: REST surface for ion-api-documents-documentId. operations: - method: GET name: getiondocument description: Get ION document call: ion-api-gateway-ion-documents.getiondocument with: documentId: rest.documentId outputParameters: - type: object mapping: $. - type: mcp namespace: ion-api-gateway-ion-documents-mcp port: 9090 transport: http description: MCP adapter for Infor ION API Gateway — ION Documents. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-ion-documents description: List ION documents hints: readOnly: true destructive: false idempotent: true call: ion-api-gateway-ion-documents.listiondocuments with: documentType: tools.documentType status: tools.status from: tools.from to: tools.to pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: get-ion-document description: Get ION document hints: readOnly: true destructive: false idempotent: true call: ion-api-gateway-ion-documents.getiondocument with: documentId: tools.documentId outputParameters: - type: object mapping: $.