Skip to content

Commit

Permalink
Merge pull request #41 from mash-up-kr/feature/add-isReaction-field
Browse files Browse the repository at this point in the history
isReaction 필드 추가
  • Loading branch information
seohyun0120 authored Aug 4, 2024
2 parents 7304d4d + 65c6a35 commit 3266147
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/routes/meme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ const router = express.Router();
* isSaved:
* type: boolean
* example: true
* isReaction:
* type: boolean
* example: true
* keywords:
* type: array
* items:
Expand Down Expand Up @@ -244,6 +247,9 @@ router.get('/list', getRequestedUserInfo, getAllMemeList); // meme 목록 전체
* isSaved:
* type: boolean
* example: true
* isReaction:
* type: boolean
* example: true
* keywords:
* type: array
* items:
Expand Down Expand Up @@ -500,6 +506,9 @@ router.post('/', createMeme); // meme 생성
* isSaved:
* type: boolean
* example: true
* isReaction:
* type: boolean
* example: true
* keywords:
* type: array
* items:
Expand Down Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions src/routes/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,9 @@ router.get('/', getRequestedUserInfo, UserController.getUser); // user 조회
* isSaved:
* type: boolean
* example: true
* isReaction:
* type: boolean
* example: true
* keywords:
* type: array
* items:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 3266147

Please sign in to comment.