1
Fork 0
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:
ふぁ 2023-11-05 14:18:54 +09:00
parent 522a4aea02
commit a4bb8f6e31
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
4 changed files with 28 additions and 0 deletions

View file

@ -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: