@@ -22,36 +22,36 @@ interface CommunityDetail extends CommunityListItem {
2222 isComment : boolean // ๋๊ธ ํ์ฉ ์ฌ๋ถ
2323}
2424
25- /*
25+ /**
2626path: '/v1/community'
2727GET: ์ปค๋ฎค๋ํฐ ๊ธ ์ ์ฒด ์กฐํ
2828*/
2929export type GetCommunityListResponse = CommunityListItem [ ]
30- /*
30+ /**
3131POST: ์ปค๋ฎค๋ํฐ ๊ธ ๋ฑ๋ก
3232*/
33- export interface CommunityCreateRequest extends CommunityBase {
33+ export interface CreateCommunityRequest extends CommunityBase {
3434 isComment ?: boolean // ๋๊ธ ํ์ฉ ์ฌ๋ถ
3535}
36- export interface CommunityCreateResponse extends CommunityBase , TimeStamps {
36+ export interface CreateCommunityResponse extends CommunityBase , TimeStamps {
3737 id : Id // ์์ฑ๋ ์ปค๋ฎค๋ํฐ ๊ธ ID
3838 member : Id // ์์ฑ์ Id
3939 isComment : boolean // ๋๊ธ ํ์ฉ ์ฌ๋ถ
4040}
4141
42- /*
42+ /**
4343path: '/v1/community/{id}'
4444GET: ์ปค๋ฎค๋ํฐ ๊ธ ์์ธ ์กฐํ
4545*/
4646export type GetCommunityDetailResponse = CommunityDetail
4747
48- /*
48+ /**
4949PATCH: ์ปค๋ฎค๋ํฐ ๊ธ ์์
5050*/
51- export type CommunityUpdateRequest = CommunityBase
52- export type CommunityUpdateResponse = CommunityCreateResponse
51+ export type UpdateCommunityRequest = CommunityBase
52+ export type UpdateCommunityResponse = CreateCommunityResponse
5353
54- /*
54+ /**
5555DELETE: ์ปค๋ฎค๋ํฐ ๊ธ ์ญ์
5656๋ฐํ ๊ฐ: ๊ธฐ๋ณธ ApiResponse ๊ตฌ์กฐ ์ฌ์ฉ
5757{
@@ -61,7 +61,7 @@ DELETE: ์ปค๋ฎค๋ํฐ ๊ธ ์ญ์
6161}
6262*/
6363
64- /*
64+ /**
6565path: '/v1/community/top5'
6666GET: ์ข์์ ์์ผ๋ก ์ธ๊ธฐ ์ปค๋ฎค๋ํฐ Top 5 ์ ์ ์กฐํ
6767*/
0 commit comments