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:
parent
150430b24c
commit
842fc9fece
1 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue