1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-28 02:18:44 +09:00
parent 2c07cb65e7
commit 74ac250eb3
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
10 changed files with 7 additions and 46 deletions

View file

@ -98,10 +98,8 @@ components:
type: string type: string
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
itemType: itemType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
value: value:
type: string type: string
required: required:
@ -116,7 +114,6 @@ components:
type: object type: object
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
feedbackInfo: feedbackInfo:
type: object type: object
itemContent: itemContent:
@ -128,14 +125,14 @@ components:
TimelineTimelineModule: TimelineTimelineModule:
properties: properties:
__typename: __typename:
$ref: ./typename.yaml#/components/schemas/TypeName type: string
value: TimelineTimelineModule
clientEventInfo: clientEventInfo:
type: object type: object
displayType: displayType:
type: string type: string
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
footer: footer:
type: object type: object
header: header:
@ -157,7 +154,6 @@ components:
$ref: ./typename.yaml#/components/schemas/TypeName $ref: ./typename.yaml#/components/schemas/TypeName
itemType: itemType:
$ref: '#/components/schemas/ContentItemType' $ref: '#/components/schemas/ContentItemType'
type: string
promotedMetadata: promotedMetadata:
type: object type: object
tweetDisplayType: tweetDisplayType:
@ -177,7 +173,6 @@ components:
$ref: ./typename.yaml#/components/schemas/TypeName $ref: ./typename.yaml#/components/schemas/TypeName
itemType: itemType:
$ref: '#/components/schemas/ContentItemType' $ref: '#/components/schemas/ContentItemType'
type: string
userDisplayType: userDisplayType:
type: string type: string
user_results: user_results:

View file

@ -37,7 +37,6 @@ components:
type: array type: array
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- entries - entries
@ -66,7 +65,6 @@ components:
type: boolean type: boolean
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- moduleItems - moduleItems
@ -75,7 +73,6 @@ components:
properties: properties:
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
TimelinePinEntry: TimelinePinEntry:
@ -84,7 +81,6 @@ components:
$ref: '#/components/schemas/TimelineAddEntry' $ref: '#/components/schemas/TimelineAddEntry'
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- entry - entry
@ -96,7 +92,6 @@ components:
type: string type: string
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- entry_id_to_replace - entry_id_to_replace
@ -130,7 +125,6 @@ components:
type: integer type: integer
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
usersResults: usersResults:
items: items:
$ref: ./user.yaml#/components/schemas/UserResults $ref: ./user.yaml#/components/schemas/UserResults
@ -148,7 +142,6 @@ components:
type: string type: string
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- direction - direction

View file

@ -182,7 +182,6 @@ components:
- rest_id - rest_id
- core - core
- edit_control - edit_control
- edit_prespective
- is_translatable - is_translatable
- legacy - legacy
- views - views

View file

@ -14,7 +14,6 @@ components:
default: false default: false
type: boolean type: boolean
id: id:
pattern: ^[a-z\-]+[0-9]+$
type: string type: string
is_blue_verified: is_blue_verified:
default: false default: false

View file

@ -98,10 +98,8 @@ components:
type: string type: string
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
itemType: itemType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
value: value:
type: string type: string
required: required:
@ -116,7 +114,6 @@ components:
type: object type: object
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
feedbackInfo: feedbackInfo:
type: object type: object
itemContent: itemContent:
@ -128,14 +125,14 @@ components:
TimelineTimelineModule: TimelineTimelineModule:
properties: properties:
__typename: __typename:
$ref: ./typename.yaml#/components/schemas/TypeName type: string
value: TimelineTimelineModule
clientEventInfo: clientEventInfo:
type: object type: object
displayType: displayType:
type: string type: string
entryType: entryType:
$ref: '#/components/schemas/ContentEntryType' $ref: '#/components/schemas/ContentEntryType'
type: string
footer: footer:
type: object type: object
header: header:
@ -157,7 +154,6 @@ components:
$ref: ./typename.yaml#/components/schemas/TypeName $ref: ./typename.yaml#/components/schemas/TypeName
itemType: itemType:
$ref: '#/components/schemas/ContentItemType' $ref: '#/components/schemas/ContentItemType'
type: string
promotedMetadata: promotedMetadata:
type: object type: object
tweetDisplayType: tweetDisplayType:
@ -177,7 +173,6 @@ components:
$ref: ./typename.yaml#/components/schemas/TypeName $ref: ./typename.yaml#/components/schemas/TypeName
itemType: itemType:
$ref: '#/components/schemas/ContentItemType' $ref: '#/components/schemas/ContentItemType'
type: string
userDisplayType: userDisplayType:
type: string type: string
user_results: user_results:

View file

@ -37,7 +37,6 @@ components:
type: array type: array
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- entries - entries
@ -66,7 +65,6 @@ components:
type: boolean type: boolean
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- moduleItems - moduleItems
@ -75,7 +73,6 @@ components:
properties: properties:
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
TimelinePinEntry: TimelinePinEntry:
@ -84,7 +81,6 @@ components:
$ref: '#/components/schemas/TimelineAddEntry' $ref: '#/components/schemas/TimelineAddEntry'
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- entry - entry
@ -96,7 +92,6 @@ components:
type: string type: string
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- entry_id_to_replace - entry_id_to_replace
@ -130,7 +125,6 @@ components:
type: integer type: integer
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
usersResults: usersResults:
items: items:
$ref: ./user.yaml#/components/schemas/UserResults $ref: ./user.yaml#/components/schemas/UserResults
@ -148,7 +142,6 @@ components:
type: string type: string
type: type:
$ref: '#/components/schemas/InstructionType' $ref: '#/components/schemas/InstructionType'
type: string
required: required:
- type - type
- direction - direction

View file

@ -182,7 +182,6 @@ components:
- rest_id - rest_id
- core - core
- edit_control - edit_control
- edit_prespective
- is_translatable - is_translatable
- legacy - legacy
- views - views

View file

@ -14,7 +14,6 @@ components:
default: false default: false
type: boolean type: boolean
id: id:
pattern: ^[a-z\-]+[0-9]+$
type: string type: string
is_blue_verified: is_blue_verified:
default: false default: false

View file

@ -32,7 +32,6 @@ components:
__typename: __typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineItem $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineItem
entryType: entryType:
type: string # enum
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineItem $ref: "#/components/schemas/ContentEntryType" # TimelineTimelineItem
itemContent: itemContent:
$ref: "#/components/schemas/ItemContentUnion" $ref: "#/components/schemas/ItemContentUnion"
@ -50,9 +49,10 @@ components:
- "clientEventInfo" - "clientEventInfo"
properties: properties:
__typename: __typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineModule type: string
value: TimelineTimelineModule
# $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineModule
entryType: entryType:
type: string # enum
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor $ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor
displayType: displayType:
type: string # enum type: string # enum
@ -77,10 +77,8 @@ components:
__typename: __typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineCursor $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineCursor
entryType: entryType:
type: string # enum
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor $ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
itemType: itemType:
type: string # enum
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor $ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
cursorType: cursorType:
type: string type: string
@ -151,7 +149,6 @@ components:
__typename: __typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTweet $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTweet
itemType: itemType:
type: string # enum
$ref: "#/components/schemas/ContentItemType" # TimelineTweet $ref: "#/components/schemas/ContentItemType" # TimelineTweet
tweetDisplayType: tweetDisplayType:
type: string type: string
@ -173,7 +170,6 @@ components:
__typename: __typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineUser $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineUser
itemType: itemType:
type: string # enum
$ref: "#/components/schemas/ContentItemType" # TimelineUser $ref: "#/components/schemas/ContentItemType" # TimelineUser
SocialContext: SocialContext:
$ref: "#/components/schemas/SocialContext" $ref: "#/components/schemas/SocialContext"

View file

@ -45,7 +45,6 @@ components:
- entries - entries
properties: properties:
type: type:
type: string
$ref: "#/components/schemas/InstructionType" # TimelineAddEntries $ref: "#/components/schemas/InstructionType" # TimelineAddEntries
entries: entries:
type: array type: array
@ -59,7 +58,6 @@ components:
- moduleEntryId - moduleEntryId
properties: properties:
type: type:
type: string
$ref: "#/components/schemas/InstructionType" # TimelineAddToModule $ref: "#/components/schemas/InstructionType" # TimelineAddToModule
moduleItems: moduleItems:
type: array type: array
@ -75,7 +73,6 @@ components:
- type - type
properties: properties:
type: type:
type: string
$ref: "#/components/schemas/InstructionType" # TimelineClearCache $ref: "#/components/schemas/InstructionType" # TimelineClearCache
TimelinePinEntry: TimelinePinEntry:
@ -84,7 +81,6 @@ components:
- entry - entry
properties: properties:
type: type:
type: string
$ref: "#/components/schemas/InstructionType" # TimelinePinEntry $ref: "#/components/schemas/InstructionType" # TimelinePinEntry
entry: entry:
$ref: "#/components/schemas/TimelineAddEntry" $ref: "#/components/schemas/TimelineAddEntry"
@ -96,7 +92,6 @@ components:
- entry - entry
properties: properties:
type: type:
type: string
$ref: "#/components/schemas/InstructionType" # TimelineReplaceEntry $ref: "#/components/schemas/InstructionType" # TimelineReplaceEntry
entry_id_to_replace: entry_id_to_replace:
type: string type: string
@ -110,7 +105,6 @@ components:
- richText - richText
properties: properties:
type: type:
type: string
$ref: "#/components/schemas/InstructionType" # TimelineShowAlert $ref: "#/components/schemas/InstructionType" # TimelineShowAlert
alertType: alertType:
type: string type: string
@ -146,7 +140,6 @@ components:
- direction - direction
properties: properties:
type: type:
type: string
$ref: "#/components/schemas/InstructionType" # TimelineTerminateTimeline $ref: "#/components/schemas/InstructionType" # TimelineTerminateTimeline
direction: direction:
type: string type: string