{"openapi":"3.0.1","servers":[{"url":"http://localhost:3000","description":"Local Server"}],"info":{"version":"0.0.1","title":"1st_project_re","description":""},"paths":{"/":{"get":{"tags":[],"parameters":[],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string"}}},"x-nestia-encrypted":false}},"x-nestia-namespace":"getHello","x-nestia-jsDocTags":[]}},"/auth":{"post":{"tags":["users"],"parameters":[],"requestBody":{"description":"로그인 요청 시 필요한 사용자 계정과 비밀번호 정보\n계정과 비밀번호는 모두 문자열 형태이며, 세부적인 정규표현식은 스키마를 참고","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginReqDto"}}},"required":true,"x-nestia-encrypted":false},"responses":{"201":{"description":"code 200 - 로그인에 성공하면 'success' 메시지와 함께 액세스 토큰을 담은 쿠키를 반환합니다.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}},"x-nestia-encrypted":false},"401":{"description":"- 데이터베이스에 존재하지 않는 계정이거나 비밀번호가 일치하지 않는 경우 발생합니다."},"500":{"description":"- SQL 에러가 발생한 경우"}},"summary":"고객의 로그인 API","description":"회원의 로그인 API\n\nAPI는 사용자가 계정과 비밀번호를 통해 로그인하는 기능을 제공\n로그인 성공 시, 쿠키를 통해 액세스 토큰을 반환\n\n@summary 고객의 로그인 API\n\n@tag users\n\n@param loginReqDto  로그인 요청 시 필요한 사용자 계정과 비밀번호 정보\n계정과 비밀번호는 모두 문자열 형태이며, 세부적인 정규표현식은 스키마를 참고\n\n@returns code 200 - 로그인에 성공하면 'success' 메시지와 함께 액세스 토큰을 담은 쿠키를 반환합니다.\n\n@throw  401 - 데이터베이스에 존재하지 않는 계정이거나 비밀번호가 일치하지 않는 경우 발생합니다.\n\n@throw  500 - SQL 에러가 발생한 경우\n","x-nestia-namespace":"auth.login","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"고객의 로그인 API","kind":"text"}]},{"name":"tag","text":[{"text":"users","kind":"text"}]},{"name":"param","text":[{"text":"loginReqDto","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"로그인 요청 시 필요한 사용자 계정과 비밀번호 정보\n계정과 비밀번호는 모두 문자열 형태이며, 세부적인 정규표현식은 스키마를 참고","kind":"text"}]},{"name":"returns","text":[{"text":"code 200 - 로그인에 성공하면 'success' 메시지와 함께 액세스 토큰을 담은 쿠키를 반환합니다.","kind":"text"}]},{"name":"throw","text":[{"text":"401 - 데이터베이스에 존재하지 않는 계정이거나 비밀번호가 일치하지 않는 경우 발생합니다.","kind":"text"}]},{"name":"throw","text":[{"text":"500 - SQL 에러가 발생한 경우","kind":"text"}]}]}},"/carts":{"post":{"tags":["carts"],"parameters":[],"requestBody":{"description":"장바구니생성시 필요한 데이터","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewCartDto"}}},"required":true,"x-nestia-encrypted":false},"responses":{"201":{"description":"code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}},"x-nestia-encrypted":false},"400":{"description":"- 클라이언트에서 제공한 productId가 데이터베이스에 존재하지 않을 경우"},"500":{"description":"- SQL 에러가 발생한 경우"}},"summary":"장바구니 생성 API","description":"장바구니 생성 API\n\n회원이 상품 페이지에서 장바구니 추가 버튼을 클릭하면, 해당 상품이 사용자의 장바구니에 추가\n기존의 장바구니에 해당 productId가 존재하는 클라이언트가 요청한 quantity로 변경\n\n@summary 장바구니 생성 API\n\n@tag carts\n\n@param createCartDto  장바구니생성시 필요한 데이터\n\n@param cookies  쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능\n\n@returns code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미\n\n@throw  400 - 클라이언트에서 제공한 productId가 데이터베이스에 존재하지 않을 경우\n\n@throw  500 - SQL 에러가 발생한 경우\n","x-nestia-namespace":"carts.create","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"장바구니 생성 API","kind":"text"}]},{"name":"tag","text":[{"text":"carts","kind":"text"}]},{"name":"param","text":[{"text":"createCartDto","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"장바구니생성시 필요한 데이터","kind":"text"}]},{"name":"param","text":[{"text":"cookies","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능","kind":"text"}]},{"name":"returns","text":[{"text":"code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미","kind":"text"}]},{"name":"throw","text":[{"text":"400 - 클라이언트에서 제공한 productId가 데이터베이스에 존재하지 않을 경우","kind":"text"}]},{"name":"throw","text":[{"text":"500 - SQL 에러가 발생한 경우","kind":"text"}]}]},"get":{"tags":["carts"],"parameters":[],"responses":{"200":{"description":"code 200 - response에 조회된 상품 데이터가 포함됨, response에 빈배열이 가는경우 상품 데이터가 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_lt_Carts_gt_"}}},"x-nestia-encrypted":false},"500":{"description":"-, SQL 에러가 발생한 경우"}},"summary":"회원의 장바구니내에 리스트를 확인하는 API","description":"회원의 장바구니내에 리스트를 확인하는 API\n\n이 API는 회원의 장바구니에 담긴 상품들의 목록을 조회하는 기능을 제공합니다.\n쿠키 내에 저장된 토큰을 통해 사용자를 식별하며, 이 토큰이 없으면 API 호출이 불가능합니다.\n\n@summary 회원의 장바구니내에 리스트를 확인하는 API\n\n@tag carts\n\n@param cookies  쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능\n\n@returns code 200 - response에 조회된 상품 데이터가 포함됨, response에 빈배열이 가는경우 상품 데이터가 없음\n\n@throw 500 -, SQL 에러가 발생한 경우\n","x-nestia-namespace":"carts.findAllByUserId","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"회원의 장바구니내에 리스트를 확인하는 API","kind":"text"}]},{"name":"tag","text":[{"text":"carts","kind":"text"}]},{"name":"param","text":[{"text":"cookies","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능","kind":"text"}]},{"name":"returns","text":[{"text":"code 200 - response에 조회된 상품 데이터가 포함됨, response에 빈배열이 가는경우 상품 데이터가 없음","kind":"text"}]},{"name":"throw","text":[{"text":"500 -, SQL 에러가 발생한 경우","kind":"text"}]}]},"delete":{"tags":["carts"],"parameters":[{"name":"cartId","in":"query","description":"삭제하고자 하는 상품의 ID","schema":{"$ref":"#/components/schemas/CartIdListDto"},"required":true}],"responses":{"200":{"description":"code 200 - 상품이 성공적으로 삭제되는경우, response에 조회된 상품 데이터가 포함됨","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_lt_Carts_gt_"}}},"x-nestia-encrypted":false},"404":{"description":"- cartId,userId이슈로 인하여 장바구니 데이터가 삭제 되지 않는 경우"},"500":{"description":"- SQL 에러가 발생한 경우"}},"summary":"회원의 장바구니 내 특정 상품을 삭제하는 API","description":"회원의 장바구니 내 특정 상품을 삭제하는 API\n\n이 API는 회원의 장바구니에 담긴 특정 상품을 삭제하는 기능을 제공합니다.\n쿠키 내에 저장된 토큰을 통해 사용자를 식별하며, 이 토큰이 없으면 API 호출이 불가능합니다.\n\n@summary 회원의 장바구니 내 특정 상품을 삭제하는 API\n\n@tag carts\n\n@param cartId  삭제하고자 하는 상품의 ID\n\n@param cookies  쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능\n\n@returns code 200 - 상품이 성공적으로 삭제되는경우, response에 조회된 상품 데이터가 포함됨\n\n@throws  404 - cartId,userId이슈로 인하여 장바구니 데이터가 삭제 되지 않는 경우\n\n@throws  500 - SQL 에러가 발생한 경우\n","x-nestia-namespace":"carts.remove","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"회원의 장바구니 내 특정 상품을 삭제하는 API","kind":"text"}]},{"name":"tag","text":[{"text":"carts","kind":"text"}]},{"name":"param","text":[{"text":"cartId","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"삭제하고자 하는 상품의 ID","kind":"text"}]},{"name":"param","text":[{"text":"cookies","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능","kind":"text"}]},{"name":"returns","text":[{"text":"code 200 - 상품이 성공적으로 삭제되는경우, response에 조회된 상품 데이터가 포함됨","kind":"text"}]},{"name":"throws","text":[{"text":"404 - cartId,userId이슈로 인하여 장바구니 데이터가 삭제 되지 않는 경우","kind":"text"}]},{"name":"throws","text":[{"text":"500 - SQL 에러가 발생한 경우","kind":"text"}]}]},"patch":{"tags":["carts"],"parameters":[],"requestBody":{"description":"업데이트하고자 하는 상품의 수량 정보와 cartId","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatedCartDto"}}},"required":true,"x-nestia-encrypted":false},"responses":{"201":{"description":"code 200 - 상품이 성공적으로 수량이 변경 되는 경우, response에 조회된 상품 데이터가 포함됨","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_lt_Carts_gt_"}}},"x-nestia-encrypted":false},"500":{"description":"- SQL 에러가 발생한 경우"}},"summary":"회원의 장바구니 내 특정 상품의 수량을 변경하는 API","description":"회원의 장바구니 내 특정 상품의 수량을 변경하는 API\n\n이 API는 장바구니에 담긴 특정 상품의 수량을 업데이트하는 기능을 제공합니다.\n쿠키에 저장된 토큰을 통해 사용자를 식별하며, 이 토큰이 없으면 API 호출이 불가능합니다.\n\n@summary 회원의 장바구니 내 특정 상품의 수량을 변경하는 API\n\n@tag carts\n\n@param UpdateCartReq  업데이트하고자 하는 상품의 수량 정보와 cartId\n\n@param cookies  쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능\n\n@returns code 200 - 상품이 성공적으로 수량이 변경 되는 경우, response에 조회된 상품 데이터가 포함됨\n\n@throw  500 - SQL 에러가 발생한 경우\n","x-nestia-namespace":"carts.updateCartQuantity","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"회원의 장바구니 내 특정 상품의 수량을 변경하는 API","kind":"text"}]},{"name":"tag","text":[{"text":"carts","kind":"text"}]},{"name":"param","text":[{"text":"UpdateCartReq","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"업데이트하고자 하는 상품의 수량 정보와 cartId","kind":"text"}]},{"name":"param","text":[{"text":"cookies","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능","kind":"text"}]},{"name":"returns","text":[{"text":"code 200 - 상품이 성공적으로 수량이 변경 되는 경우, response에 조회된 상품 데이터가 포함됨","kind":"text"}]},{"name":"throw","text":[{"text":"500 - SQL 에러가 발생한 경우","kind":"text"}]}]}},"/order":{"post":{"tags":["order"],"parameters":[],"requestBody":{"description":"주문시에 필요한 정보","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateOrderReqDto"}}},"required":true,"x-nestia-encrypted":false},"responses":{"201":{"description":"code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}},"x-nestia-encrypted":false},"400":{"description":"- 사용자의 포인트(userPoint)가 부족하거나, 제공된 productId나 cartId가 존재하지 않는 경우에 발생하는 에러"},"500":{"description":"- SQL 에러가 발생한 경우"}},"summary":"고객의 장바구니에서 주문 API","description":"고객의 장바구니에서 주문 API\n\n고객이 장바구니에 담긴 상품을 주문하는 기능을 제공\n클라이언트에서 제공하는 cart정보를 바탕으로 주문\n\n@summary 고객의 장바구니에서 주문 API\n\n@tag order\n\n@param createOrderReqDto  주문시에 필요한 정보\n\n@param cookies  쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능\n\n@returns code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미\n\n@throw  400 - 사용자의 포인트(userPoint)가 부족하거나, 제공된 productId나 cartId가 존재하지 않는 경우에 발생하는 에러\n\n@throw  500 - SQL 에러가 발생한 경우\n","x-nestia-namespace":"order.create","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"고객의 장바구니에서 주문 API","kind":"text"}]},{"name":"tag","text":[{"text":"order","kind":"text"}]},{"name":"param","text":[{"text":"createOrderReqDto","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"주문시에 필요한 정보","kind":"text"}]},{"name":"param","text":[{"text":"cookies","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"쿠키에 저장된 토큰. 이 토큰이 없으면 API 호출이 불가능","kind":"text"}]},{"name":"returns","text":[{"text":"code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미","kind":"text"}]},{"name":"throw","text":[{"text":"400 - 사용자의 포인트(userPoint)가 부족하거나, 제공된 productId나 cartId가 존재하지 않는 경우에 발생하는 에러","kind":"text"}]},{"name":"throw","text":[{"text":"500 - SQL 에러가 발생한 경우","kind":"text"}]}]}},"/products":{"get":{"tags":["products"],"parameters":[{"name":"productFilter","in":"query","description":"","schema":{"$ref":"#/components/schemas/ProductFilterDto"},"required":true}],"responses":{"200":{"description":"code 200 - message가 'success'인 경우에만 API 호출이 성공함을 의미.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_lt_Products_gt_"}}},"x-nestia-encrypted":false}},"summary":"상품리스트페이지 API","description":"상품리스트페이지 API\n\nAPI는 상품 리스트 페이지를 반환하고, 사용자가 요청하는 필터링 옵션을 제공\n\n필터링 옵션:\n1. 'categoryId': 특정 카테고리에 속하는 상품만 반환합니다.\n2. '가격순 정렬': 상품을 가격에 따라 오름차순 또는 내림차순으로 정렬합니다.\n\nlimit,offset은 반드시 보내줘야한다.\n\n@summary 상품리스트페이지 API\n\n@tag products\n\n@param ProductFilterDto  상품의 필터링 및 limit,offset\n\n@param limit  한번에 가져올 상품의 갯수\n\n@param offset  가져올 상품의 offset\n\n@returns code 200 - message가 'success'인 경우에만 API 호출이 성공함을 의미.\n\n@throw  500, sql error 발생시 실패\n","x-nestia-namespace":"products.findProductList","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"상품리스트페이지 API","kind":"text"}]},{"name":"tag","text":[{"text":"products","kind":"text"}]},{"name":"param","text":[{"text":"ProductFilterDto","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"상품의 필터링 및 limit,offset","kind":"text"}]},{"name":"param","text":[{"text":"limit","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"한번에 가져올 상품의 갯수","kind":"text"}]},{"name":"param","text":[{"text":"offset","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"가져올 상품의 offset","kind":"text"}]},{"name":"returns","text":[{"text":"code 200 - message가 'success'인 경우에만 API 호출이 성공함을 의미.","kind":"text"}]},{"name":"throw","text":[{"text":"500, sql error 발생시 실패","kind":"text"}]}]}},"/products/{productId}":{"get":{"tags":["products"],"parameters":[{"name":"productId","in":"path","description":"productId를 반드시 보내줘야한다.","schema":{"type":"number"},"required":true}],"responses":{"200":{"description":"code 200 - response에 조회된 상품 데이터가 포함됨, response에 빈배열이 가는경우 상품 데이터가 없음","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Response_lt_Product_gt_"}}},"x-nestia-encrypted":false},"400":{"description":"- productId가 DB에 없는경우 에러발생"},"500":{"description":"- sql error 발생시 실패"}},"summary":"상품디테일페이지 API","description":"상품디테일페이지 API\n\n상품의 디테일페이지에 대한 데이터를 보내주는 API\n\n@summary 상품디테일페이지 API\n\n@tag products\n\n@param productId  productId를 반드시 보내줘야한다.\n\n@returns code 200 - response에 조회된 상품 데이터가 포함됨, response에 빈배열이 가는경우 상품 데이터가 없음\n\n@throw  400 - productId가 DB에 없는경우 에러발생\n\n@throw  500 - sql error 발생시 실패\n","x-nestia-namespace":"products.findProductOne","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"상품디테일페이지 API","kind":"text"}]},{"name":"tag","text":[{"text":"products","kind":"text"}]},{"name":"param","text":[{"text":"productId","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"productId를 반드시 보내줘야한다.","kind":"text"}]},{"name":"returns","text":[{"text":"code 200 - response에 조회된 상품 데이터가 포함됨, response에 빈배열이 가는경우 상품 데이터가 없음","kind":"text"}]},{"name":"throw","text":[{"text":"400 - productId가 DB에 없는경우 에러발생","kind":"text"}]},{"name":"throw","text":[{"text":"500 - sql error 발생시 실패","kind":"text"}]}]}},"/users":{"post":{"tags":["users"],"parameters":[],"requestBody":{"description":"회원가입시 필요한 고객 정보","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUserReqDto"}}},"required":true,"x-nestia-encrypted":false},"responses":{"201":{"description":"code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusResponse"}}},"x-nestia-encrypted":false},"400":{"description":"- 클라이언트에서 제공한 account가 데이터베이스에 이미 존재하는 경우"},"500":{"description":"- SQL 에러가 발생한 경우"}},"summary":"고객의 회원가입 API","description":"고객의 회원가입 API\n\n이 API는 고객이 회원으로 등록하기 위해 필요한 기능을 제공합니다.\n클라이언트에서 제공하는 사용자 정보를 바탕으로 사용자의 계정을 생성합니다.\n\n@summary 고객의 회원가입 API\n\n@tag users\n\n@param createUserDto  회원가입시 필요한 고객 정보\n\n@returns code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미\n\n@throw  400 - 클라이언트에서 제공한 account가 데이터베이스에 이미 존재하는 경우\n\n@throw  500 - SQL 에러가 발생한 경우\n","x-nestia-namespace":"users.create","x-nestia-jsDocTags":[{"name":"summary","text":[{"text":"고객의 회원가입 API","kind":"text"}]},{"name":"tag","text":[{"text":"users","kind":"text"}]},{"name":"param","text":[{"text":"createUserDto","kind":"parameterName"},{"text":" ","kind":"space"},{"text":"회원가입시 필요한 고객 정보","kind":"text"}]},{"name":"returns","text":[{"text":"code 201 - message가 'success'인 경우에만 API 호출이 성공함을 의미","kind":"text"}]},{"name":"throw","text":[{"text":"400 - 클라이언트에서 제공한 account가 데이터베이스에 이미 존재하는 경우","kind":"text"}]},{"name":"throw","text":[{"text":"500 - SQL 에러가 발생한 경우","kind":"text"}]}]}}},"components":{"schemas":{"LoginReqDto":{"type":"object","properties":{"account":{"description":"유저의 계정\n영문 및 숫자 4~12글자이여합니다\n\n@pattern ^[a-z0-9]{4,12}$","x-typia-metaTags":[{"kind":"pattern","value":"^[a-z0-9]{4,12}$"}],"x-typia-jsDocTags":[{"name":"pattern","text":[{"text":"^[a-z0-9]{4,12}$","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","pattern":"^[a-z0-9]{4,12}$"},"password":{"description":"유저의 비밀번호\n영문,숫자 및 특수문자가 포함되어야하며 8~16글자여야합니다.\n@type string\n@pattern ^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$\n@minLength 1\n@maxLength 200","x-typia-metaTags":[{"kind":"pattern","value":"^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$"},{"kind":"minLength","value":1},{"kind":"maxLength","value":200}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"string","kind":"text"}]},{"name":"pattern","text":[{"text":"^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$","kind":"text"}]},{"name":"minLength","text":[{"text":"1","kind":"text"}]},{"name":"maxLength","text":[{"text":"200","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","pattern":"^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$","minLength":1,"maxLength":200}},"nullable":false,"required":["account","password"],"x-typia-jsDocTags":[]},"StatusResponse":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/HttpStatus"},"data":{"$ref":"#/components/schemas/ResultStatus"}},"nullable":false,"required":["code","data"],"x-typia-jsDocTags":[]},"HttpStatus":{"type":"number","enum":[100,101,102,103,200,201,202,203,204,205,206,300,301,302,303,304,307,308,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,421,422,424,428,429,500,501,502,503,504,505]},"ResultStatus":{"type":"string","enum":["SUCCESS","FAILURE"]},"NewCartDto":{"type":"object","properties":{"quantity":{"description":"카트에 담긴 상품의 퀀티티\n\n@type uint\n@minimum 1\n","x-typia-metaTags":[{"kind":"type","value":"uint"},{"kind":"minimum","value":1}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"uint","kind":"text"}]},{"name":"minimum","text":[{"text":"1","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer","minimum":1},"productId":{"description":"유저의 Id\n\n@type int\n@minimum 1\n","x-typia-metaTags":[{"kind":"type","value":"int"},{"kind":"minimum","value":1}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]},{"name":"minimum","text":[{"text":"1","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer","minimum":1}},"nullable":false,"required":["quantity","productId"],"x-typia-jsDocTags":[]},"Response_lt_Carts_gt_":{"type":"object","properties":{"code":{"description":"statusCode\n","x-typia-required":true,"x-typia-optional":false,"type":"number"},"message":{"description":"성공 또는 오류 메시지.","x-typia-required":true,"x-typia-optional":false,"type":"string"},"response":{"$ref":"#/components/schemas/Carts"}},"nullable":false,"required":["code","message","response"],"description":"응답 데이터, 사실상 본문.","x-typia-jsDocTags":[]},"Carts":{"type":"array","items":{"$ref":"#/components/schemas/__type"}},"__type":{"type":"object","properties":{"cartId":{"description":"cart의 id\n@type int","x-typia-metaTags":[{"kind":"type","value":"int"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer"},"productId":{"description":"카트에 담김 상품의 id\n\n@type int","x-typia-metaTags":[{"kind":"type","value":"int"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer"},"cartQuantity":{"description":"카트에 담김 상품의 수량\n\n@type int","x-typia-metaTags":[{"kind":"type","value":"int"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer"},"productName":{"description":"카트에 담김 상품의 이름\n\n@type string","x-typia-jsDocTags":[{"name":"type","text":[{"text":"string","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string"},"productPrice":{"description":"\n상품의 가격\n\n@type unit","x-typia-jsDocTags":[{"name":"type","text":[{"text":"unit","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"number"},"discountedPrice":{"description":"상품의 할인가\n\ndiscountRate가 0인경우 productPrice와 동일한 가격\n\n@type unit","x-typia-jsDocTags":[{"name":"type","text":[{"text":"unit","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"number"},"discountRate":{"description":"상품의 할인율","x-typia-required":true,"x-typia-optional":false,"type":"number"},"userId":{"description":"토큰에 담긴 유저의 iD\n","x-typia-required":true,"x-typia-optional":false,"type":"number"},"userPoint":{"description":"user가 가지고있는 point\n\n제품을 구매할때 사용\n\n@default 100000","x-typia-jsDocTags":[{"name":"default","text":[{"text":"100000","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"number","default":100000},"productImages":{"description":"상품의 대표이미지. 호버이미지\n\n배열에서 홀수인 값이 대표이미지 표시","x-typia-required":true,"x-typia-optional":false,"type":"array","items":{"description":"상품의 대표이미지. 호버이미지\n\n배열에서 홀수인 값이 대표이미지 표시","x-typia-required":true,"x-typia-optional":false,"type":"string"}}},"nullable":false,"required":["cartId","productId","cartQuantity","productName","productPrice","discountedPrice","discountRate","userId","userPoint","productImages"],"description":"get carts 의 Response값","x-typia-jsDocTags":[]},"CartIdListDto":{"type":"object","properties":{"cartIdList":{"x-typia-required":true,"x-typia-optional":false,"type":"array","items":{"x-typia-required":true,"x-typia-optional":false,"type":"string"}}},"nullable":false,"required":["cartIdList"],"x-typia-jsDocTags":[]},"UpdatedCartDto":{"type":"object","properties":{"quantity":{"description":"카트에 담긴 상품의 퀀티티\n\n@type uint\n@minimum 1\n","x-typia-metaTags":[{"kind":"type","value":"uint"},{"kind":"minimum","value":1}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"uint","kind":"text"}]},{"name":"minimum","text":[{"text":"1","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer","minimum":1},"cartId":{"x-typia-required":true,"x-typia-optional":false,"type":"number"}},"nullable":false,"required":["quantity","cartId"],"x-typia-jsDocTags":[]},"CreateOrderReqDto":{"type":"object","properties":{"totalPrice":{"description":"주문한 상품의 전체가격\n\n@type uint","x-typia-metaTags":[{"kind":"type","value":"uint"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"uint","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer","minimum":0},"carts":{"description":"\n해당 주문에서 구매한 해당 productId와 quantity\n","x-typia-required":true,"x-typia-optional":false,"type":"array","items":{"$ref":"#/components/schemas/CartItem"}}},"nullable":false,"required":["totalPrice","carts"],"description":"cartId, productId, quantity 값이 포함된 obj형태","x-typia-jsDocTags":[]},"CartItem":{"type":"object","properties":{"cartId":{"description":"카트의 PK값\n\n@type int","x-typia-metaTags":[{"kind":"type","value":"int"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer"},"productId":{"description":"카트에 담긴 productId\n\n@type int","x-typia-metaTags":[{"kind":"type","value":"int"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer"},"quantity":{"description":"주문 아이템의 수량.\n해당 주문에서 구매한 해당 제품의 수량\n\n@type uint","x-typia-metaTags":[{"kind":"type","value":"uint"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"uint","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer","minimum":0}},"nullable":false,"required":["cartId","productId","quantity"],"description":"주문 아이템의 수량.\n해당 주문에서 구매한 해당 제품의 수량\n\n@type uint","x-typia-jsDocTags":[]},"ProductFilterDto":{"type":"object","properties":{"categoryId":{"description":"상품의 categoryId에 따라 상품 필터링시 필요\n\n@type uint","x-typia-metaTags":[{"kind":"type","value":"uint"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"uint","kind":"text"}]}],"x-typia-required":false,"x-typia-optional":true,"type":"integer","minimum":0},"sort":{"description":"최저가 및 최고가 순으로 정렬시 필요\n\npriceInASC: 상품의 높은 가격순정렬\n\npriceInDESC: 상품의 낮은 가격순정렬\n\n클라이언트에서 값을 안보내주는경우 ASC순으로 정렬\n\n@sortList","x-typia-jsDocTags":[{"name":"sortList"}],"x-typia-required":false,"x-typia-optional":true,"type":"string"},"limit":{"description":"페이지네이션시 필요\n\n\n@type int","x-typia-metaTags":[{"kind":"type","value":"int"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer"},"offset":{"description":"페이지네이션시 필요\n\n@type int","x-typia-metaTags":[{"kind":"type","value":"int"}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"int","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"integer"}},"nullable":false,"required":["limit","offset"],"description":"페이지네이션시 필요\n\n@type int","x-typia-jsDocTags":[]},"Response_lt_Products_gt_":{"type":"object","properties":{"code":{"description":"statusCode\n","x-typia-required":true,"x-typia-optional":false,"type":"number"},"message":{"description":"성공 또는 오류 메시지.","x-typia-required":true,"x-typia-optional":false,"type":"string"},"response":{"$ref":"#/components/schemas/Products"}},"nullable":false,"required":["code","message","response"],"description":"응답 데이터, 사실상 본문.","x-typia-jsDocTags":[]},"Products":{"type":"array","items":{"$ref":"#/components/schemas/__type.o1"}},"__type.o1":{"type":"object","properties":{"productId":{"description":"상품의Id","x-typia-required":true,"x-typia-optional":false,"type":"number"},"productName":{"description":"상품의 이름","x-typia-required":true,"x-typia-optional":false,"type":"string"},"productDescription":{"description":"상품의 상세설명","x-typia-required":true,"x-typia-optional":false,"type":"string"},"productPrice":{"description":"상품의 가격","x-typia-required":true,"x-typia-optional":false,"type":"number"},"discountPrice":{"description":"상품의 할인가\n\ndiscountRate가 0인경우 productPrice와 동일한 가격","x-typia-required":true,"x-typia-optional":false,"type":"number"},"discountRate":{"description":"상품의 할인율","x-typia-required":true,"x-typia-optional":false,"type":"number"},"categoryId":{"description":"상품의 categoryId","x-typia-required":true,"x-typia-optional":false,"type":"number"},"categoryName":{"description":"상품의 category 이름","x-typia-required":true,"x-typia-optional":false,"type":"string"},"incenseName":{"description":"상품의 인센스 종류\n\n세트상품이나 홀더등 인세스제품이 아닌경우 null","x-typia-required":false,"x-typia-optional":false,"type":"string"},"productDetailImage":{"description":"상품의 상세정보에 들어가는 이미지","x-typia-required":true,"x-typia-optional":false,"type":"string","nullable":true},"productImages":{"description":"상품의 대표이미지 및 호버이미지","x-typia-required":true,"x-typia-optional":false,"type":"array","items":{"description":"상품의 대표이미지 및 호버이미지","x-typia-required":true,"x-typia-optional":false,"type":"string"}}},"nullable":false,"required":["productId","productName","productDescription","productPrice","discountPrice","discountRate","categoryId","categoryName","productDetailImage","productImages"],"description":"get /products의 response 데이터 타입","x-typia-jsDocTags":[]},"Response_lt_Product_gt_":{"type":"object","properties":{"code":{"description":"statusCode\n","x-typia-required":true,"x-typia-optional":false,"type":"number"},"message":{"description":"성공 또는 오류 메시지.","x-typia-required":true,"x-typia-optional":false,"type":"string"},"response":{"$ref":"#/components/schemas/Product"}},"nullable":false,"required":["code","message","response"],"description":"응답 데이터, 사실상 본문.","x-typia-jsDocTags":[]},"Product":{"type":"object","properties":{"productId":{"description":"상품의Id","x-typia-required":true,"x-typia-optional":false,"type":"number"},"productName":{"description":"상품의 이름","x-typia-required":true,"x-typia-optional":false,"type":"string"},"productPrice":{"description":"상품의 가격","x-typia-required":true,"x-typia-optional":false,"type":"number"},"productDescription":{"description":"상품의 상세설명","x-typia-required":true,"x-typia-optional":false,"type":"string"},"productStock":{"description":"상품의 재고수량","x-typia-required":true,"x-typia-optional":false,"type":"number"},"productDetailImage":{"description":"상품의 상세정보에 들어가는 이미지","x-typia-required":true,"x-typia-optional":false,"type":"string","nullable":true},"productImages":{"description":"상품의 대표이미지 및 호버이미지","x-typia-required":true,"x-typia-optional":false,"type":"array","items":{"description":"상품의 대표이미지 및 호버이미지","x-typia-required":true,"x-typia-optional":false,"type":"string"}},"discountRate":{"description":"상품의 할인율","x-typia-required":true,"x-typia-optional":false,"type":"number"},"discountedPrice":{"description":"상품의 할인가\n\ndiscountRate가 0인경우 productPrice와 동일한 가격","x-typia-required":true,"x-typia-optional":false,"type":"number"}},"nullable":false,"required":["productId","productName","productPrice","productDescription","productStock","productDetailImage","productImages","discountRate","discountedPrice"],"description":"get /products/:id의 response 데이터 타입","x-typia-jsDocTags":[]},"CreateUserReqDto":{"type":"object","properties":{"account":{"description":"유저의 계정\n영문 및 숫자 4~12글자이여합니다\n\n@pattern ^[a-z0-9]{4,12}$","x-typia-metaTags":[{"kind":"pattern","value":"^[a-z0-9]{4,12}$"}],"x-typia-jsDocTags":[{"name":"pattern","text":[{"text":"^[a-z0-9]{4,12}$","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","pattern":"^[a-z0-9]{4,12}$"},"password":{"description":"유저의 비밀번호\n영문,숫자 및 특수문자가 포함되어야하며 8~16글자여야합니다.\n@type string\n@pattern ^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$\n@minLength 1\n@maxLength 200","x-typia-metaTags":[{"kind":"pattern","value":"^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$"},{"kind":"minLength","value":1},{"kind":"maxLength","value":200}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"string","kind":"text"}]},{"name":"pattern","text":[{"text":"^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$","kind":"text"}]},{"name":"minLength","text":[{"text":"1","kind":"text"}]},{"name":"maxLength","text":[{"text":"200","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","pattern":"^(?=.*[a-zA-z])(?=.*[0-9])(?=.*[$`~!@$!%*#^?&\\\\(\\\\)\\-_=+]).{8,16}$","minLength":1,"maxLength":200},"name":{"description":"유저의 본명\n\n@type string\n@minLength 1\n@maxLength 50\n","x-typia-metaTags":[{"kind":"minLength","value":1},{"kind":"maxLength","value":50}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"string","kind":"text"}]},{"name":"minLength","text":[{"text":"1","kind":"text"}]},{"name":"maxLength","text":[{"text":"50","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","minLength":1,"maxLength":50},"phoneNumber":{"description":"유저의 휴대폰번호 01012345678\n\n@type string\n@pattern ^010\\d{8}$\n@minLength 1\n@maxLength 30","x-typia-metaTags":[{"kind":"pattern","value":"^010\\d{8}$"},{"kind":"minLength","value":1},{"kind":"maxLength","value":30}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"string","kind":"text"}]},{"name":"pattern","text":[{"text":"^010\\d{8}$","kind":"text"}]},{"name":"minLength","text":[{"text":"1","kind":"text"}]},{"name":"maxLength","text":[{"text":"30","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","pattern":"^010\\d{8}$","minLength":1,"maxLength":30},"birthday":{"description":"유저의 생년월일\n\n@type string\n@pattern ^(19|20)\\d\\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])$\n@minLength 1\n@maxLength 30","x-typia-metaTags":[{"kind":"pattern","value":"^(19|20)\\d\\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])$"},{"kind":"minLength","value":1},{"kind":"maxLength","value":30}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"string","kind":"text"}]},{"name":"pattern","text":[{"text":"^(19|20)\\d\\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])$","kind":"text"}]},{"name":"minLength","text":[{"text":"1","kind":"text"}]},{"name":"maxLength","text":[{"text":"30","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","pattern":"^(19|20)\\d\\d[- /.](0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])$","minLength":1,"maxLength":30},"gender":{"description":"유저의 성별\n\n@type string\n@minLength 1\n@maxLength 10","x-typia-metaTags":[{"kind":"minLength","value":1},{"kind":"maxLength","value":10}],"x-typia-jsDocTags":[{"name":"type","text":[{"text":"string","kind":"text"}]},{"name":"minLength","text":[{"text":"1","kind":"text"}]},{"name":"maxLength","text":[{"text":"10","kind":"text"}]}],"x-typia-required":true,"x-typia-optional":false,"type":"string","minLength":1,"maxLength":10}},"nullable":false,"required":["account","password","name","phoneNumber","birthday","gender"],"x-typia-jsDocTags":[]}}}}