Skip to content

Commit

Permalink
refactor(#144): modify swagger response data
Browse files Browse the repository at this point in the history
  • Loading branch information
hobiJeong committed Nov 22, 2023
1 parent 23e346f commit def16ed
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions src/users/swagger-decorators/get-my-info-decorator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ export function ApiGetMyInfo() {
content: {
JSON: {
example: {
userId: 62,
name: '박준혁',
email: 'pjh_2004@naver.com',
userId: 1,
name: '홍길동',
email: 'abcd@naver.com',
gender: 'M',
admin: false,
provider: 'kakao',
userImage:
'http://k.kakaocdn.net/dn/bgfjbT/btrNZpdv3sK/AMb1oWdaF6WxMEXkuKRkR0/img_640x640.jpg',
userImage: 'http://img.jpg',
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,13 @@ export function ApiGetMyInfoWithOwner() {
content: {
JSON: {
example: {
userId: 62,
name: '박준혁',
email: 'pjh_2004@naver.com',
userId: 1,
name: '홍길동',
email: 'abcd@naver.com',
gender: 'M',
admin: false,
provider: 'kakao',
userImage:
'http://k.kakaocdn.net/dn/bgfjbT/btrNZpdv3sK/AMb1oWdaF6WxMEXkuKRkR0/img_640x640.jpg',
userImage: 'http://img.jpg',
owner: false,
},
},
Expand Down

0 comments on commit def16ed

Please sign in to comment.