From 535998b123799f483fba8710c686742c1150188f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=9E=AC=EB=AF=BC?= <95125109+javor10@users.noreply.github.com> Date: Fri, 21 Feb 2025 02:49:39 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20swagger=EC=B2=98=EB=A6=AC=EC=B6=94?= =?UTF-8?q?=EA=B0=80=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/moment.controller.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/controllers/moment.controller.js b/src/controllers/moment.controller.js index 7d915c4..169a830 100644 --- a/src/controllers/moment.controller.js +++ b/src/controllers/moment.controller.js @@ -229,6 +229,20 @@ export const handleGetMyMomentDetail = async (req, res, next) => { }; export const handleGetOtherUserMoments = async (req, res, next) => { + + /* + #swagger.tags = ['Moments'] + #swagger.summary = '특정 사용자의 Moment 목록 조회 API' + #swagger.description = '특정 사용자의 페이지에서 해당 사용자의 Moment 게시물 목록을 조회합니다.' + #swagger.security = [{ "bearerAuth": [] }] + #swagger.parameters['userId'] = { + in: "path", + required: true, + description: "조회할 사용자의 ID", + schema: { type: "integer", example: 2 } + } +*/ + try { // userId 확인: 잘못된 값이 전달되는지 확인