mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
update time pattern
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
43a21d67c4
commit
b661d8e94a
1 changed files with 9 additions and 2 deletions
|
|
@ -496,6 +496,12 @@ paths:
|
|||
|
||||
components:
|
||||
schemas:
|
||||
# ================= General =================
|
||||
|
||||
TwitterTime:
|
||||
type: string # Thu Apr 06 13:23:34 +0000 2023
|
||||
pattern: "^(Sun|Mon|Tue|Wed|Thu|Fri|Sat) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (0[1-9]|[12][0-9]|3[01]) (0[0-9]|1[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9]) ([+-][0-9]{4}) ([0-9]{4})$"
|
||||
|
||||
# ================= TypeName =================
|
||||
TypeName:
|
||||
type: string
|
||||
|
|
@ -867,6 +873,7 @@ components:
|
|||
- "bookmark_count"
|
||||
- "bookmarked"
|
||||
- "conversation_id_str"
|
||||
- "created_at"
|
||||
- "display_text_range"
|
||||
- "entities"
|
||||
- "favorite_count"
|
||||
|
|
@ -886,7 +893,7 @@ components:
|
|||
bookmarked:
|
||||
type: boolean
|
||||
created_at:
|
||||
type: string # Thu Apr 06 13:23:34 +0000 2023
|
||||
$ref: "#/components/schemas/TwitterTime"
|
||||
conversation_id_str:
|
||||
type: string
|
||||
pattern: "^[0-9]+$"
|
||||
|
|
@ -1049,7 +1056,7 @@ components:
|
|||
type: boolean
|
||||
default: false
|
||||
created_at:
|
||||
type: string # Wed Jul 08 14:05:58 +0000 2009
|
||||
$ref: "#/components/schemas/TwitterTime"
|
||||
default_profile:
|
||||
type: boolean
|
||||
default: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue