chore: improve ooo reason documentation apiv2 (#18582)

This commit is contained in:
Morgan authored and GitHub committed 2025-01-10 13:20:39 +00:00
1 parent 95f9a02d29
commit dabd3b0fc3
4 files changed
+26 -8

No files matched your search

@@ -74,6 +74,7 @@ export class CreateOutOfOfficeEntryDto {
@ApiPropertyOptional({
description: "the reason for the out of office entry, if applicable",
example: "vacation",
enum: OutOfOfficeReason,
})
reason?: OutOfOfficeReasonType;
}
@@ -69,6 +69,7 @@ export class UserOooOutputDto {
@ApiPropertyOptional({
description: "the reason for the out of office entry, if applicable",
example: "vacation",
enum: OutOfOfficeReason,
})
@Expose()
reason?: OutOfOfficeReason;
+18 -4
View File
@@ -13620,9 +13620,16 @@
"example": 2
},
"reason": {
"type": "object",
"type": "string",
"description": "the reason for the out of office entry, if applicable",
"example": "vacation"
"example": "vacation",
"enum": [
"unspecified",
"vacation",
"travel",
"sick",
"public_holiday"
]
}
},
"required": [
@@ -13656,9 +13663,16 @@
"example": 2
},
"reason": {
"type": "object",
"type": "string",
"description": "the reason for the out of office entry, if applicable",
"example": "vacation"
"example": "vacation",
"enum": [
"unspecified",
"vacation",
"travel",
"sick",
"public_holiday"
]
}
}
},