1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-03-09 18:30:08 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2025-05-02 01:57:51 +09:00
parent de523dc052
commit c7d323f781
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
12 changed files with 678 additions and 1112 deletions

View file

@ -97,9 +97,19 @@ components:
- "result"
properties:
result:
$ref: "#/components/schemas/UserTweetsResult"
$ref: "#/components/schemas/UserTweetsResultV1"
UserTweetsResult:
UserTweetsResultV1:
required:
- "__typename"
- "timeline"
properties:
__typename:
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
timeline:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineResult"
UserTweetsResultV2:
required:
- "__typename"
- "timeline_v2"
@ -107,7 +117,7 @@ components:
__typename:
$ref: "./../schemas/typename.yaml#/components/schemas/TypeName" # User
timeline_v2:
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineV2"
$ref: "./../schemas/timeline.yaml#/components/schemas/TimelineResult"
UserHighlightsTweetsResponse:
required: