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
2c07cb65e7
commit
74ac250eb3
10 changed files with 7 additions and 46 deletions
9
dist/compatible/schemas/content.yaml
vendored
9
dist/compatible/schemas/content.yaml
vendored
|
|
@ -98,10 +98,8 @@ components:
|
|||
type: string
|
||||
entryType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
itemType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
|
|
@ -116,7 +114,6 @@ components:
|
|||
type: object
|
||||
entryType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
feedbackInfo:
|
||||
type: object
|
||||
itemContent:
|
||||
|
|
@ -128,14 +125,14 @@ components:
|
|||
TimelineTimelineModule:
|
||||
properties:
|
||||
__typename:
|
||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||
type: string
|
||||
value: TimelineTimelineModule
|
||||
clientEventInfo:
|
||||
type: object
|
||||
displayType:
|
||||
type: string
|
||||
entryType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
footer:
|
||||
type: object
|
||||
header:
|
||||
|
|
@ -157,7 +154,6 @@ components:
|
|||
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||
itemType:
|
||||
$ref: '#/components/schemas/ContentItemType'
|
||||
type: string
|
||||
promotedMetadata:
|
||||
type: object
|
||||
tweetDisplayType:
|
||||
|
|
@ -177,7 +173,6 @@ components:
|
|||
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||
itemType:
|
||||
$ref: '#/components/schemas/ContentItemType'
|
||||
type: string
|
||||
userDisplayType:
|
||||
type: string
|
||||
user_results:
|
||||
|
|
|
|||
7
dist/compatible/schemas/instruction.yaml
vendored
7
dist/compatible/schemas/instruction.yaml
vendored
|
|
@ -37,7 +37,6 @@ components:
|
|||
type: array
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- entries
|
||||
|
|
@ -66,7 +65,6 @@ components:
|
|||
type: boolean
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- moduleItems
|
||||
|
|
@ -75,7 +73,6 @@ components:
|
|||
properties:
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
TimelinePinEntry:
|
||||
|
|
@ -84,7 +81,6 @@ components:
|
|||
$ref: '#/components/schemas/TimelineAddEntry'
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- entry
|
||||
|
|
@ -96,7 +92,6 @@ components:
|
|||
type: string
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- entry_id_to_replace
|
||||
|
|
@ -130,7 +125,6 @@ components:
|
|||
type: integer
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
usersResults:
|
||||
items:
|
||||
$ref: ./user.yaml#/components/schemas/UserResults
|
||||
|
|
@ -148,7 +142,6 @@ components:
|
|||
type: string
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- direction
|
||||
|
|
|
|||
1
dist/compatible/schemas/tweet.yaml
vendored
1
dist/compatible/schemas/tweet.yaml
vendored
|
|
@ -182,7 +182,6 @@ components:
|
|||
- rest_id
|
||||
- core
|
||||
- edit_control
|
||||
- edit_prespective
|
||||
- is_translatable
|
||||
- legacy
|
||||
- views
|
||||
|
|
|
|||
1
dist/compatible/schemas/user.yaml
vendored
1
dist/compatible/schemas/user.yaml
vendored
|
|
@ -14,7 +14,6 @@ components:
|
|||
default: false
|
||||
type: boolean
|
||||
id:
|
||||
pattern: ^[a-z\-]+[0-9]+$
|
||||
type: string
|
||||
is_blue_verified:
|
||||
default: false
|
||||
|
|
|
|||
9
dist/docs/schemas/content.yaml
vendored
9
dist/docs/schemas/content.yaml
vendored
|
|
@ -98,10 +98,8 @@ components:
|
|||
type: string
|
||||
entryType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
itemType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
value:
|
||||
type: string
|
||||
required:
|
||||
|
|
@ -116,7 +114,6 @@ components:
|
|||
type: object
|
||||
entryType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
feedbackInfo:
|
||||
type: object
|
||||
itemContent:
|
||||
|
|
@ -128,14 +125,14 @@ components:
|
|||
TimelineTimelineModule:
|
||||
properties:
|
||||
__typename:
|
||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||
type: string
|
||||
value: TimelineTimelineModule
|
||||
clientEventInfo:
|
||||
type: object
|
||||
displayType:
|
||||
type: string
|
||||
entryType:
|
||||
$ref: '#/components/schemas/ContentEntryType'
|
||||
type: string
|
||||
footer:
|
||||
type: object
|
||||
header:
|
||||
|
|
@ -157,7 +154,6 @@ components:
|
|||
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||
itemType:
|
||||
$ref: '#/components/schemas/ContentItemType'
|
||||
type: string
|
||||
promotedMetadata:
|
||||
type: object
|
||||
tweetDisplayType:
|
||||
|
|
@ -177,7 +173,6 @@ components:
|
|||
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||
itemType:
|
||||
$ref: '#/components/schemas/ContentItemType'
|
||||
type: string
|
||||
userDisplayType:
|
||||
type: string
|
||||
user_results:
|
||||
|
|
|
|||
7
dist/docs/schemas/instruction.yaml
vendored
7
dist/docs/schemas/instruction.yaml
vendored
|
|
@ -37,7 +37,6 @@ components:
|
|||
type: array
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- entries
|
||||
|
|
@ -66,7 +65,6 @@ components:
|
|||
type: boolean
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- moduleItems
|
||||
|
|
@ -75,7 +73,6 @@ components:
|
|||
properties:
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
TimelinePinEntry:
|
||||
|
|
@ -84,7 +81,6 @@ components:
|
|||
$ref: '#/components/schemas/TimelineAddEntry'
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- entry
|
||||
|
|
@ -96,7 +92,6 @@ components:
|
|||
type: string
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- entry_id_to_replace
|
||||
|
|
@ -130,7 +125,6 @@ components:
|
|||
type: integer
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
usersResults:
|
||||
items:
|
||||
$ref: ./user.yaml#/components/schemas/UserResults
|
||||
|
|
@ -148,7 +142,6 @@ components:
|
|||
type: string
|
||||
type:
|
||||
$ref: '#/components/schemas/InstructionType'
|
||||
type: string
|
||||
required:
|
||||
- type
|
||||
- direction
|
||||
|
|
|
|||
1
dist/docs/schemas/tweet.yaml
vendored
1
dist/docs/schemas/tweet.yaml
vendored
|
|
@ -182,7 +182,6 @@ components:
|
|||
- rest_id
|
||||
- core
|
||||
- edit_control
|
||||
- edit_prespective
|
||||
- is_translatable
|
||||
- legacy
|
||||
- views
|
||||
|
|
|
|||
1
dist/docs/schemas/user.yaml
vendored
1
dist/docs/schemas/user.yaml
vendored
|
|
@ -14,7 +14,6 @@ components:
|
|||
default: false
|
||||
type: boolean
|
||||
id:
|
||||
pattern: ^[a-z\-]+[0-9]+$
|
||||
type: string
|
||||
is_blue_verified:
|
||||
default: false
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ components:
|
|||
__typename:
|
||||
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineItem
|
||||
entryType:
|
||||
type: string # enum
|
||||
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineItem
|
||||
itemContent:
|
||||
$ref: "#/components/schemas/ItemContentUnion"
|
||||
|
|
@ -50,9 +49,10 @@ components:
|
|||
- "clientEventInfo"
|
||||
properties:
|
||||
__typename:
|
||||
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineModule
|
||||
type: string
|
||||
value: TimelineTimelineModule
|
||||
# $ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineModule
|
||||
entryType:
|
||||
type: string # enum
|
||||
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor
|
||||
displayType:
|
||||
type: string # enum
|
||||
|
|
@ -77,10 +77,8 @@ components:
|
|||
__typename:
|
||||
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTimelineCursor
|
||||
entryType:
|
||||
type: string # enum
|
||||
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
|
||||
itemType:
|
||||
type: string # enum
|
||||
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
|
||||
cursorType:
|
||||
type: string
|
||||
|
|
@ -151,7 +149,6 @@ components:
|
|||
__typename:
|
||||
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineTweet
|
||||
itemType:
|
||||
type: string # enum
|
||||
$ref: "#/components/schemas/ContentItemType" # TimelineTweet
|
||||
tweetDisplayType:
|
||||
type: string
|
||||
|
|
@ -173,7 +170,6 @@ components:
|
|||
__typename:
|
||||
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineUser
|
||||
itemType:
|
||||
type: string # enum
|
||||
$ref: "#/components/schemas/ContentItemType" # TimelineUser
|
||||
SocialContext:
|
||||
$ref: "#/components/schemas/SocialContext"
|
||||
|
|
|
|||
|
|
@ -45,7 +45,6 @@ components:
|
|||
- entries
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
$ref: "#/components/schemas/InstructionType" # TimelineAddEntries
|
||||
entries:
|
||||
type: array
|
||||
|
|
@ -59,7 +58,6 @@ components:
|
|||
- moduleEntryId
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
$ref: "#/components/schemas/InstructionType" # TimelineAddToModule
|
||||
moduleItems:
|
||||
type: array
|
||||
|
|
@ -75,7 +73,6 @@ components:
|
|||
- type
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
$ref: "#/components/schemas/InstructionType" # TimelineClearCache
|
||||
|
||||
TimelinePinEntry:
|
||||
|
|
@ -84,7 +81,6 @@ components:
|
|||
- entry
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
$ref: "#/components/schemas/InstructionType" # TimelinePinEntry
|
||||
entry:
|
||||
$ref: "#/components/schemas/TimelineAddEntry"
|
||||
|
|
@ -96,7 +92,6 @@ components:
|
|||
- entry
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
$ref: "#/components/schemas/InstructionType" # TimelineReplaceEntry
|
||||
entry_id_to_replace:
|
||||
type: string
|
||||
|
|
@ -110,7 +105,6 @@ components:
|
|||
- richText
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
$ref: "#/components/schemas/InstructionType" # TimelineShowAlert
|
||||
alertType:
|
||||
type: string
|
||||
|
|
@ -146,7 +140,6 @@ components:
|
|||
- direction
|
||||
properties:
|
||||
type:
|
||||
type: string
|
||||
$ref: "#/components/schemas/InstructionType" # TimelineTerminateTimeline
|
||||
direction:
|
||||
type: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue