mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
fix API
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
a40f863fda
commit
5607828db9
4 changed files with 12 additions and 12 deletions
4
dist/openapi-3.0.yaml
vendored
4
dist/openapi-3.0.yaml
vendored
|
|
@ -40,12 +40,12 @@ paths:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
|
$ref: ./paths/usertweets.yaml#/paths/~1HuTx74BxAnezK1gWvYY7zg~1UserTweets
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
|
$ref: ./paths/follow.yaml#/paths/~1IWP6Zt14sARO29lJT35bBw~1Following
|
||||||
/JpFFCTBPxYVlDqMUr9twzQ/Followers:
|
|
||||||
$ref: ./paths/follow.yaml#/paths/~1JpFFCTBPxYVlDqMUr9twzQ~1Followers
|
|
||||||
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
/RIWc55YCNyUJ-U3HHGYkdg/UserTweetsAndReplies:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
|
$ref: ./paths/usertweets.yaml#/paths/~1RIWc55YCNyUJ-U3HHGYkdg~1UserTweetsAndReplies
|
||||||
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
/YqiE3JL1KNgf9nSljYdxaA/UserMedia:
|
||||||
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
|
$ref: ./paths/usertweets.yaml#/paths/~1YqiE3JL1KNgf9nSljYdxaA~1UserMedia
|
||||||
|
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
|
$ref: ./paths/follow.yaml#/paths/~1djdTXDIk2qhd4OStqlUFeQ~1Followers
|
||||||
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
/sLVLhk0bGj3MVFEKTdax1w/UserByScreenName:
|
||||||
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
|
$ref: ./paths/user.yaml#/paths/~1sLVLhk0bGj3MVFEKTdax1w~1UserByScreenName
|
||||||
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
/tmd4ifV8RHltzn8ymGg1aw/Bookmarks:
|
||||||
|
|
|
||||||
14
dist/paths/follow.yaml
vendored
14
dist/paths/follow.yaml
vendored
|
|
@ -40,8 +40,8 @@ openapi: 3.0.3
|
||||||
paths:
|
paths:
|
||||||
/IWP6Zt14sARO29lJT35bBw/Following:
|
/IWP6Zt14sARO29lJT35bBw/Following:
|
||||||
get:
|
get:
|
||||||
description: get user list of followers
|
description: get user list of following
|
||||||
operationId: getFollowers
|
operationId: getFollowing
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -152,10 +152,10 @@ paths:
|
||||||
type: integer
|
type: integer
|
||||||
tags:
|
tags:
|
||||||
- UserList
|
- UserList
|
||||||
/JpFFCTBPxYVlDqMUr9twzQ/Followers:
|
/djdTXDIk2qhd4OStqlUFeQ/Followers:
|
||||||
get:
|
get:
|
||||||
description: get user list of following
|
description: get user list of followers
|
||||||
operationId: getFollowing
|
operationId: Followers
|
||||||
parameters:
|
parameters:
|
||||||
- in: query
|
- in: query
|
||||||
name: variables
|
name: variables
|
||||||
|
|
@ -184,8 +184,8 @@ paths:
|
||||||
name: queryId
|
name: queryId
|
||||||
required: true
|
required: true
|
||||||
schema:
|
schema:
|
||||||
default: JpFFCTBPxYVlDqMUr9twzQ
|
default: djdTXDIk2qhd4OStqlUFeQ
|
||||||
example: JpFFCTBPxYVlDqMUr9twzQ
|
example: djdTXDIk2qhd4OStqlUFeQ
|
||||||
type: string
|
type: string
|
||||||
- in: header
|
- in: header
|
||||||
name: authorization
|
name: authorization
|
||||||
|
|
|
||||||
|
|
@ -303,7 +303,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"Followers": {
|
"Followers": {
|
||||||
"Query": "JpFFCTBPxYVlDqMUr9twzQ",
|
"Query": "djdTXDIk2qhd4OStqlUFeQ",
|
||||||
"Variables": {
|
"Variables": {
|
||||||
"userId": "44196397",
|
"userId": "44196397",
|
||||||
"count": 20,
|
"count": 20,
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ paths:
|
||||||
/{{FollowingQuery}}/Following:
|
/{{FollowingQuery}}/Following:
|
||||||
get:
|
get:
|
||||||
operationId: getFollowing
|
operationId: getFollowing
|
||||||
description: get user list of followers
|
description: get user list of following
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
|
@ -21,7 +21,7 @@ paths:
|
||||||
/{{FollowersQuery}}/Followers:
|
/{{FollowersQuery}}/Followers:
|
||||||
get:
|
get:
|
||||||
operationId: Followers
|
operationId: Followers
|
||||||
description: get user list of following
|
description: get user list of followers
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
description: Successful operation
|
description: Successful operation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue