mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
add timestamps in Entities
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
150430b24c
commit
842fc9fece
1 changed files with 20 additions and 0 deletions
|
|
@ -927,6 +927,7 @@ components:
|
|||
- "symbols"
|
||||
- "user_mentions"
|
||||
- "urls"
|
||||
- "timestamps"
|
||||
properties:
|
||||
hashtags:
|
||||
type: array
|
||||
|
|
@ -948,6 +949,10 @@ components:
|
|||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/Media"
|
||||
timestamps:
|
||||
type: array
|
||||
items:
|
||||
$ref: "#/components/schemas/Timestamp"
|
||||
|
||||
Hashtag:
|
||||
type: object
|
||||
|
|
@ -1293,3 +1298,18 @@ components:
|
|||
resize:
|
||||
type: string
|
||||
enum: [crop, fit]
|
||||
|
||||
Timestamp:
|
||||
required:
|
||||
- "indices"
|
||||
- "seconds"
|
||||
- "text"
|
||||
properties:
|
||||
indices:
|
||||
type: array
|
||||
items:
|
||||
type: integer
|
||||
seconds:
|
||||
type: integer
|
||||
text:
|
||||
type: string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue