mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-12 08:00:27 +01:00
fix displayType
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
8485d1faa6
commit
be3ec86ef4
4 changed files with 25 additions and 15 deletions
|
|
@ -59,8 +59,7 @@ components:
|
|||
entryType:
|
||||
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor
|
||||
displayType:
|
||||
type: string
|
||||
enum: [Vertical, VerticalConversation, VerticalGrid, Carousel]
|
||||
$ref: "#/components/schemas/DisplayType"
|
||||
items:
|
||||
type: array
|
||||
items:
|
||||
|
|
@ -113,6 +112,14 @@ components:
|
|||
|
||||
# ================= Module =================
|
||||
|
||||
DisplayType:
|
||||
type: string
|
||||
enum:
|
||||
- Vertical
|
||||
- VerticalConversation
|
||||
- VerticalGrid
|
||||
- Carousel
|
||||
|
||||
ModuleItem:
|
||||
required:
|
||||
- "entryId"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue