1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00

update schema

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-02-11 20:36:47 +09:00
parent a82844dfa5
commit 755990f3d0
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
5 changed files with 113 additions and 4 deletions

View file

@ -77,6 +77,8 @@ components:
metadata:
type: object
additionalProperties: true # todo
feedbackInfo:
$ref: "#/components/schemas/FeedbackInfo"
TimelineTimelineCursor:
required:
@ -131,6 +133,15 @@ components:
itemContent:
$ref: "#/components/schemas/ItemContentUnion"
FeedbackInfo:
required:
- "feedbackType"
properties:
feedbackKeys:
type: array
items:
type: string
# ================= ContentItem =================
ItemContentUnion:
@ -218,7 +229,7 @@ components:
properties:
contextType:
type: string # enum
enum: ["Follow"]
enum: ["Follow", "Pin"]
text:
type: string
type: