Compare commits
No commits in common. "71c487a1085a4f3befd483a8b929c497603bd56a" and "885557713aaa0e407b62b89083c304e1f9c7aca6" have entirely different histories.
71c487a108
...
885557713a
|
@ -2,7 +2,7 @@ namespace AcaMate.Common.Models;
|
|||
|
||||
public class APIResponseStatus<T>
|
||||
{
|
||||
public Status status { get; set; }
|
||||
public Status Status { get; set; }
|
||||
public T data { get; set; }
|
||||
}
|
||||
|
||||
|
@ -24,7 +24,7 @@ public static class ErrorResponse
|
|||
|
||||
public static readonly APIResponseStatus<string> InvalidInputError = new APIResponseStatus<string>
|
||||
{
|
||||
status = new Status()
|
||||
Status = new Status()
|
||||
{
|
||||
code = "001",
|
||||
message = "입력 값이 유효하지 않습니다."
|
||||
|
@ -33,7 +33,7 @@ public static class ErrorResponse
|
|||
|
||||
public static readonly APIResponseStatus<string> NotFoundError = new APIResponseStatus<string>
|
||||
{
|
||||
status = new Status()
|
||||
Status = new Status()
|
||||
{
|
||||
code = "002",
|
||||
message = "알맞은 값을 찾을 수 없습니다."
|
||||
|
@ -42,7 +42,7 @@ public static class ErrorResponse
|
|||
|
||||
public static readonly APIResponseStatus<string> InternalSeverError = new APIResponseStatus<string>
|
||||
{
|
||||
status = new Status()
|
||||
Status = new Status()
|
||||
{
|
||||
code = "003",
|
||||
message = "통신에 오류가 발생하였습니다."
|
||||
|
@ -52,7 +52,7 @@ public static class ErrorResponse
|
|||
|
||||
public static readonly APIResponseStatus<string> UnknownError = new APIResponseStatus<string>
|
||||
{
|
||||
status = new Status()
|
||||
Status = new Status()
|
||||
{
|
||||
code = "999",
|
||||
message = "알 수 없는 오류가 발생하였습니다.."
|
||||
|
|
|
@ -39,7 +39,7 @@ public class AppController : ControllerBase
|
|||
|
||||
var response = new APIResponseStatus<Version>
|
||||
{
|
||||
status = new Status()
|
||||
Status = new Status()
|
||||
{
|
||||
code = "000",
|
||||
message = "정상"
|
||||
|
|
Loading…
Reference in New Issue
Block a user