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

enum value

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-09-01 13:58:16 +09:00
parent 3919f8f5c8
commit 8a7eba499f
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
3 changed files with 16 additions and 9 deletions

View file

@ -60,7 +60,8 @@ components:
entryType:
$ref: "#/components/schemas/ContentEntryType" # TimelineTimelineCursor
displayType:
type: string # enum
type: string
enum: [Vertical, VerticalConversation]
items:
type: array
items:
@ -183,7 +184,8 @@ components:
SocialContext:
$ref: "#/components/schemas/SocialContext"
userDisplayType:
type: string # enum
type: string
enum: [User, UserDetailed]
user_results:
$ref: "./user.yaml#/components/schemas/UserResults"