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:
parent
c025cda1d3
commit
24b04344f1
3 changed files with 51 additions and 1 deletions
14
dist/compatible/schemas/content.yaml
vendored
14
dist/compatible/schemas/content.yaml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue