From 6e58920f3175e84b3acb9b8d0cee55943cee1bac Mon Sep 17 00:00:00 2001 From: guswlwlgus <20220784@duksung.ac.kr> Date: Wed, 18 Feb 2026 21:04:26 +0900 Subject: [PATCH] =?UTF-8?q?[hotfix]:=20Swagger=20=EB=AC=B8=EC=84=9C?= =?UTF-8?q?=EC=97=90=20security=20=EC=84=A4=EC=A0=95=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/words/routes/words.route.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/words/routes/words.route.js b/src/words/routes/words.route.js index 765440e..f26d20f 100644 --- a/src/words/routes/words.route.js +++ b/src/words/routes/words.route.js @@ -14,12 +14,13 @@ const router = express.Router(); * @swagger * /api/words: * get: + * security: + * - bearerAuth: [] * summary: 낱말 카드 조회 * description: | * 낱말 카드 목록을 조회합니다. * 토큰이 있으면 게스트/소셜 계정 모두 사용자별 낱말(즐겨찾기/개인화 포함)을 조회합니다. * 토큰이 없으면 기본 낱말만 반환합니다. -* categoryId가 있으면 data.category(카테고리 이름)도 함께 반환됩니다. * tags: [Words] * parameters: * - in: query @@ -74,6 +75,8 @@ router.get('/', optionalAuthenticate, wordsController.getWords.bind(wordsControl * @swagger * /api/words: * post: + * security: + * - bearerAuth: [] * summary: 개인 낱말 카드 추가 * description: 사용자가 직접 낱말 카드를 추가합니다. NLP로 품사를 자동 분석합니다. * tags: [Words]