mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
add TimelineCommunity
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
522a4aea02
commit
a4bb8f6e31
4 changed files with 28 additions and 0 deletions
|
|
@ -125,6 +125,7 @@ components:
|
|||
- $ref: "#/components/schemas/TimelineUser"
|
||||
- $ref: "#/components/schemas/TimelinePrompt"
|
||||
- $ref: "#/components/schemas/TimelineMessagePrompt"
|
||||
- $ref: "#/components/schemas/TimelineCommunity"
|
||||
|
||||
discriminator:
|
||||
propertyName: __typename
|
||||
|
|
@ -134,6 +135,7 @@ components:
|
|||
TimelineUser: "#/components/schemas/TimelineUser"
|
||||
TimelinePrompt: "#/components/schemas/TimelinePrompt"
|
||||
TimelineMessagePrompt: "#/components/schemas/TimelineMessagePrompt"
|
||||
TimelineCommunity: "#/components/schemas/TimelineCommunity"
|
||||
|
||||
ContentItemType:
|
||||
type: string
|
||||
|
|
@ -144,6 +146,7 @@ components:
|
|||
TimelineUser,
|
||||
TimelinePrompt,
|
||||
TimelineMessagePrompt,
|
||||
TimelineCommunity,
|
||||
]
|
||||
|
||||
TimelineTweet:
|
||||
|
|
@ -216,6 +219,12 @@ components:
|
|||
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineMessagePrompt
|
||||
additionalProperties: true # todo
|
||||
|
||||
TimelineCommunity:
|
||||
properties:
|
||||
__typename:
|
||||
$ref: "./typename.yaml#/components/schemas/TypeName" # TimelineCommunity
|
||||
additionalProperties: true # todo
|
||||
|
||||
ClientEventInfo:
|
||||
properties:
|
||||
component:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue