1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2023-09-01 13:58:21 +09:00
parent 8a7eba499f
commit 214392ec9b
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
6 changed files with 42 additions and 0 deletions

View file

@ -69,6 +69,8 @@ components:
sizes:
$ref: '#/components/schemas/MediaSizes'
type:
enum:
- photo
type: string
url:
format: uri
@ -117,6 +119,10 @@ components:
sizes:
$ref: '#/components/schemas/MediaSizes'
type:
enum:
- photo
- video
- animated_gif
type: string
url:
format: uri
@ -170,6 +176,9 @@ components:
h:
type: integer
resize:
enum:
- crop
- fit
type: string
w:
type: integer
@ -418,6 +427,8 @@ components:
pattern: ^[0-9]+$
type: string
state:
enum:
- EnabledWithCount
type: string
required:
- state
@ -456,6 +467,8 @@ components:
extMediaAvailability:
properties:
status:
enum:
- Available
type: string
required:
- status