mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
44772ab7b5
commit
8485d1faa6
2 changed files with 126 additions and 36 deletions
81
dist/compatible/openapi-3.0.yaml
vendored
81
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -1320,22 +1320,6 @@ components:
|
||||||
- userFeatures
|
- userFeatures
|
||||||
- isSuperFollowSubscriber
|
- isSuperFollowSubscriber
|
||||||
type: object
|
type: object
|
||||||
SocialContext:
|
|
||||||
properties:
|
|
||||||
contextType:
|
|
||||||
enum:
|
|
||||||
- Follow
|
|
||||||
- Pin
|
|
||||||
type: string
|
|
||||||
landingUrl:
|
|
||||||
$ref: '#/components/schemas/SocialContextLandingUrl'
|
|
||||||
text:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
enum:
|
|
||||||
- TimelineGeneralContext
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
SocialContextLandingUrl:
|
SocialContextLandingUrl:
|
||||||
properties:
|
properties:
|
||||||
url:
|
url:
|
||||||
|
|
@ -1349,6 +1333,20 @@ components:
|
||||||
urtEndpointOptions:
|
urtEndpointOptions:
|
||||||
$ref: '#/components/schemas/UrtEndpointOptions'
|
$ref: '#/components/schemas/UrtEndpointOptions'
|
||||||
type: object
|
type: object
|
||||||
|
SocialContextUnion:
|
||||||
|
discriminator:
|
||||||
|
mapping":
|
||||||
|
TimelineGeneralContext: '#/components/schemas/TimelineGeneralContext'
|
||||||
|
TimelineTopicContext: '#/components/schemas/TimelineTopicContext'
|
||||||
|
propertyName: type
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/TimelineGeneralContext'
|
||||||
|
- $ref: '#/components/schemas/TimelineTopicContext'
|
||||||
|
SocialContextUnionType:
|
||||||
|
enum:
|
||||||
|
- TimelineGeneralContext
|
||||||
|
- TimelineTopicContext
|
||||||
|
type: string
|
||||||
SuperFollowsReplyUserResult:
|
SuperFollowsReplyUserResult:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -1497,6 +1495,23 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
|
TimelineGeneralContext:
|
||||||
|
properties:
|
||||||
|
contextType:
|
||||||
|
enum:
|
||||||
|
- Follow
|
||||||
|
- Pin
|
||||||
|
- Like
|
||||||
|
- Location
|
||||||
|
- Sparkle
|
||||||
|
type: string
|
||||||
|
landingUrl:
|
||||||
|
$ref: '#/components/schemas/SocialContextLandingUrl'
|
||||||
|
text:
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
$ref: '#/components/schemas/SocialContextUnionType'
|
||||||
|
type: object
|
||||||
TimelineHalfCover:
|
TimelineHalfCover:
|
||||||
properties:
|
properties:
|
||||||
dismissible:
|
dismissible:
|
||||||
|
|
@ -1704,6 +1719,17 @@ components:
|
||||||
- entryType
|
- entryType
|
||||||
- displayType
|
- displayType
|
||||||
- clientEventInfo
|
- clientEventInfo
|
||||||
|
TimelineTopicContext:
|
||||||
|
properties:
|
||||||
|
functionalityType:
|
||||||
|
enum:
|
||||||
|
- Basic
|
||||||
|
type: string
|
||||||
|
topic:
|
||||||
|
$ref: '#/components/schemas/TopicContext'
|
||||||
|
type:
|
||||||
|
$ref: '#/components/schemas/SocialContextUnionType'
|
||||||
|
type: object
|
||||||
TimelineTweet:
|
TimelineTweet:
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
|
|
@ -1716,7 +1742,7 @@ components:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
socialContext:
|
socialContext:
|
||||||
$ref: '#/components/schemas/SocialContext'
|
$ref: '#/components/schemas/SocialContextUnion'
|
||||||
tweetDisplayType:
|
tweetDisplayType:
|
||||||
type: string
|
type: string
|
||||||
tweet_results:
|
tweet_results:
|
||||||
|
|
@ -1733,7 +1759,7 @@ components:
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
socialContext:
|
socialContext:
|
||||||
$ref: '#/components/schemas/SocialContext'
|
$ref: '#/components/schemas/SocialContextUnion'
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
enum:
|
enum:
|
||||||
- User
|
- User
|
||||||
|
|
@ -1753,6 +1779,24 @@ components:
|
||||||
$ref: '#/components/schemas/Timeline'
|
$ref: '#/components/schemas/Timeline'
|
||||||
required:
|
required:
|
||||||
- timeline
|
- timeline
|
||||||
|
TopicContext:
|
||||||
|
properties:
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
following:
|
||||||
|
type: boolean
|
||||||
|
icon_url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
not_interested:
|
||||||
|
type: boolean
|
||||||
|
topic_id:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
Tracing:
|
Tracing:
|
||||||
properties:
|
properties:
|
||||||
trace_id:
|
trace_id:
|
||||||
|
|
@ -2374,6 +2418,7 @@ components:
|
||||||
enum:
|
enum:
|
||||||
- Circle
|
- Circle
|
||||||
- Square
|
- Square
|
||||||
|
- Hexagon
|
||||||
type: string
|
type: string
|
||||||
rest_id:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
|
|
|
||||||
81
dist/docs/openapi-3.0.yaml
vendored
81
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -1320,22 +1320,6 @@ components:
|
||||||
- userFeatures
|
- userFeatures
|
||||||
- isSuperFollowSubscriber
|
- isSuperFollowSubscriber
|
||||||
type: object
|
type: object
|
||||||
SocialContext:
|
|
||||||
properties:
|
|
||||||
contextType:
|
|
||||||
enum:
|
|
||||||
- Follow
|
|
||||||
- Pin
|
|
||||||
type: string
|
|
||||||
landingUrl:
|
|
||||||
$ref: '#/components/schemas/SocialContextLandingUrl'
|
|
||||||
text:
|
|
||||||
type: string
|
|
||||||
type:
|
|
||||||
enum:
|
|
||||||
- TimelineGeneralContext
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
SocialContextLandingUrl:
|
SocialContextLandingUrl:
|
||||||
properties:
|
properties:
|
||||||
url:
|
url:
|
||||||
|
|
@ -1349,6 +1333,20 @@ components:
|
||||||
urtEndpointOptions:
|
urtEndpointOptions:
|
||||||
$ref: '#/components/schemas/UrtEndpointOptions'
|
$ref: '#/components/schemas/UrtEndpointOptions'
|
||||||
type: object
|
type: object
|
||||||
|
SocialContextUnion:
|
||||||
|
discriminator:
|
||||||
|
mapping":
|
||||||
|
TimelineGeneralContext: '#/components/schemas/TimelineGeneralContext'
|
||||||
|
TimelineTopicContext: '#/components/schemas/TimelineTopicContext'
|
||||||
|
propertyName: type
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/TimelineGeneralContext'
|
||||||
|
- $ref: '#/components/schemas/TimelineTopicContext'
|
||||||
|
SocialContextUnionType:
|
||||||
|
enum:
|
||||||
|
- TimelineGeneralContext
|
||||||
|
- TimelineTopicContext
|
||||||
|
type: string
|
||||||
SuperFollowsReplyUserResult:
|
SuperFollowsReplyUserResult:
|
||||||
properties:
|
properties:
|
||||||
result:
|
result:
|
||||||
|
|
@ -1497,6 +1495,23 @@ components:
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
|
TimelineGeneralContext:
|
||||||
|
properties:
|
||||||
|
contextType:
|
||||||
|
enum:
|
||||||
|
- Follow
|
||||||
|
- Pin
|
||||||
|
- Like
|
||||||
|
- Location
|
||||||
|
- Sparkle
|
||||||
|
type: string
|
||||||
|
landingUrl:
|
||||||
|
$ref: '#/components/schemas/SocialContextLandingUrl'
|
||||||
|
text:
|
||||||
|
type: string
|
||||||
|
type:
|
||||||
|
$ref: '#/components/schemas/SocialContextUnionType'
|
||||||
|
type: object
|
||||||
TimelineHalfCover:
|
TimelineHalfCover:
|
||||||
properties:
|
properties:
|
||||||
dismissible:
|
dismissible:
|
||||||
|
|
@ -1704,6 +1719,17 @@ components:
|
||||||
- entryType
|
- entryType
|
||||||
- displayType
|
- displayType
|
||||||
- clientEventInfo
|
- clientEventInfo
|
||||||
|
TimelineTopicContext:
|
||||||
|
properties:
|
||||||
|
functionalityType:
|
||||||
|
enum:
|
||||||
|
- Basic
|
||||||
|
type: string
|
||||||
|
topic:
|
||||||
|
$ref: '#/components/schemas/TopicContext'
|
||||||
|
type:
|
||||||
|
$ref: '#/components/schemas/SocialContextUnionType'
|
||||||
|
type: object
|
||||||
TimelineTweet:
|
TimelineTweet:
|
||||||
properties:
|
properties:
|
||||||
__typename:
|
__typename:
|
||||||
|
|
@ -1716,7 +1742,7 @@ components:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
socialContext:
|
socialContext:
|
||||||
$ref: '#/components/schemas/SocialContext'
|
$ref: '#/components/schemas/SocialContextUnion'
|
||||||
tweetDisplayType:
|
tweetDisplayType:
|
||||||
type: string
|
type: string
|
||||||
tweet_results:
|
tweet_results:
|
||||||
|
|
@ -1733,7 +1759,7 @@ components:
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
socialContext:
|
socialContext:
|
||||||
$ref: '#/components/schemas/SocialContext'
|
$ref: '#/components/schemas/SocialContextUnion'
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
enum:
|
enum:
|
||||||
- User
|
- User
|
||||||
|
|
@ -1753,6 +1779,24 @@ components:
|
||||||
$ref: '#/components/schemas/Timeline'
|
$ref: '#/components/schemas/Timeline'
|
||||||
required:
|
required:
|
||||||
- timeline
|
- timeline
|
||||||
|
TopicContext:
|
||||||
|
properties:
|
||||||
|
description:
|
||||||
|
type: string
|
||||||
|
following:
|
||||||
|
type: boolean
|
||||||
|
icon_url:
|
||||||
|
format: uri
|
||||||
|
type: string
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
name:
|
||||||
|
type: string
|
||||||
|
not_interested:
|
||||||
|
type: boolean
|
||||||
|
topic_id:
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
Tracing:
|
Tracing:
|
||||||
properties:
|
properties:
|
||||||
trace_id:
|
trace_id:
|
||||||
|
|
@ -2374,6 +2418,7 @@ components:
|
||||||
enum:
|
enum:
|
||||||
- Circle
|
- Circle
|
||||||
- Square
|
- Square
|
||||||
|
- Hexagon
|
||||||
type: string
|
type: string
|
||||||
rest_id:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue