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

add timestamps in Entities

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2024-02-19 12:24:50 +09:00
parent 150430b24c
commit 842fc9fece
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA

View file

@ -927,6 +927,7 @@ components:
- "symbols" - "symbols"
- "user_mentions" - "user_mentions"
- "urls" - "urls"
- "timestamps"
properties: properties:
hashtags: hashtags:
type: array type: array
@ -948,6 +949,10 @@ components:
type: array type: array
items: items:
$ref: "#/components/schemas/Media" $ref: "#/components/schemas/Media"
timestamps:
type: array
items:
$ref: "#/components/schemas/Timestamp"
Hashtag: Hashtag:
type: object type: object
@ -1293,3 +1298,18 @@ components:
resize: resize:
type: string type: string
enum: [crop, fit] enum: [crop, fit]
Timestamp:
required:
- "indices"
- "seconds"
- "text"
properties:
indices:
type: array
items:
type: integer
seconds:
type: integer
text:
type: string