From 719c19e1e519ddb13be86453157d40e7b1b4716e Mon Sep 17 00:00:00 2001 From: "seonkyu.kim" Date: Fri, 21 Mar 2025 22:32:04 +0900 Subject: [PATCH] =?UTF-8?q?[=F0=9F=90=9B]=20=EC=8A=A4=EC=9B=A8=EA=B1=B0=20?= =?UTF-8?q?=EC=9D=B8=EC=8B=9D=20=EB=AC=B8=EC=A0=9C=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=9E=A1=EA=B8=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: seonkyu.kim --- Program/V1/Controllers/AppController.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Program/V1/Controllers/AppController.cs b/Program/V1/Controllers/AppController.cs index 0b85eb0..f036915 100644 --- a/Program/V1/Controllers/AppController.cs +++ b/Program/V1/Controllers/AppController.cs @@ -151,7 +151,10 @@ public class AppController : ControllerBase } } - public string KeyGenerator(string combineText) + // 스웨거는 퍼블릭으로 선언된걸 죄다 API로 인식하는 경향이 있음 + // 방법은 private 같이 접근 제한자를 변경하거나 [NonAction]을 붙여주면 됨 + [NonAction] + private string KeyGenerator(string combineText) { using (SHA256 sha256 = SHA256.Create()) {