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()) {