naftiko: 1.0.0-alpha2 info: label: PeopleSoft HCM API — Employees description: 'PeopleSoft HCM API — Employees. 2 operations. Lead operation: PeopleSoft List Employees. Self-contained Naftiko capability covering one Peoplesoft business surface.' tags: - Peoplesoft - Employees created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PEOPLESOFT_API_KEY: PEOPLESOFT_API_KEY capability: consumes: - type: http namespace: hcm-employees baseUri: https://{hostname}:{port}/psft/api/hcm/v1 description: PeopleSoft HCM API — Employees business capability. Self-contained, no shared references. resources: - name: employees path: /employees operations: - name: listemployees method: GET description: PeopleSoft List Employees outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: department in: query type: string description: Filter by department - name: status in: query type: string description: Filter by employment status - name: employees-employeeId path: /employees/{employeeId} operations: - name: getemployee method: GET description: PeopleSoft Get Employee outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: employeeId in: path type: string description: The employee identifier required: true authentication: type: basic username: '{{env.PEOPLESOFT_USER}}' password: '{{env.PEOPLESOFT_PASS}}' exposes: - type: rest namespace: hcm-employees-rest port: 8080 description: REST adapter for PeopleSoft HCM API — Employees. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/employees name: employees description: REST surface for employees. operations: - method: GET name: listemployees description: PeopleSoft List Employees call: hcm-employees.listemployees with: department: rest.department status: rest.status outputParameters: - type: object mapping: $. - path: /v1/employees/{employeeid} name: employees-employeeid description: REST surface for employees-employeeId. operations: - method: GET name: getemployee description: PeopleSoft Get Employee call: hcm-employees.getemployee with: employeeId: rest.employeeId outputParameters: - type: object mapping: $. - type: mcp namespace: hcm-employees-mcp port: 9090 transport: http description: MCP adapter for PeopleSoft HCM API — Employees. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: peoplesoft-list-employees description: PeopleSoft List Employees hints: readOnly: true destructive: false idempotent: true call: hcm-employees.listemployees with: department: tools.department status: tools.status outputParameters: - type: object mapping: $. - name: peoplesoft-get-employee description: PeopleSoft Get Employee hints: readOnly: true destructive: false idempotent: true call: hcm-employees.getemployee with: employeeId: tools.employeeId outputParameters: - type: object mapping: $.