mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 07:30:37 +01:00
fix model
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
d9082fbeea
commit
0d0f563c0d
2 changed files with 50 additions and 4 deletions
|
|
@ -33,6 +33,8 @@ components:
|
|||
additionalProperties: true # todo
|
||||
tweetInterstitial:
|
||||
$ref: "#/components/schemas/TweetInterstitial"
|
||||
mediaVisibilityResults:
|
||||
$ref: "#/components/schemas/MediaVisibilityResults"
|
||||
|
||||
TweetInterstitial:
|
||||
required:
|
||||
|
|
@ -95,6 +97,26 @@ components:
|
|||
type: string
|
||||
enum: [ExternalUrl]
|
||||
|
||||
MediaVisibilityResults:
|
||||
required:
|
||||
- "blurred_image_interstitial"
|
||||
properties:
|
||||
blurred_image_interstitial:
|
||||
$ref: "#/components/schemas/MediaVisibilityResultsBlurredImageInterstitial"
|
||||
|
||||
MediaVisibilityResultsBlurredImageInterstitial:
|
||||
required:
|
||||
- "opacity"
|
||||
- "text"
|
||||
- "title"
|
||||
properties:
|
||||
opacity:
|
||||
type: number
|
||||
text:
|
||||
$ref: "#/components/schemas/TweetInterstitialText"
|
||||
title:
|
||||
$ref: "#/components/schemas/TweetInterstitialText"
|
||||
|
||||
TweetInterstitialRevealText:
|
||||
required:
|
||||
- "rtl"
|
||||
|
|
@ -999,7 +1021,6 @@ components:
|
|||
- "original_info"
|
||||
- "media_key"
|
||||
- "ext_media_availability"
|
||||
- "media_results"
|
||||
properties:
|
||||
display_url:
|
||||
type: string
|
||||
|
|
@ -1098,7 +1119,6 @@ components:
|
|||
# - "features"
|
||||
- "sizes"
|
||||
- "original_info"
|
||||
- "media_results"
|
||||
properties:
|
||||
display_url:
|
||||
type: string
|
||||
|
|
@ -1345,7 +1365,6 @@ components:
|
|||
- "preview_text"
|
||||
- "cover_media"
|
||||
- "metadata"
|
||||
- "lifecycle_state"
|
||||
properties:
|
||||
rest_id:
|
||||
type: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue