- path variable 이랑 query params 규칙 어떻게 할 것인지 논의
- status code 별 결과를 저장 할 것인지 논의
{
"response" : {
//status code
200 : {
"headers" : {
"Content-Type" : {
"Type" : "String",
"Desc" : "Define response data type",
"Value" : "application/json"
},
"Authorization" : {
"Type" : "String",
"Desc" : "Token for user authentication",
"Value" : "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9"
},
"connected_user" : {
"Type" : "Integer",
"Desc" : "users list online",
"isList" : true,
"Value" : [1,2,3,4,5]
}
},
"body":{
"ID" : {
"Type" : "String",
"Desc" : "Identify info for user",
"Value" : "Powerade"
},
"password" : {
"Type" : "String",
"Desc" : "password for authentication",
"Value" : "q1w2e3"
},
"age" : {
"Type" : "Integer",
"Desc" : "user age",
"Value" : 15
}
}
},
405 : {
"headers" : {
"Content-Type" : {
"Type" : "String",
"Desc" : "Identify info for user",
"Value" : "text/plain"
}
},
"body":{
"Message" : {
"Key" : "Message",
"Type" : "String",
"Desc" : "Message for user.",
"Value" : "Methods are not supported"
}
}
}
},
}