mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
add promotedMetadata
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
598730326d
commit
54f46acec4
2 changed files with 4 additions and 4 deletions
4
dist/schemas/content.yaml
vendored
4
dist/schemas/content.yaml
vendored
|
|
@ -144,6 +144,8 @@ components:
|
|||
itemType:
|
||||
$ref: '#/components/schemas/ContentItemType'
|
||||
type: string
|
||||
promotedMetadata:
|
||||
type: object
|
||||
tweetDisplayType:
|
||||
type: string
|
||||
tweet_results:
|
||||
|
|
@ -164,8 +166,6 @@ components:
|
|||
type: string
|
||||
userDisplayType:
|
||||
type: string
|
||||
user_results:
|
||||
$ref: ./user.yaml#/components/schemas/UserResults
|
||||
required:
|
||||
- __typename
|
||||
- itemType
|
||||
|
|
|
|||
|
|
@ -147,6 +147,8 @@ components:
|
|||
$ref: "#/components/schemas/ItemResult"
|
||||
SocialContext:
|
||||
$ref: "#/components/schemas/SocialContext"
|
||||
promotedMetadata:
|
||||
type: object # todo
|
||||
|
||||
TimelineUser:
|
||||
required:
|
||||
|
|
@ -165,8 +167,6 @@ components:
|
|||
$ref: "#/components/schemas/SocialContext"
|
||||
userDisplayType:
|
||||
type: string # enum
|
||||
user_results:
|
||||
$ref: "./user.yaml#/components/schemas/UserResults"
|
||||
|
||||
ItemResult:
|
||||
required:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue