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:
parent
a82844dfa5
commit
755990f3d0
5 changed files with 113 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue