[🐛] 스웨거 인식 문제 오류 잡기

Signed-off-by: seonkyu.kim <sean.kk@daum.net>
This commit is contained in:
김선규 2025-03-21 22:32:04 +09:00
parent 7fc316520c
commit 719c19e1e5

View File

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