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:
|
components:
|
||||||
schemas:
|
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 =================
|
||||||
TypeName:
|
TypeName:
|
||||||
type: string
|
type: string
|
||||||
|
|
@ -867,6 +873,7 @@ components:
|
||||||
- "bookmark_count"
|
- "bookmark_count"
|
||||||
- "bookmarked"
|
- "bookmarked"
|
||||||
- "conversation_id_str"
|
- "conversation_id_str"
|
||||||
|
- "created_at"
|
||||||
- "display_text_range"
|
- "display_text_range"
|
||||||
- "entities"
|
- "entities"
|
||||||
- "favorite_count"
|
- "favorite_count"
|
||||||
|
|
@ -886,7 +893,7 @@ components:
|
||||||
bookmarked:
|
bookmarked:
|
||||||
type: boolean
|
type: boolean
|
||||||
created_at:
|
created_at:
|
||||||
type: string # Thu Apr 06 13:23:34 +0000 2023
|
$ref: "#/components/schemas/TwitterTime"
|
||||||
conversation_id_str:
|
conversation_id_str:
|
||||||
type: string
|
type: string
|
||||||
pattern: "^[0-9]+$"
|
pattern: "^[0-9]+$"
|
||||||
|
|
@ -1049,7 +1056,7 @@ components:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
created_at:
|
created_at:
|
||||||
type: string # Wed Jul 08 14:05:58 +0000 2009
|
$ref: "#/components/schemas/TwitterTime"
|
||||||
default_profile:
|
default_profile:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue