Skip to content

Commit 567a86b

Browse files
authored
[create-pull-request] automated change (#147)
1 parent 8ee8d3b commit 567a86b

File tree

1 file changed

+33
-39
lines changed

1 file changed

+33
-39
lines changed

api.yaml

Lines changed: 33 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,16 +1212,6 @@ components:
12121212
properties:
12131213
avatar:
12141214
$ref: '#/components/schemas/Avatar'
1215-
bio:
1216-
type: string
1217-
blocklist:
1218-
items:
1219-
type: integer
1220-
type: array
1221-
friendIDs:
1222-
items:
1223-
type: integer
1224-
type: array
12251215
group:
12261216
type: integer
12271217
id:
@@ -1250,9 +1240,6 @@ components:
12501240
- joinedAt
12511241
- site
12521242
- location
1253-
- bio
1254-
- friendIDs
1255-
- blocklist
12561243
- permissions
12571244
title: Profile
12581245
type: object
@@ -3763,21 +3750,12 @@ paths:
37633750
type: object
37643751
responses:
37653752
'200':
3766-
description: 没有返回值
3767-
'401':
37683753
content:
37693754
application/json:
3770-
examples:
3771-
NeedLoginError:
3772-
value:
3773-
code: NEED_LOGIN
3774-
error: Unauthorized
3775-
message: you need to login before marking notifications as read
3776-
statusCode: 401
37773755
schema:
3778-
$ref: '#/components/schemas/ErrorResponse'
3779-
description: 未登录
3780-
description: 未登录
3756+
properties: {}
3757+
type: object
3758+
description: Default Response
37813759
'500':
37823760
content:
37833761
application/json:
@@ -4709,6 +4687,36 @@ paths:
47094687
summary: 获取当前用户的关注者列表
47104688
tags:
47114689
- relationship
4690+
/p1/friendlist:
4691+
get:
4692+
operationId: getFriendlist
4693+
responses:
4694+
'200':
4695+
content:
4696+
application/json:
4697+
schema:
4698+
properties:
4699+
friendlist:
4700+
items:
4701+
type: integer
4702+
type: array
4703+
required:
4704+
- friendlist
4705+
type: object
4706+
description: Default Response
4707+
'500':
4708+
content:
4709+
application/json:
4710+
schema:
4711+
$ref: '#/components/schemas/ErrorResponse'
4712+
description: 意料之外的服务器错误
4713+
description: 意料之外的服务器错误
4714+
security:
4715+
- CookiesSession: []
4716+
HTTPBearer: []
4717+
summary: 获取当前用户的好友 ID 列表
4718+
tags:
4719+
- relationship
47124720
/p1/friends:
47134721
get:
47144722
operationId: getMyFriends
@@ -5711,20 +5719,6 @@ paths:
57115719
- total
57125720
type: object
57135721
description: Default Response
5714-
'401':
5715-
content:
5716-
application/json:
5717-
examples:
5718-
NeedLoginError:
5719-
value:
5720-
code: NEED_LOGIN
5721-
error: Unauthorized
5722-
message: you need to login before getting notifications
5723-
statusCode: 401
5724-
schema:
5725-
$ref: '#/components/schemas/ErrorResponse'
5726-
description: 未登录
5727-
description: 未登录
57285722
'500':
57295723
content:
57305724
application/json:

0 commit comments

Comments
 (0)