mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
commit
dfd0a0626f
3 changed files with 23 additions and 16 deletions
16
dist/compatible/schemas/content.yaml
vendored
16
dist/compatible/schemas/content.yaml
vendored
|
|
@ -25,6 +25,14 @@ components:
|
||||||
- $ref: '#/components/schemas/TimelineTimelineItem'
|
- $ref: '#/components/schemas/TimelineTimelineItem'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineModule'
|
- $ref: '#/components/schemas/TimelineTimelineModule'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
||||||
|
CursorType:
|
||||||
|
enum:
|
||||||
|
- Top
|
||||||
|
- Bottom
|
||||||
|
- ShowMore
|
||||||
|
- ShowMoreThreads
|
||||||
|
- Gap
|
||||||
|
type: string
|
||||||
ItemContentUnion:
|
ItemContentUnion:
|
||||||
discriminator:
|
discriminator:
|
||||||
mapping":
|
mapping":
|
||||||
|
|
@ -92,13 +100,7 @@ components:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
cursorType:
|
cursorType:
|
||||||
enum:
|
$ref: '#/components/schemas/CursorType'
|
||||||
- Top
|
|
||||||
- Bottom
|
|
||||||
- ShowMore
|
|
||||||
- ShowMoreThreads
|
|
||||||
- Gap
|
|
||||||
type: string
|
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
itemType:
|
itemType:
|
||||||
|
|
|
||||||
16
dist/docs/schemas/content.yaml
vendored
16
dist/docs/schemas/content.yaml
vendored
|
|
@ -25,6 +25,14 @@ components:
|
||||||
- $ref: '#/components/schemas/TimelineTimelineItem'
|
- $ref: '#/components/schemas/TimelineTimelineItem'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineModule'
|
- $ref: '#/components/schemas/TimelineTimelineModule'
|
||||||
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
- $ref: '#/components/schemas/TimelineTimelineCursor'
|
||||||
|
CursorType:
|
||||||
|
enum:
|
||||||
|
- Top
|
||||||
|
- Bottom
|
||||||
|
- ShowMore
|
||||||
|
- ShowMoreThreads
|
||||||
|
- Gap
|
||||||
|
type: string
|
||||||
ItemContentUnion:
|
ItemContentUnion:
|
||||||
discriminator:
|
discriminator:
|
||||||
mapping":
|
mapping":
|
||||||
|
|
@ -92,13 +100,7 @@ components:
|
||||||
__typename:
|
__typename:
|
||||||
$ref: ./typename.yaml#/components/schemas/TypeName
|
$ref: ./typename.yaml#/components/schemas/TypeName
|
||||||
cursorType:
|
cursorType:
|
||||||
enum:
|
$ref: '#/components/schemas/CursorType'
|
||||||
- Top
|
|
||||||
- Bottom
|
|
||||||
- ShowMore
|
|
||||||
- ShowMoreThreads
|
|
||||||
- Gap
|
|
||||||
type: string
|
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
itemType:
|
itemType:
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,10 @@ components:
|
||||||
enum:
|
enum:
|
||||||
[TimelineTimelineItem, TimelineTimelineCursor, TimelineTimelineModule]
|
[TimelineTimelineItem, TimelineTimelineCursor, TimelineTimelineModule]
|
||||||
|
|
||||||
|
CursorType:
|
||||||
|
type: string
|
||||||
|
enum: [Top, Bottom, ShowMore, ShowMoreThreads, Gap] # Gap???
|
||||||
|
|
||||||
TimelineTimelineItem:
|
TimelineTimelineItem:
|
||||||
required:
|
required:
|
||||||
- "__typename"
|
- "__typename"
|
||||||
|
|
@ -85,8 +89,7 @@ components:
|
||||||
itemType:
|
itemType:
|
||||||
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
|
$ref: "#/components/schemas/ContentEntryType" # null | TimelineTimelineCursor
|
||||||
cursorType:
|
cursorType:
|
||||||
type: string
|
$ref: "#/components/schemas/CursorType"
|
||||||
enum: [Top, Bottom, ShowMore, ShowMoreThreads, Gap] # Gap???
|
|
||||||
value:
|
value:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue