mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
31a2103cd0
commit
982181af54
7 changed files with 554 additions and 530 deletions
57
dist/test/paths/post.yaml
vendored
57
dist/test/paths/post.yaml
vendored
|
|
@ -3,9 +3,7 @@ components:
|
|||
CreateRetweet:
|
||||
properties:
|
||||
result:
|
||||
items:
|
||||
$ref: '#/components/schemas/Retweet'
|
||||
type: object
|
||||
$ref: '#/components/schemas/Retweet'
|
||||
required:
|
||||
- result
|
||||
CreateRetweetResponse:
|
||||
|
|
@ -109,12 +107,14 @@ components:
|
|||
Retweet:
|
||||
properties:
|
||||
legacy:
|
||||
items:
|
||||
properties:
|
||||
full_text:
|
||||
type: string
|
||||
properties:
|
||||
full_text:
|
||||
type: string
|
||||
required:
|
||||
- full_text
|
||||
type: object
|
||||
rest_id:
|
||||
pattern: ^[0-9]+$
|
||||
type: string
|
||||
required:
|
||||
- rest_id
|
||||
|
|
@ -234,15 +234,8 @@ paths:
|
|||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"tweet_id": "1349129669258448897"}'
|
||||
example: '{"tweet_id": "1349129669258448897"}'
|
||||
type: string
|
||||
- in: query
|
||||
name: features
|
||||
required: true
|
||||
schema:
|
||||
default: '{}'
|
||||
example: '{}'
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
|
|
@ -291,13 +284,11 @@ paths:
|
|||
example: '"ZYKSe-w7KEslx3JhSIk5LA"'
|
||||
type: string
|
||||
- in: query
|
||||
name: Parameters
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
|
|
@ -346,13 +337,11 @@ paths:
|
|||
example: '"iQtK4dl5hBmXewYZuEOKVw"'
|
||||
type: string
|
||||
- in: query
|
||||
name: Parameters
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
default: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"source_tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
|
|
@ -401,13 +390,11 @@ paths:
|
|||
example: '"lI07N6Otwv1PhnEgXILM7A"'
|
||||
type: string
|
||||
- in: query
|
||||
name: Parameters
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
|
|
@ -456,13 +443,11 @@ paths:
|
|||
example: '"ojPdsZsimiJrUGLR1sjUtA"'
|
||||
type: string
|
||||
- in: query
|
||||
name: Parameters
|
||||
name: variables
|
||||
required: true
|
||||
schema:
|
||||
default: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
example: '{"variables": {"tweet_id": "1349129669258448897"}, "features":
|
||||
{}}'
|
||||
default: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
example: '{"tweet_id": "1349129669258448897", "dark_request": false}'
|
||||
type: string
|
||||
responses:
|
||||
'200':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue