1
Fork 0
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:
ふぁ 2024-02-13 00:57:45 +09:00
parent 8485d1faa6
commit be3ec86ef4
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
4 changed files with 25 additions and 15 deletions

View file

@ -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"