implement route /articles/{article}/follows
create repository for find_follow
This commit is contained in:
1 parent
3a08052728
commit
967b370a41
4 files changed
+38
-5
No files matched your search
@@ -533,6 +533,22 @@ paths:
|
||||
/articles/{article}/follows:
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/article'
|
||||
get:
|
||||
security:
|
||||
- JWTAuth: []
|
||||
summary: Return Follow or nothing if you not follow
|
||||
tags:
|
||||
- follow
|
||||
- article
|
||||
responses:
|
||||
200:
|
||||
description: Return your follow
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/FollowResponse'
|
||||
404:
|
||||
description: You not follow this article
|
||||
post:
|
||||
security:
|
||||
- JWTAuth: []
|
||||
|
||||
Reference in new issue
Block a user