File tree Expand file tree Collapse file tree 1 file changed +30
-3
lines changed
Expand file tree Collapse file tree 1 file changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -1643,9 +1643,32 @@ paths:
16431643 success :
16441644 type : boolean
16451645 example : false
1646- message :
1647- type : string
1648- example : " Project 5 not found"
1646+ error :
1647+ type : object
1648+ properties :
1649+ code :
1650+ type : integer
1651+ message :
1652+ type : string
1653+ example : " Project 5 not found"
1654+ " 409 " :
1655+ description : There are existing attendances for this project
1656+ content :
1657+ application/json :
1658+ schema :
1659+ type : object
1660+ properties :
1661+ success :
1662+ type : boolean
1663+ example : false
1664+ error :
1665+ type : object
1666+ properties :
1667+ code :
1668+ type : integer
1669+ message :
1670+ type : string
1671+ example : " There are existing attendances for this project."
16491672
16501673 patch :
16511674 security :
@@ -1705,6 +1728,10 @@ paths:
17051728 items :
17061729 type : string
17071730 example : " Active field needs to be of type boolean"
1731+ name :
1732+ type : string
1733+ description : This field would be included only if the new name is already used by another project
1734+ example : " Project name already exists"
17081735 " 404 " :
17091736 description : Project not found
17101737 content :
You can’t perform that action at this time.
0 commit comments