forked from AcaMate/AcaMate_API
[🐛] 스웨거 인식 문제 오류 잡기
Signed-off-by: seonkyu.kim <sean.kk@daum.net>
This commit is contained in:
parent
7fc316520c
commit
719c19e1e5
|
@ -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())
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user