docs: memperbaiki skema body request untuk PATCH /project-api/update/{id}

This commit is contained in:
Muhammad Zhafran Ilham
2026-06-09 19:58:00 +07:00
parent adc7246dfb
commit 1eaa791081
+9 -2
View File
@@ -582,14 +582,21 @@ router.get('/get/:id', verifyJWT, projectController.getProjectById);
* content: * content:
* application/json: * application/json:
* schema: * schema:
* $ref: '#/components/schemas/ProjectDetailResponse' * $ref: '#/components/schemas/ProjectUpdateRequest'
* example:
* project_icon: cloud
* project_name: Internify LMS Updated
* description: Updated project description
* start_date: 2026-06-15
* end_date: 2026-08-20
* status: completed
* responses: * responses:
* 200: * 200:
* description: Project updated successfully * description: Project updated successfully
* content: * content:
* application/json: * application/json:
* schema: * schema:
* $ref: '#/components/schemas/ProjectUpdateResponse' * $ref: '#/components/schemas/ProjectDetailResponse'
* 400: * 400:
* description: Bad request * description: Bad request
* 401: * 401: