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

add CursorType

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-07-31 20:19:29 +09:00
parent 31d7235baf
commit a865bbaa09
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 23 additions and 16 deletions

View file

@ -25,6 +25,14 @@ components:
- $ref: '#/components/schemas/TimelineTimelineItem'
- $ref: '#/components/schemas/TimelineTimelineModule'
- $ref: '#/components/schemas/TimelineTimelineCursor'
CursorType:
enum:
- Top
- Bottom
- ShowMore
- ShowMoreThreads
- Gap
type: string
ItemContentUnion:
discriminator:
mapping":
@ -92,13 +100,7 @@ components:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
cursorType:
enum:
- Top
- Bottom
- ShowMore
- ShowMoreThreads
- Gap
type: string
$ref: '#/components/schemas/CursorType'
entryType:
$ref: '#/components/schemas/ContentEntryType'
itemType:

View file

@ -25,6 +25,14 @@ components:
- $ref: '#/components/schemas/TimelineTimelineItem'
- $ref: '#/components/schemas/TimelineTimelineModule'
- $ref: '#/components/schemas/TimelineTimelineCursor'
CursorType:
enum:
- Top
- Bottom
- ShowMore
- ShowMoreThreads
- Gap
type: string
ItemContentUnion:
discriminator:
mapping":
@ -92,13 +100,7 @@ components:
__typename:
$ref: ./typename.yaml#/components/schemas/TypeName
cursorType:
enum:
- Top
- Bottom
- ShowMore
- ShowMoreThreads
- Gap
type: string
$ref: '#/components/schemas/CursorType'
entryType:
$ref: '#/components/schemas/ContentEntryType'
itemType: