From 65c6a35e04419181009f64df96fdae1bcb2d4167 Mon Sep 17 00:00:00 2001 From: seohyun0120 Date: Sun, 4 Aug 2024 19:35:06 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20isReaction=20=ED=95=84=EB=93=9C=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/meme.ts | 12 ++++++++++++ src/routes/user.ts | 6 ++++++ 2 files changed, 18 insertions(+) diff --git a/src/routes/meme.ts b/src/routes/meme.ts index 648e7d3..008f95b 100644 --- a/src/routes/meme.ts +++ b/src/routes/meme.ts @@ -104,6 +104,9 @@ const router = express.Router(); * isSaved: * type: boolean * example: true + * isReaction: + * type: boolean + * example: true * keywords: * type: array * items: @@ -244,6 +247,9 @@ router.get('/list', getRequestedUserInfo, getAllMemeList); // meme 목록 전체 * isSaved: * type: boolean * example: true + * isReaction: + * type: boolean + * example: true * keywords: * type: array * items: @@ -500,6 +506,9 @@ router.post('/', createMeme); // meme 생성 * isSaved: * type: boolean * example: true + * isReaction: + * type: boolean + * example: true * keywords: * type: array * items: @@ -1420,6 +1429,9 @@ router.post('/:memeId/reaction', getRequestedUserInfo, getRequestedMemeInfo, cre * isSaved: * type: boolean * example: true + * isReaction: + * type: boolean + * example: true * keywords: * type: array * items: diff --git a/src/routes/user.ts b/src/routes/user.ts index 19247a5..0285cc7 100644 --- a/src/routes/user.ts +++ b/src/routes/user.ts @@ -289,6 +289,9 @@ router.get('/', getRequestedUserInfo, UserController.getUser); // user 조회 * isSaved: * type: boolean * example: true + * isReaction: + * type: boolean + * example: true * keywords: * type: array * items: @@ -411,6 +414,9 @@ router.get('/saved-memes', getRequestedUserInfo, UserController.getSavedMemeList * isSaved: * type: boolean * example: false + * isReaction: + * type: boolean + * example: false * keywords: * type: array * items: