Skip to content

Commit

Permalink
CON-3 adjust request doc for dayOffTypes.create
Browse files Browse the repository at this point in the history
  • Loading branch information
gehadMohamed committed Jun 21, 2024
1 parent 46a3b45 commit c2fd6b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions apiary.apib
Original file line number Diff line number Diff line change
Expand Up @@ -1855,9 +1855,9 @@ Create a new day off type.
+ Attributes (object)
+ name: `day off type` (string, required)
+ color: `#00B2B2` (string, nullable, optional)
+ date_validity (object, optional)
+ from: `2024-04-04` (string, optional)
+ unit: `2025-05-05` (string, optional)
+ date_validity (object, nullable, optional)
+ from: `2024-04-04` (string, required)
+ unit: `2025-05-05` (string, required)


+ Response 201 (application/json)
Expand Down
6 changes: 3 additions & 3 deletions src/01-general/day-off-types.apib
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Create a new day off type.
+ Attributes (object)
+ name: `day off type` (string, required)
+ color: `#00B2B2` (string, nullable, optional)
+ date_validity (object, optional)
+ from: `2024-04-04` (string, optional)
+ unit: `2025-05-05` (string, optional)
+ date_validity (object, nullable, optional)
+ from: `2024-04-04` (string, required)
+ unit: `2025-05-05` (string, required)


+ Response 201 (application/json)
Expand Down

0 comments on commit c2fd6b8

Please sign in to comment.