diff --git a/v2/swagger.yaml b/v2/swagger.yaml index 5ff81fe..0aa21c2 100644 --- a/v2/swagger.yaml +++ b/v2/swagger.yaml @@ -2488,6 +2488,10 @@ components: type: array items: $ref: '#/components/schemas/achievement' + userDuties: + type: array + items: + $ref: '#/components/schemas/userDuty' userGroupsVisible: type: array items: @@ -2959,6 +2963,21 @@ components: type: string default: "https://pentest.hrbox.io/file/resize/400x0/299c6542-c541-4296-a528-90f08d835b8b.png" + userDuty: + type: object + properties: + id: + type: string + format: uuid + duty_id: + type: string + default: uuid + duty: + type: object + properties: + name: + type: string + achievement: type: object properties: