openapi: 3.0.0 info: title: Employees and Managers version: 1.0.1 paths: '/employees/{id}': get: operationId: getEmployeeById parameters: - name: id in: path schema: type: string responses: '200': description: A representation of an employee content: application/json: schema: type: object properties: id: type: string username: type: string managerId: type: string links: userManager: operationId: getEmployeeById parameters: id: $response.body#managerId