Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
80 changes: 0 additions & 80 deletions dist/compatible/openapi-3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4968,14 +4968,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
type: string
queryId:
default: aoDbu3RHznuiSkQ9aNM67Q
example: aoDbu3RHznuiSkQ9aNM67Q
Expand All @@ -4990,8 +4982,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -5047,14 +5037,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
type: string
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
Expand All @@ -5074,8 +5056,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -5131,14 +5111,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
type: string
features:
properties:
articles_preview_enabled:
Expand Down Expand Up @@ -5370,8 +5342,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
- features
Expand Down Expand Up @@ -5428,14 +5398,6 @@ paths:
application/json:
schema:
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:
default: Wlmlj2-xzyS1GN3a6cj-mQ
example: Wlmlj2-xzyS1GN3a6cj-mQ
Expand All @@ -5450,8 +5412,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -5507,14 +5467,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
type: string
queryId:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
Expand All @@ -5534,8 +5486,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -5591,14 +5541,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
type: string
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
Expand All @@ -5618,8 +5560,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -5675,14 +5615,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
type: string
queryId:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
Expand All @@ -5697,8 +5629,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -7083,14 +7013,6 @@ paths:
application/json:
schema:
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:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
Expand All @@ -7110,8 +7032,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down
80 changes: 0 additions & 80 deletions dist/docs/openapi-3.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5524,14 +5524,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
type: string
queryId:
default: aoDbu3RHznuiSkQ9aNM67Q
example: aoDbu3RHznuiSkQ9aNM67Q
Expand All @@ -5546,8 +5538,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -5603,14 +5593,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
type: string
queryId:
default: ojPdsZsimiJrUGLR1sjUtA
example: ojPdsZsimiJrUGLR1sjUtA
Expand All @@ -5630,8 +5612,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -5687,14 +5667,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
type: string
features:
properties:
articles_preview_enabled:
Expand Down Expand Up @@ -5926,8 +5898,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
- features
Expand Down Expand Up @@ -5984,14 +5954,6 @@ paths:
application/json:
schema:
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:
default: Wlmlj2-xzyS1GN3a6cj-mQ
example: Wlmlj2-xzyS1GN3a6cj-mQ
Expand All @@ -6006,8 +5968,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -6063,14 +6023,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
type: string
queryId:
default: iQtK4dl5hBmXewYZuEOKVw
example: iQtK4dl5hBmXewYZuEOKVw
Expand All @@ -6090,8 +6042,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -6147,14 +6097,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
type: string
queryId:
default: VaenaVgh5q5ih7kvyVjgtg
example: VaenaVgh5q5ih7kvyVjgtg
Expand All @@ -6174,8 +6116,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -6231,14 +6171,6 @@ paths:
application/json:
schema:
properties:
'@method':
default: POST
example: POST
type: string
'@path':
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
type: string
queryId:
default: lI07N6Otwv1PhnEgXILM7A
example: lI07N6Otwv1PhnEgXILM7A
Expand All @@ -6253,8 +6185,6 @@ paths:
- tweet_id
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down Expand Up @@ -9522,14 +9452,6 @@ paths:
application/json:
schema:
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:
default: ZYKSe-w7KEslx3JhSIk5LA
example: ZYKSe-w7KEslx3JhSIk5LA
Expand All @@ -9549,8 +9471,6 @@ paths:
- dark_request
type: object
required:
- '@path'
- '@method'
- queryId
- variables
description: body
Expand Down
2 changes: 2 additions & 0 deletions tools/build_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def hooks_generator(self, queryParameterJson=True):
split=-1,
schemaType=None,
contentType="application/json",
ignoreKeys=["@path", "@method"],
),
]
for key in ["post"]
Expand All @@ -66,6 +67,7 @@ def hooks_generator(self, queryParameterJson=True):
split=2,
schemaType=None,
contentType="application/x-www-form-urlencoded",
ignoreKeys=["@path", "@method"],
),
]
for key in ["v1.1-post", "v2.0-post"]
Expand Down