mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
8a7eba499f
commit
214392ec9b
6 changed files with 42 additions and 0 deletions
2
dist/compatible/paths/other.yaml
vendored
2
dist/compatible/paths/other.yaml
vendored
|
|
@ -47,6 +47,8 @@ components:
|
||||||
superFollowersCount:
|
superFollowersCount:
|
||||||
type: integer
|
type: integer
|
||||||
superFollowsApplicationStatus:
|
superFollowsApplicationStatus:
|
||||||
|
enum:
|
||||||
|
- NotStarted
|
||||||
type: string
|
type: string
|
||||||
userFeatures:
|
userFeatures:
|
||||||
$ref: '#/components/schemas/UserFeatures'
|
$ref: '#/components/schemas/UserFeatures'
|
||||||
|
|
|
||||||
6
dist/compatible/schemas/content.yaml
vendored
6
dist/compatible/schemas/content.yaml
vendored
|
|
@ -138,6 +138,9 @@ components:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
displayType:
|
displayType:
|
||||||
|
enum:
|
||||||
|
- Vertical
|
||||||
|
- VerticalConversation
|
||||||
type: string
|
type: string
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
|
|
@ -185,6 +188,9 @@ components:
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
|
enum:
|
||||||
|
- User
|
||||||
|
- UserDetailed
|
||||||
type: string
|
type: string
|
||||||
user_results:
|
user_results:
|
||||||
$ref: ./user.yaml#/components/schemas/UserResults
|
$ref: ./user.yaml#/components/schemas/UserResults
|
||||||
|
|
|
||||||
13
dist/compatible/schemas/tweet.yaml
vendored
13
dist/compatible/schemas/tweet.yaml
vendored
|
|
@ -69,6 +69,8 @@ components:
|
||||||
sizes:
|
sizes:
|
||||||
$ref: '#/components/schemas/MediaSizes'
|
$ref: '#/components/schemas/MediaSizes'
|
||||||
type:
|
type:
|
||||||
|
enum:
|
||||||
|
- photo
|
||||||
type: string
|
type: string
|
||||||
url:
|
url:
|
||||||
format: uri
|
format: uri
|
||||||
|
|
@ -117,6 +119,10 @@ components:
|
||||||
sizes:
|
sizes:
|
||||||
$ref: '#/components/schemas/MediaSizes'
|
$ref: '#/components/schemas/MediaSizes'
|
||||||
type:
|
type:
|
||||||
|
enum:
|
||||||
|
- photo
|
||||||
|
- video
|
||||||
|
- animated_gif
|
||||||
type: string
|
type: string
|
||||||
url:
|
url:
|
||||||
format: uri
|
format: uri
|
||||||
|
|
@ -170,6 +176,9 @@ components:
|
||||||
h:
|
h:
|
||||||
type: integer
|
type: integer
|
||||||
resize:
|
resize:
|
||||||
|
enum:
|
||||||
|
- crop
|
||||||
|
- fit
|
||||||
type: string
|
type: string
|
||||||
w:
|
w:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -418,6 +427,8 @@ components:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
state:
|
state:
|
||||||
|
enum:
|
||||||
|
- EnabledWithCount
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- state
|
- state
|
||||||
|
|
@ -456,6 +467,8 @@ components:
|
||||||
extMediaAvailability:
|
extMediaAvailability:
|
||||||
properties:
|
properties:
|
||||||
status:
|
status:
|
||||||
|
enum:
|
||||||
|
- Available
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- status
|
- status
|
||||||
|
|
|
||||||
2
dist/docs/paths/other.yaml
vendored
2
dist/docs/paths/other.yaml
vendored
|
|
@ -47,6 +47,8 @@ components:
|
||||||
superFollowersCount:
|
superFollowersCount:
|
||||||
type: integer
|
type: integer
|
||||||
superFollowsApplicationStatus:
|
superFollowsApplicationStatus:
|
||||||
|
enum:
|
||||||
|
- NotStarted
|
||||||
type: string
|
type: string
|
||||||
userFeatures:
|
userFeatures:
|
||||||
$ref: '#/components/schemas/UserFeatures'
|
$ref: '#/components/schemas/UserFeatures'
|
||||||
|
|
|
||||||
6
dist/docs/schemas/content.yaml
vendored
6
dist/docs/schemas/content.yaml
vendored
|
|
@ -138,6 +138,9 @@ components:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
displayType:
|
displayType:
|
||||||
|
enum:
|
||||||
|
- Vertical
|
||||||
|
- VerticalConversation
|
||||||
type: string
|
type: string
|
||||||
entryType:
|
entryType:
|
||||||
$ref: '#/components/schemas/ContentEntryType'
|
$ref: '#/components/schemas/ContentEntryType'
|
||||||
|
|
@ -185,6 +188,9 @@ components:
|
||||||
itemType:
|
itemType:
|
||||||
$ref: '#/components/schemas/ContentItemType'
|
$ref: '#/components/schemas/ContentItemType'
|
||||||
userDisplayType:
|
userDisplayType:
|
||||||
|
enum:
|
||||||
|
- User
|
||||||
|
- UserDetailed
|
||||||
type: string
|
type: string
|
||||||
user_results:
|
user_results:
|
||||||
$ref: ./user.yaml#/components/schemas/UserResults
|
$ref: ./user.yaml#/components/schemas/UserResults
|
||||||
|
|
|
||||||
13
dist/docs/schemas/tweet.yaml
vendored
13
dist/docs/schemas/tweet.yaml
vendored
|
|
@ -69,6 +69,8 @@ components:
|
||||||
sizes:
|
sizes:
|
||||||
$ref: '#/components/schemas/MediaSizes'
|
$ref: '#/components/schemas/MediaSizes'
|
||||||
type:
|
type:
|
||||||
|
enum:
|
||||||
|
- photo
|
||||||
type: string
|
type: string
|
||||||
url:
|
url:
|
||||||
format: uri
|
format: uri
|
||||||
|
|
@ -117,6 +119,10 @@ components:
|
||||||
sizes:
|
sizes:
|
||||||
$ref: '#/components/schemas/MediaSizes'
|
$ref: '#/components/schemas/MediaSizes'
|
||||||
type:
|
type:
|
||||||
|
enum:
|
||||||
|
- photo
|
||||||
|
- video
|
||||||
|
- animated_gif
|
||||||
type: string
|
type: string
|
||||||
url:
|
url:
|
||||||
format: uri
|
format: uri
|
||||||
|
|
@ -170,6 +176,9 @@ components:
|
||||||
h:
|
h:
|
||||||
type: integer
|
type: integer
|
||||||
resize:
|
resize:
|
||||||
|
enum:
|
||||||
|
- crop
|
||||||
|
- fit
|
||||||
type: string
|
type: string
|
||||||
w:
|
w:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
@ -418,6 +427,8 @@ components:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
state:
|
state:
|
||||||
|
enum:
|
||||||
|
- EnabledWithCount
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- state
|
- state
|
||||||
|
|
@ -456,6 +467,8 @@ components:
|
||||||
extMediaAvailability:
|
extMediaAvailability:
|
||||||
properties:
|
properties:
|
||||||
status:
|
status:
|
||||||
|
enum:
|
||||||
|
- Available
|
||||||
type: string
|
type: string
|
||||||
required:
|
required:
|
||||||
- status
|
- status
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue