mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-03-07 12:39:54 +01:00
build
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
7475af1c88
commit
594667fc68
3 changed files with 2 additions and 160 deletions
80
dist/compatible/openapi-3.0.yaml
vendored
80
dist/compatible/openapi-3.0.yaml
vendored
|
|
@ -4968,14 +4968,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
|
|
||||||
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: aoDbu3RHznuiSkQ9aNM67Q
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
example: aoDbu3RHznuiSkQ9aNM67Q
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
|
@ -4990,8 +4982,6 @@ paths:
|
||||||
- tweet_id
|
- tweet_id
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -5047,14 +5037,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
|
|
||||||
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: ojPdsZsimiJrUGLR1sjUtA
|
default: ojPdsZsimiJrUGLR1sjUtA
|
||||||
example: ojPdsZsimiJrUGLR1sjUtA
|
example: ojPdsZsimiJrUGLR1sjUtA
|
||||||
|
|
@ -5074,8 +5056,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -5131,14 +5111,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
|
|
||||||
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
|
|
||||||
type: string
|
|
||||||
features:
|
features:
|
||||||
properties:
|
properties:
|
||||||
articles_preview_enabled:
|
articles_preview_enabled:
|
||||||
|
|
@ -5370,8 +5342,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
- features
|
- features
|
||||||
|
|
@ -5428,14 +5398,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
|
|
||||||
example: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
|
@ -5450,8 +5412,6 @@ paths:
|
||||||
- tweet_id
|
- tweet_id
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -5507,14 +5467,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
|
|
||||||
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: iQtK4dl5hBmXewYZuEOKVw
|
default: iQtK4dl5hBmXewYZuEOKVw
|
||||||
example: iQtK4dl5hBmXewYZuEOKVw
|
example: iQtK4dl5hBmXewYZuEOKVw
|
||||||
|
|
@ -5534,8 +5486,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -5591,14 +5541,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
|
|
||||||
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: VaenaVgh5q5ih7kvyVjgtg
|
default: VaenaVgh5q5ih7kvyVjgtg
|
||||||
example: VaenaVgh5q5ih7kvyVjgtg
|
example: VaenaVgh5q5ih7kvyVjgtg
|
||||||
|
|
@ -5618,8 +5560,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -5675,14 +5615,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
|
|
||||||
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: lI07N6Otwv1PhnEgXILM7A
|
default: lI07N6Otwv1PhnEgXILM7A
|
||||||
example: lI07N6Otwv1PhnEgXILM7A
|
example: lI07N6Otwv1PhnEgXILM7A
|
||||||
|
|
@ -5697,8 +5629,6 @@ paths:
|
||||||
- tweet_id
|
- tweet_id
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -7083,14 +7013,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
|
|
||||||
example: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||||
|
|
@ -7110,8 +7032,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
|
||||||
80
dist/docs/openapi-3.0.yaml
vendored
80
dist/docs/openapi-3.0.yaml
vendored
|
|
@ -5524,14 +5524,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
|
|
||||||
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: aoDbu3RHznuiSkQ9aNM67Q
|
default: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
example: aoDbu3RHznuiSkQ9aNM67Q
|
example: aoDbu3RHznuiSkQ9aNM67Q
|
||||||
|
|
@ -5546,8 +5538,6 @@ paths:
|
||||||
- tweet_id
|
- tweet_id
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -5603,14 +5593,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
|
|
||||||
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: ojPdsZsimiJrUGLR1sjUtA
|
default: ojPdsZsimiJrUGLR1sjUtA
|
||||||
example: ojPdsZsimiJrUGLR1sjUtA
|
example: ojPdsZsimiJrUGLR1sjUtA
|
||||||
|
|
@ -5630,8 +5612,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -5687,14 +5667,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
|
|
||||||
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
|
|
||||||
type: string
|
|
||||||
features:
|
features:
|
||||||
properties:
|
properties:
|
||||||
articles_preview_enabled:
|
articles_preview_enabled:
|
||||||
|
|
@ -5926,8 +5898,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
- features
|
- features
|
||||||
|
|
@ -5984,14 +5954,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
|
|
||||||
example: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
default: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
example: Wlmlj2-xzyS1GN3a6cj-mQ
|
||||||
|
|
@ -6006,8 +5968,6 @@ paths:
|
||||||
- tweet_id
|
- tweet_id
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -6063,14 +6023,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
|
|
||||||
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: iQtK4dl5hBmXewYZuEOKVw
|
default: iQtK4dl5hBmXewYZuEOKVw
|
||||||
example: iQtK4dl5hBmXewYZuEOKVw
|
example: iQtK4dl5hBmXewYZuEOKVw
|
||||||
|
|
@ -6090,8 +6042,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -6147,14 +6097,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
|
|
||||||
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: VaenaVgh5q5ih7kvyVjgtg
|
default: VaenaVgh5q5ih7kvyVjgtg
|
||||||
example: VaenaVgh5q5ih7kvyVjgtg
|
example: VaenaVgh5q5ih7kvyVjgtg
|
||||||
|
|
@ -6174,8 +6116,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -6231,14 +6171,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
|
|
||||||
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: lI07N6Otwv1PhnEgXILM7A
|
default: lI07N6Otwv1PhnEgXILM7A
|
||||||
example: lI07N6Otwv1PhnEgXILM7A
|
example: lI07N6Otwv1PhnEgXILM7A
|
||||||
|
|
@ -6253,8 +6185,6 @@ paths:
|
||||||
- tweet_id
|
- tweet_id
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
@ -9522,14 +9452,6 @@ paths:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
properties:
|
properties:
|
||||||
'@method':
|
|
||||||
default: POST
|
|
||||||
example: POST
|
|
||||||
type: string
|
|
||||||
'@path':
|
|
||||||
default: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
|
|
||||||
example: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
|
|
||||||
type: string
|
|
||||||
queryId:
|
queryId:
|
||||||
default: ZYKSe-w7KEslx3JhSIk5LA
|
default: ZYKSe-w7KEslx3JhSIk5LA
|
||||||
example: ZYKSe-w7KEslx3JhSIk5LA
|
example: ZYKSe-w7KEslx3JhSIk5LA
|
||||||
|
|
@ -9549,8 +9471,6 @@ paths:
|
||||||
- dark_request
|
- dark_request
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- '@path'
|
|
||||||
- '@method'
|
|
||||||
- queryId
|
- queryId
|
||||||
- variables
|
- variables
|
||||||
description: body
|
description: body
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ class Config:
|
||||||
split=-1,
|
split=-1,
|
||||||
schemaType=None,
|
schemaType=None,
|
||||||
contentType="application/json",
|
contentType="application/json",
|
||||||
|
ignoreKeys=["@path", "@method"],
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
for key in ["post"]
|
for key in ["post"]
|
||||||
|
|
@ -66,6 +67,7 @@ class Config:
|
||||||
split=2,
|
split=2,
|
||||||
schemaType=None,
|
schemaType=None,
|
||||||
contentType="application/x-www-form-urlencoded",
|
contentType="application/x-www-form-urlencoded",
|
||||||
|
ignoreKeys=["@path", "@method"],
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
for key in ["v1.1-post", "v2.0-post"]
|
for key in ["v1.1-post", "v2.0-post"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue