1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00

add TimelineMessagePrompt, TimelinePrompt

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-10 01:15:42 +09:00
parent c025cda1d3
commit 24b04344f1
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 51 additions and 1 deletions

View file

@ -11,6 +11,8 @@ components:
- TimelineTweet
- TimelineTimelineCursor
- TimelineUser
- TimelinePrompt
- TimelineMessagePrompt
type: string
ContentUnion:
discriminator:
@ -26,6 +28,8 @@ components:
ItemContentUnion:
discriminator:
mapping":
TimelineMessagePrompt: '#/components/schemas/TimelineMessagePrompt'
TimelinePrompt: '#/components/schemas/TimelinePrompt'
TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
TimelineTweet: '#/components/schemas/TimelineTweet'
TimelineUser: '#/components/schemas/TimelineUser'
@ -34,6 +38,8 @@ components:
- $ref: '#/components/schemas/TimelineTweet'
- $ref: '#/components/schemas/TimelineTimelineCursor'
- $ref: '#/components/schemas/TimelineUser'
- $ref: '#/components/schemas/TimelinePrompt'
- $ref: '#/components/schemas/TimelineMessagePrompt'
ItemResult:
properties:
__typename:
@ -70,6 +76,14 @@ components:
type:
type: string
type: object
TimelineMessagePrompt:
properties:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
TimelinePrompt:
properties:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
TimelineTimelineCursor:
properties:
__typename:

View file

@ -11,6 +11,8 @@ components:
- TimelineTweet
- TimelineTimelineCursor
- TimelineUser
- TimelinePrompt
- TimelineMessagePrompt
type: string
ContentUnion:
discriminator:
@ -26,6 +28,8 @@ components:
ItemContentUnion:
discriminator:
mapping":
TimelineMessagePrompt: '#/components/schemas/TimelineMessagePrompt'
TimelinePrompt: '#/components/schemas/TimelinePrompt'
TimelineTimelineCursor: '#/components/schemas/TimelineTimelineCursor'
TimelineTweet: '#/components/schemas/TimelineTweet'
TimelineUser: '#/components/schemas/TimelineUser'
@ -34,6 +38,8 @@ components:
- $ref: '#/components/schemas/TimelineTweet'
- $ref: '#/components/schemas/TimelineTimelineCursor'
- $ref: '#/components/schemas/TimelineUser'
- $ref: '#/components/schemas/TimelinePrompt'
- $ref: '#/components/schemas/TimelineMessagePrompt'
ItemResult:
properties:
__typename:
@ -70,6 +76,14 @@ components:
type:
type: string
type: object
TimelineMessagePrompt:
properties:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
TimelinePrompt:
properties:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
TimelineTimelineCursor:
properties:
__typename: