feat: userDuties

This commit is contained in:
kirill
2024-08-05 15:23:28 +06:00
parent f8ff7ab7db
commit 3d20cd6051
+19
View File
@@ -2488,6 +2488,10 @@ components:
type: array type: array
items: items:
$ref: '#/components/schemas/achievement' $ref: '#/components/schemas/achievement'
userDuties:
type: array
items:
$ref: '#/components/schemas/userDuty'
userGroupsVisible: userGroupsVisible:
type: array type: array
items: items:
@@ -2959,6 +2963,21 @@ components:
type: string type: string
default: "https://pentest.hrbox.io/file/resize/400x0/299c6542-c541-4296-a528-90f08d835b8b.png" 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: achievement:
type: object type: object
properties: properties: