@@ -62,11 +62,11 @@ export default function interviewRouter(upload: Multer, supabase: SupabaseClient
6262 * @apiGroup Interview
6363 *
6464 * @apiParam (Path Params) {UUID} memberId ID of the member sharing the interview
65- * @apiParam (Request Body) {String} company Name of the company
66- * @apiParam (Request Body) {String} role Role applied for
67- * @apiParam (Request Body) {String="Selected","Rejected","Pending"} verdict Result of the interview
68- * @apiParam (Request Body) {String} content Experience content
69- * @apiParam (Request Body) {Boolean} isAnonymous Whether the post is anonymous
65+ * @apiBody (Request Body) {String} company Name of the company
66+ * @apiBody (Request Body) {String} role Role applied for
67+ * @apiBody (Request Body) {String="Selected","Rejected","Pending"} verdict Result of the interview
68+ * @apiBody (Request Body) {String} content Experience content
69+ * @apiBody (Request Body) {Boolean} isAnonymous Whether the post is anonymous
7070 *
7171 * @apiSuccess {Object} interview Created interview experience
7272 *
@@ -81,12 +81,12 @@ export default function interviewRouter(upload: Multer, supabase: SupabaseClient
8181 * @apiGroup Interview
8282 *
8383 * @apiParam (Path Params) {Number} id Interview ID to update
84- * @apiParam (Request Body) {UUID} memberId Member ID of the owner
85- * @apiParam (Request Body) {String} [company] Company name
86- * @apiParam (Request Body) {String} [role] Role
87- * @apiParam (Request Body) {String="Selected","Rejected","Pending"} [verdict] Interview result
88- * @apiParam (Request Body) {String} [content] Experience content
89- * @apiParam (Request Body) {Boolean} [isAnonymous] Anonymous flag
84+ * @apiBody (Request Body) {UUID} memberId Member ID of the owner
85+ * @apiBody (Request Body) {String} [company] Company name
86+ * @apiBody (Request Body) {String} [role] Role
87+ * @apiBody (Request Body) {String="Selected","Rejected","Pending"} [verdict] Interview result
88+ * @apiBody (Request Body) {String} [content] Experience content
89+ * @apiBody (Request Body) {Boolean} [isAnonymous] Anonymous flag
9090 *
9191 * @apiSuccess {Object} interview Updated interview experience
9292 *
0 commit comments