AlexKolonitsky / TimesheetManagement

0 stars 5 forks source link

GET company/{id}/employee?status=... #57

Open AlexKolonitsky opened 5 years ago

TicTacT0e commented 5 years ago

https://app.swaggerhub.com/apis/TicTacT0e/timesheet_dev/1.0#/Employee/getEmployeesByStatus

Вроде линк такой как нужно, но оно не скролит до описание в code editor, а только в правом окошке открывает, и там есть кнопка, чтоб проскролить в code editor до описания эндпоинта.

TicTacT0e commented 5 years ago
EmployeeItems: 
    type: object
    properties:
      name: 
        type: string
      role: 
        type: string
      planned: 
        type: number
        format: double
      actual: 
        type: number
        format: double
      status: 
        type: string
        enum: 
        - active
        - pending
        - deactivated
      pendingApprovalTimesheets: 
        type: array
        items:
          $ref: '#/definitions/TimesheetsPendingApproval'

  TimesheetsPendingApproval:
    type: object
    properties: 
      from:
        type: string
        format: date-time
      to: 
        type: string
        format: date-time
      planned: 
        type: number
        format: double
      actual:
        type: number
        format: double