1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 07:30:37 +01:00

add TweetDetail

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-04-18 19:07:40 +09:00
parent abbcbe8b86
commit a16f4a6915
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
9 changed files with 297 additions and 61 deletions

View file

@ -29,7 +29,6 @@ components:
Tweet:
required:
# - "__typename"
- "rest_id"
- "core"
- "edit_control"
@ -40,7 +39,7 @@ components:
properties:
__typename:
$ref: "./typename.yaml#/components/schemas/TypeName" # Tweet
$ref: "./typename.yaml#/components/schemas/TypeName" # null | Tweet
rest_id:
type: string
pattern: "^[0-9]+$"