diff --git a/Program/Common/Model/Status.cs b/Program/Common/Model/Status.cs index 60f4939..553aa3a 100644 --- a/Program/Common/Model/Status.cs +++ b/Program/Common/Model/Status.cs @@ -8,8 +8,8 @@ public class APIResponseStatus public class Status { - public string Code { get; set; } - public string Message { get; set; } + public string code { get; set; } + public string message { get; set; } } public static class ErrorResponse @@ -26,8 +26,8 @@ public static class ErrorResponse { Status = new Status() { - Code = "001", - Message = "입력 값이 유효하지 않습니다." + code = "001", + message = "입력 값이 유효하지 않습니다." } }; @@ -35,8 +35,8 @@ public static class ErrorResponse { Status = new Status() { - Code = "002", - Message = "알맞은 값을 찾을 수 없습니다." + code = "002", + message = "알맞은 값을 찾을 수 없습니다." } }; @@ -44,8 +44,8 @@ public static class ErrorResponse { Status = new Status() { - Code = "003", - Message = "통신에 오류가 발생하였습니다." + code = "003", + message = "통신에 오류가 발생하였습니다." } }; @@ -54,8 +54,8 @@ public static class ErrorResponse { Status = new Status() { - Code = "999", - Message = "알 수 없는 오류가 발생하였습니다.." + code = "999", + message = "알 수 없는 오류가 발생하였습니다.." } }; } diff --git a/Program/V1/Controllers/AppController.cs b/Program/V1/Controllers/AppController.cs index 25de08f..b8a1e3d 100644 --- a/Program/V1/Controllers/AppController.cs +++ b/Program/V1/Controllers/AppController.cs @@ -41,8 +41,8 @@ public class AppController : ControllerBase { Status = new Status() { - Code = "000", - Message = "정상" + code = "000", + message = "정상" }, data = new Version() {