File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed
Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -22,10 +22,13 @@ responses:
2222 schema :
2323 type : object
2424 required :
25- - post
25+ - post_id
26+ - favorite_count
2627 properties :
27- post :
28- $ref : " ../../components/schemas/post.yaml"
28+ post_id :
29+ type : number
30+ favorite_count :
31+ type : number
2932 403 :
3033 $ref : " ../../components/responses/accessDenied.yaml"
3134 404 :
Original file line number Diff line number Diff line change @@ -11,8 +11,20 @@ parameters:
1111 schema :
1212 type : integer
1313responses :
14- 204 :
14+ 200 :
1515 description : Success
16+ content :
17+ application/json :
18+ schema :
19+ type : object
20+ required :
21+ - post_id
22+ - favorite_count
23+ properties :
24+ post_id :
25+ type : number
26+ favorite_count :
27+ type : number
1628 403 :
1729 $ref : " ../../components/responses/accessDenied.yaml"
1830 404 :
You can’t perform that action at this time.
0 commit comments