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
7f3270cf8a
commit
8917dcf30d
4 changed files with 58 additions and 0 deletions
1
dist/compatible/schemas/content.yaml
vendored
1
dist/compatible/schemas/content.yaml
vendored
|
|
@ -191,6 +191,7 @@ components:
|
|||
enum:
|
||||
- User
|
||||
- UserDetailed
|
||||
- SubscribableUser
|
||||
type: string
|
||||
user_results:
|
||||
$ref: ./user.yaml#/components/schemas/UserResults
|
||||
|
|
|
|||
28
dist/compatible/schemas/tweet.yaml
vendored
28
dist/compatible/schemas/tweet.yaml
vendored
|
|
@ -260,6 +260,8 @@ components:
|
|||
rest_id:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
unmention_data:
|
||||
additionalProperties: true
|
||||
type: object
|
||||
|
|
@ -270,6 +272,7 @@ components:
|
|||
- core
|
||||
- edit_control
|
||||
- is_translatable
|
||||
- source
|
||||
- legacy
|
||||
- views
|
||||
TweetCard:
|
||||
|
|
@ -314,6 +317,26 @@ components:
|
|||
required:
|
||||
- type
|
||||
TweetEditControl:
|
||||
properties:
|
||||
edit_control_initial:
|
||||
$ref: '#/components/schemas/TweetEditControlInitial'
|
||||
edit_tweet_ids:
|
||||
items:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
type: array
|
||||
editable_until_msecs:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
edits_remaining:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
initial_tweet_id:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
is_edit_eligible:
|
||||
type: boolean
|
||||
TweetEditControlInitial:
|
||||
properties:
|
||||
edit_tweet_ids:
|
||||
items:
|
||||
|
|
@ -328,6 +351,11 @@ components:
|
|||
type: string
|
||||
is_edit_eligible:
|
||||
type: boolean
|
||||
required:
|
||||
- edit_tweet_ids
|
||||
- editable_until_msecs
|
||||
- is_edit_eligible
|
||||
- edits_remaining
|
||||
TweetEditPrespective:
|
||||
properties:
|
||||
favorited:
|
||||
|
|
|
|||
1
dist/docs/schemas/content.yaml
vendored
1
dist/docs/schemas/content.yaml
vendored
|
|
@ -191,6 +191,7 @@ components:
|
|||
enum:
|
||||
- User
|
||||
- UserDetailed
|
||||
- SubscribableUser
|
||||
type: string
|
||||
user_results:
|
||||
$ref: ./user.yaml#/components/schemas/UserResults
|
||||
|
|
|
|||
28
dist/docs/schemas/tweet.yaml
vendored
28
dist/docs/schemas/tweet.yaml
vendored
|
|
@ -260,6 +260,8 @@ components:
|
|||
rest_id:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
source:
|
||||
type: string
|
||||
unmention_data:
|
||||
additionalProperties: true
|
||||
type: object
|
||||
|
|
@ -270,6 +272,7 @@ components:
|
|||
- core
|
||||
- edit_control
|
||||
- is_translatable
|
||||
- source
|
||||
- legacy
|
||||
- views
|
||||
TweetCard:
|
||||
|
|
@ -314,6 +317,26 @@ components:
|
|||
required:
|
||||
- type
|
||||
TweetEditControl:
|
||||
properties:
|
||||
edit_control_initial:
|
||||
$ref: '#/components/schemas/TweetEditControlInitial'
|
||||
edit_tweet_ids:
|
||||
items:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
type: array
|
||||
editable_until_msecs:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
edits_remaining:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
initial_tweet_id:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
is_edit_eligible:
|
||||
type: boolean
|
||||
TweetEditControlInitial:
|
||||
properties:
|
||||
edit_tweet_ids:
|
||||
items:
|
||||
|
|
@ -328,6 +351,11 @@ components:
|
|||
type: string
|
||||
is_edit_eligible:
|
||||
type: boolean
|
||||
required:
|
||||
- edit_tweet_ids
|
||||
- editable_until_msecs
|
||||
- is_edit_eligible
|
||||
- edits_remaining
|
||||
TweetEditPrespective:
|
||||
properties:
|
||||
favorited:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue