1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-02-14 11:12:27 +09:00
parent c48a188669
commit 1393042faf
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
2 changed files with 20 additions and 18 deletions

View file

@ -19,10 +19,10 @@ components:
AdditionalMediaInfoCallToActions:
properties:
visit_site:
$ref: '#/components/schemas/AdditionalMediaInfoCallToActionsVisitSite'
required:
- visit_site
AdditionalMediaInfoCallToActionsVisitSite:
$ref: '#/components/schemas/AdditionalMediaInfoCallToActionsUrl'
watch_now:
$ref: '#/components/schemas/AdditionalMediaInfoCallToActionsUrl'
AdditionalMediaInfoCallToActionsUrl:
properties:
url:
format: uri
@ -55,9 +55,12 @@ components:
- ref
BirdwatchEntityRef:
properties:
text:
type: string
type:
enum:
- TimelineUrl
- TimelineRichTextHashtag
type: string
url:
format: uri
@ -68,8 +71,6 @@ components:
type: string
required:
- type
- url
- urlType
BirdwatchPivot:
properties:
callToAction:
@ -286,7 +287,6 @@ components:
- description
- question
- search_tags
- primary_community_topic
- actions
- admin_results
- creator_results
@ -1208,8 +1208,6 @@ components:
properties:
result:
$ref: '#/components/schemas/TweetUnion'
required:
- result
QuotedStatusPermalink:
properties:
display:
@ -1347,6 +1345,7 @@ components:
enum:
- DeepLink
- UrtEndpoint
- ExternalUrl
type: string
urtEndpointOptions:
$ref: '#/components/schemas/UrtEndpointOptions'
@ -1523,6 +1522,7 @@ components:
- Location
- Sparkle
- Conversation
- List
type: string
landingUrl:
$ref: '#/components/schemas/SocialContextLandingUrl'
@ -2162,6 +2162,7 @@ components:
- community_tweet_non_member_public_community
- non_compliant
- dynamic_product_ad
- stale_tweet
type: string
place:
additionalProperties: true

View file

@ -19,10 +19,10 @@ components:
AdditionalMediaInfoCallToActions:
properties:
visit_site:
$ref: '#/components/schemas/AdditionalMediaInfoCallToActionsVisitSite'
required:
- visit_site
AdditionalMediaInfoCallToActionsVisitSite:
$ref: '#/components/schemas/AdditionalMediaInfoCallToActionsUrl'
watch_now:
$ref: '#/components/schemas/AdditionalMediaInfoCallToActionsUrl'
AdditionalMediaInfoCallToActionsUrl:
properties:
url:
format: uri
@ -55,9 +55,12 @@ components:
- ref
BirdwatchEntityRef:
properties:
text:
type: string
type:
enum:
- TimelineUrl
- TimelineRichTextHashtag
type: string
url:
format: uri
@ -68,8 +71,6 @@ components:
type: string
required:
- type
- url
- urlType
BirdwatchPivot:
properties:
callToAction:
@ -286,7 +287,6 @@ components:
- description
- question
- search_tags
- primary_community_topic
- actions
- admin_results
- creator_results
@ -1208,8 +1208,6 @@ components:
properties:
result:
$ref: '#/components/schemas/TweetUnion'
required:
- result
QuotedStatusPermalink:
properties:
display:
@ -1347,6 +1345,7 @@ components:
enum:
- DeepLink
- UrtEndpoint
- ExternalUrl
type: string
urtEndpointOptions:
$ref: '#/components/schemas/UrtEndpointOptions'
@ -1523,6 +1522,7 @@ components:
- Location
- Sparkle
- Conversation
- List
type: string
landingUrl:
$ref: '#/components/schemas/SocialContextLandingUrl'
@ -2162,6 +2162,7 @@ components:
- community_tweet_non_member_public_community
- non_compliant
- dynamic_product_ad
- stale_tweet
type: string
place:
additionalProperties: true