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:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
type: string
|
type: string
|
||||||
|
promotedMetadata:
|
||||||
|
type: object
|
||||||
tweetDisplayType:
|
tweetDisplayType:
|
||||||
type: string
|
type: string
|
||||||
tweet_results:
|
tweet_results:
|
||||||
|
|
@ -164,8 +166,6 @@ components:
|
||||||
type: string
|
type: string
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
type: string
|
type: string
|
||||||
user_results:
|
|
||||||
$ref: ./user.yaml#/components/schemas/UserResults
|
|
||||||
required:
|
required:
|
||||||
- __typename
|
- __typename
|
||||||
- itemType
|
- itemType
|
||||||
|
|
|
||||||
|
|
@ -147,6 +147,8 @@ components:
|
||||||
$ref: "#/components/schemas/ItemResult"
|
$ref: "#/components/schemas/ItemResult"
|
||||||
SocialContext:
|
SocialContext:
|
||||||
$ref: "#/components/schemas/SocialContext"
|
$ref: "#/components/schemas/SocialContext"
|
||||||
|
promotedMetadata:
|
||||||
|
type: object # todo
|
||||||
|
|
||||||
TimelineUser:
|
TimelineUser:
|
||||||
required:
|
required:
|
||||||
|
|
@ -165,8 +167,6 @@ components:
|
||||||
$ref: "#/components/schemas/SocialContext"
|
$ref: "#/components/schemas/SocialContext"
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
type: string # enum
|
type: string # enum
|
||||||
user_results:
|
|
||||||
$ref: "./user.yaml#/components/schemas/UserResults"
|
|
||||||
|
|
||||||
ItemResult:
|
ItemResult:
|
||||||
required:
|
required:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue