naftiko: 1.0.0-alpha2 info: label: Workday Financial Management API — Expenses description: 'Workday Financial Management API — Expenses. 2 operations. Lead operation: Get Expense Reports. Self-contained Naftiko capability covering one Workday business surface.' tags: - Workday - Expenses created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_API_KEY: WORKDAY_API_KEY capability: consumes: - type: http namespace: financialManagement-expenses baseUri: https://wd2-impl-services1.workday.com/ccx/api/financialManagement/v1/{tenant} description: Workday Financial Management API — Expenses business capability. Self-contained, no shared references. resources: - name: expenseReports path: /expenseReports operations: - name: getexpensereports method: GET description: Get Expense Reports outputRawFormat: json outputParameters: - name: result type: object value: $. - name: expenseReports-ID path: /expenseReports/{ID} operations: - name: getexpensereportbyid method: GET description: Get Expense Report by Id outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_API_KEY}}' exposes: - type: rest namespace: financialManagement-expenses-rest port: 8080 description: REST adapter for Workday Financial Management API — Expenses. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/expensereports name: expensereports description: REST surface for expenseReports. operations: - method: GET name: getexpensereports description: Get Expense Reports call: financialManagement-expenses.getexpensereports outputParameters: - type: object mapping: $. - path: /v1/expensereports/{id} name: expensereports-id description: REST surface for expenseReports-ID. operations: - method: GET name: getexpensereportbyid description: Get Expense Report by Id call: financialManagement-expenses.getexpensereportbyid outputParameters: - type: object mapping: $. - type: mcp namespace: financialManagement-expenses-mcp port: 9090 transport: http description: MCP adapter for Workday Financial Management API — Expenses. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-expense-reports description: Get Expense Reports hints: readOnly: true destructive: false idempotent: true call: financialManagement-expenses.getexpensereports outputParameters: - type: object mapping: $. - name: get-expense-report-id description: Get Expense Report by Id hints: readOnly: true destructive: false idempotent: true call: financialManagement-expenses.getexpensereportbyid outputParameters: - type: object mapping: $.