Skip to content

Commit

Permalink
Merge pull request #23 from Team-Motivoo/feat/#2-social_login_build
Browse files Browse the repository at this point in the history
[CHORE] 테스트 환경으로 변경
  • Loading branch information
jun02160 authored Jan 9, 2024
2 parents 9f90963 + 494497b commit 167f6ea
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 135 deletions.
134 changes: 0 additions & 134 deletions src/main/resources/static/docs/open-api-3.0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,74 +34,6 @@
}
}
}
},
"/mypage/{userId}" : {
"get" : {
"tags" : [ "마이페이지" ],
"summary" : "헬스체크용 API",
"description" : "마이페이지 홈 조회",
"operationId" : "마이페이지 조회 API 성공 Example",
"parameters" : [ {
"name" : "userId",
"in" : "path",
"description" : "",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "200",
"content" : {
"application/json;charset=UTF-8" : {
"schema" : {
"$ref" : "#/components/schemas/mypage-userId643760186"
},
"examples" : {
"마이페이지 조회 API 성공 Example" : {
"value" : "{\n \"code\" : 200,\n \"message\" : \"마이페이지 정보 조회에 성공했습니다.\",\n \"success\" : true,\n \"data\" : {\n \"user_nickname\" : \"모티뿡뿡이\",\n \"user_type\" : \"CHILD\"\n }\n}"
}
}
}
}
}
}
}
},
"/mypage/info/{userId}" : {
"get" : {
"tags" : [ "마이페이지" ],
"summary" : "헬스체크용 API",
"description" : "마이페이지 내 정보 조회",
"operationId" : "마이페이지 내 정보 조회 API 성공 Example",
"parameters" : [ {
"name" : "userId",
"in" : "path",
"description" : "",
"required" : true,
"schema" : {
"type" : "string"
}
} ],
"responses" : {
"200" : {
"description" : "200",
"content" : {
"application/json;charset=UTF-8" : {
"schema" : {
"$ref" : "#/components/schemas/mypage-info-userId1088240176"
},
"examples" : {
"마이페이지 내 정보 조회 API 성공 Example" : {
"value" : "{\n \"code\" : 200,\n \"message\" : \"마이페이지 정보 조회에 성공했습니다.\",\n \"success\" : true,\n \"data\" : {\n \"user_nickname\" : \"모티뿡뿡이\",\n \"user_age\" : 20,\n \"user_type\" : \"CHILD\"\n }\n}"
}
}
}
}
}
}
}
}
},
"components" : {
Expand All @@ -126,72 +58,6 @@
"description" : "상태 메세지"
}
}
},
"mypage-userId643760186" : {
"type" : "object",
"properties" : {
"code" : {
"type" : "number",
"description" : "상태 코드"
},
"data" : {
"type" : "object",
"properties" : {
"user_type" : {
"type" : "string",
"description" : "유저 타입 (부모/자식)"
},
"user_nickname" : {
"type" : "string",
"description" : "유저 닉네임"
}
},
"description" : "응답 데이터"
},
"success" : {
"type" : "boolean",
"description" : "응답 성공 여부"
},
"message" : {
"type" : "string",
"description" : "상태 메세지"
}
}
},
"mypage-info-userId1088240176" : {
"type" : "object",
"properties" : {
"code" : {
"type" : "number",
"description" : "상태 코드"
},
"data" : {
"type" : "object",
"properties" : {
"user_type" : {
"type" : "string",
"description" : "유저 타입 (부모/자식)"
},
"user_nickname" : {
"type" : "string",
"description" : "유저 닉네임"
},
"user_age" : {
"type" : "number",
"description" : "유저 나이"
}
},
"description" : "응답 데이터"
},
"success" : {
"type" : "boolean",
"description" : "응답 성공 여부"
},
"message" : {
"type" : "string",
"description" : "상태 메세지"
}
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import sopt.org.motivooServer.global.util.slack.SlackUtil;

@SpringBootTest
@ActiveProfiles({"local", "deploy"})
@ActiveProfiles({"test"})
class MotivooServerApplicationTests {

@MockBean
Expand Down

0 comments on commit 167f6ea

Please sign in to comment.