controller

public ResponseEntity<String> signup(String name, String nickname, String id, String pwd, String email, boolean gender, String birth, ) {
    return new ResponseEntity<>("Hello World!", HttpStatus.OK);
}

service

mapper

Content-Type

공통 Response Wrapper (예시)

{
"isSuccess":true,
"code":1000,
"message":"요청에 성공하였습니다.",
"result":{}
}

공통 에러 응답 (예시)

{
"isSuccess":false,
"code":2001,
"message":"유효하지 않은 요청입니다.",
"result":null
}

로그인 이후 Request Header

Authorization: Bearer {Access_Token}
Content-Type: application/json

응답 코드

ex ) 200 (OK), 400 (Bad Request)