1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 23:50:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-31 18:16:41 +09:00
parent 853709bb44
commit 31d7235baf
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
16 changed files with 156 additions and 52 deletions

View file

@ -183,7 +183,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FollowResponse'
oneOf:
- $ref: '#/components/schemas/FollowResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -376,7 +378,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FollowResponse'
oneOf:
- $ref: '#/components/schemas/FollowResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -550,7 +554,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FollowResponse'
oneOf:
- $ref: '#/components/schemas/FollowResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:

View file

@ -90,7 +90,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/OtherResponse'
oneOf:
- $ref: '#/components/schemas/OtherResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
tags:
- other

View file

@ -177,7 +177,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateRetweetResponse'
oneOf:
- $ref: '#/components/schemas/CreateRetweetResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -369,7 +371,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateTweetResponse'
oneOf:
- $ref: '#/components/schemas/CreateTweetResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -439,7 +443,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteRetweetResponse'
oneOf:
- $ref: '#/components/schemas/DeleteRetweetResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -509,7 +515,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/DeleteTweetResponse'
oneOf:
- $ref: '#/components/schemas/DeleteTweetResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -579,7 +587,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/FavoriteTweetResponseData'
oneOf:
- $ref: '#/components/schemas/FavoriteTweetResponseData'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -649,7 +659,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UnfavoriteTweetResponseData'
oneOf:
- $ref: '#/components/schemas/UnfavoriteTweetResponseData'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:

View file

@ -103,7 +103,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ProfileResponse'
oneOf:
- $ref: '#/components/schemas/ProfileResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:

View file

@ -221,7 +221,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TimelineResponse'
oneOf:
- $ref: '#/components/schemas/TimelineResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -405,7 +407,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TimelineResponse'
oneOf:
- $ref: '#/components/schemas/TimelineResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -574,7 +578,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/ListLatestTweetsTimelineResponse'
oneOf:
- $ref: '#/components/schemas/ListLatestTweetsTimelineResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -772,7 +778,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/SearchTimelineResponse'
oneOf:
- $ref: '#/components/schemas/SearchTimelineResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:

View file

@ -191,7 +191,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TweetFavoritersResponse'
oneOf:
- $ref: '#/components/schemas/TweetFavoritersResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -370,7 +372,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TweetRetweetersResponse'
oneOf:
- $ref: '#/components/schemas/TweetRetweetersResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -569,7 +573,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/TweetDetailResponse'
oneOf:
- $ref: '#/components/schemas/TweetDetailResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:

View file

@ -111,7 +111,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserResponse'
oneOf:
- $ref: '#/components/schemas/UserResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -210,7 +212,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserResponse'
oneOf:
- $ref: '#/components/schemas/UserResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -301,7 +305,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UsersResponse'
oneOf:
- $ref: '#/components/schemas/UsersResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:

View file

@ -230,7 +230,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserTweetsResponse'
oneOf:
- $ref: '#/components/schemas/UserTweetsResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -433,7 +435,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserHighlightsTweetsResponse'
oneOf:
- $ref: '#/components/schemas/UserHighlightsTweetsResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -627,7 +631,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserTweetsResponse'
oneOf:
- $ref: '#/components/schemas/UserTweetsResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -816,7 +822,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserTweetsResponse'
oneOf:
- $ref: '#/components/schemas/UserTweetsResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash:
@ -1005,7 +1013,9 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/UserTweetsResponse'
oneOf:
- $ref: '#/components/schemas/UserTweetsResponse'
- $ref: ./../schemas/error.yaml#/components/schemas/Errors
description: Successful operation
headers:
x-connection-hash: