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:
|
enum:
|
||||||
- User
|
- User
|
||||||
- UserDetailed
|
- UserDetailed
|
||||||
|
- SubscribableUser
|
||||||
type: string
|
type: string
|
||||||
user_results:
|
user_results:
|
||||||
$ref: ./user.yaml#/components/schemas/UserResults
|
$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:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
unmention_data:
|
unmention_data:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -270,6 +272,7 @@ components:
|
||||||
- core
|
- core
|
||||||
- edit_control
|
- edit_control
|
||||||
- is_translatable
|
- is_translatable
|
||||||
|
- source
|
||||||
- legacy
|
- legacy
|
||||||
- views
|
- views
|
||||||
TweetCard:
|
TweetCard:
|
||||||
|
|
@ -314,6 +317,26 @@ components:
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
TweetEditControl:
|
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:
|
properties:
|
||||||
edit_tweet_ids:
|
edit_tweet_ids:
|
||||||
items:
|
items:
|
||||||
|
|
@ -328,6 +351,11 @@ components:
|
||||||
type: string
|
type: string
|
||||||
is_edit_eligible:
|
is_edit_eligible:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
required:
|
||||||
|
- edit_tweet_ids
|
||||||
|
- editable_until_msecs
|
||||||
|
- is_edit_eligible
|
||||||
|
- edits_remaining
|
||||||
TweetEditPrespective:
|
TweetEditPrespective:
|
||||||
properties:
|
properties:
|
||||||
favorited:
|
favorited:
|
||||||
|
|
|
||||||
1
dist/docs/schemas/content.yaml
vendored
1
dist/docs/schemas/content.yaml
vendored
|
|
@ -191,6 +191,7 @@ components:
|
||||||
enum:
|
enum:
|
||||||
- User
|
- User
|
||||||
- UserDetailed
|
- UserDetailed
|
||||||
|
- SubscribableUser
|
||||||
type: string
|
type: string
|
||||||
user_results:
|
user_results:
|
||||||
$ref: ./user.yaml#/components/schemas/UserResults
|
$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:
|
rest_id:
|
||||||
pattern: ^[0-9]+$
|
pattern: ^[0-9]+$
|
||||||
type: string
|
type: string
|
||||||
|
source:
|
||||||
|
type: string
|
||||||
unmention_data:
|
unmention_data:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
type: object
|
type: object
|
||||||
|
|
@ -270,6 +272,7 @@ components:
|
||||||
- core
|
- core
|
||||||
- edit_control
|
- edit_control
|
||||||
- is_translatable
|
- is_translatable
|
||||||
|
- source
|
||||||
- legacy
|
- legacy
|
||||||
- views
|
- views
|
||||||
TweetCard:
|
TweetCard:
|
||||||
|
|
@ -314,6 +317,26 @@ components:
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
TweetEditControl:
|
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:
|
properties:
|
||||||
edit_tweet_ids:
|
edit_tweet_ids:
|
||||||
items:
|
items:
|
||||||
|
|
@ -328,6 +351,11 @@ components:
|
||||||
type: string
|
type: string
|
||||||
is_edit_eligible:
|
is_edit_eligible:
|
||||||
type: boolean
|
type: boolean
|
||||||
|
required:
|
||||||
|
- edit_tweet_ids
|
||||||
|
- editable_until_msecs
|
||||||
|
- is_edit_eligible
|
||||||
|
- edits_remaining
|
||||||
TweetEditPrespective:
|
TweetEditPrespective:
|
||||||
properties:
|
properties:
|
||||||
favorited:
|
favorited:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue