Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Commit c2fd6b8

Browse files
author
Gehad Moeiza
committed
CON-3 adjust request doc for dayOffTypes.create
1 parent 46a3b45 commit c2fd6b8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

apiary.apib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1855,9 +1855,9 @@ Create a new day off type.
18551855
+ Attributes (object)
18561856
+ name: `day off type` (string, required)
18571857
+ color: `#00B2B2` (string, nullable, optional)
1858-
+ date_validity (object, optional)
1859-
+ from: `2024-04-04` (string, optional)
1860-
+ unit: `2025-05-05` (string, optional)
1858+
+ date_validity (object, nullable, optional)
1859+
+ from: `2024-04-04` (string, required)
1860+
+ unit: `2025-05-05` (string, required)
18611861

18621862

18631863
+ Response 201 (application/json)

src/01-general/day-off-types.apib

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ Create a new day off type.
2121
+ Attributes (object)
2222
+ name: `day off type` (string, required)
2323
+ color: `#00B2B2` (string, nullable, optional)
24-
+ date_validity (object, optional)
25-
+ from: `2024-04-04` (string, optional)
26-
+ unit: `2025-05-05` (string, optional)
24+
+ date_validity (object, nullable, optional)
25+
+ from: `2024-04-04` (string, required)
26+
+ unit: `2025-05-05` (string, required)
2727

2828

2929
+ Response 201 (application/json)

0 commit comments

Comments
 (0)