Skip to content

Commit c28f419

Browse files
authored
Merge pull request #91 from fa0311/dev
build
2 parents 54acb4a + 594667f commit c28f419

3 files changed

Lines changed: 2 additions & 160 deletions

File tree

dist/compatible/openapi-3.0.yaml

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -4968,14 +4968,6 @@ paths:
49684968
application/json:
49694969
schema:
49704970
properties:
4971-
'@method':
4972-
default: POST
4973-
example: POST
4974-
type: string
4975-
'@path':
4976-
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
4977-
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
4978-
type: string
49794971
queryId:
49804972
default: aoDbu3RHznuiSkQ9aNM67Q
49814973
example: aoDbu3RHznuiSkQ9aNM67Q
@@ -4990,8 +4982,6 @@ paths:
49904982
- tweet_id
49914983
type: object
49924984
required:
4993-
- '@path'
4994-
- '@method'
49954985
- queryId
49964986
- variables
49974987
description: body
@@ -5047,14 +5037,6 @@ paths:
50475037
application/json:
50485038
schema:
50495039
properties:
5050-
'@method':
5051-
default: POST
5052-
example: POST
5053-
type: string
5054-
'@path':
5055-
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
5056-
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
5057-
type: string
50585040
queryId:
50595041
default: ojPdsZsimiJrUGLR1sjUtA
50605042
example: ojPdsZsimiJrUGLR1sjUtA
@@ -5074,8 +5056,6 @@ paths:
50745056
- dark_request
50755057
type: object
50765058
required:
5077-
- '@path'
5078-
- '@method'
50795059
- queryId
50805060
- variables
50815061
description: body
@@ -5131,14 +5111,6 @@ paths:
51315111
application/json:
51325112
schema:
51335113
properties:
5134-
'@method':
5135-
default: POST
5136-
example: POST
5137-
type: string
5138-
'@path':
5139-
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
5140-
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
5141-
type: string
51425114
features:
51435115
properties:
51445116
articles_preview_enabled:
@@ -5370,8 +5342,6 @@ paths:
53705342
- dark_request
53715343
type: object
53725344
required:
5373-
- '@path'
5374-
- '@method'
53755345
- queryId
53765346
- variables
53775347
- features
@@ -5428,14 +5398,6 @@ paths:
54285398
application/json:
54295399
schema:
54305400
properties:
5431-
'@method':
5432-
default: POST
5433-
example: POST
5434-
type: string
5435-
'@path':
5436-
default: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
5437-
example: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
5438-
type: string
54395401
queryId:
54405402
default: Wlmlj2-xzyS1GN3a6cj-mQ
54415403
example: Wlmlj2-xzyS1GN3a6cj-mQ
@@ -5450,8 +5412,6 @@ paths:
54505412
- tweet_id
54515413
type: object
54525414
required:
5453-
- '@path'
5454-
- '@method'
54555415
- queryId
54565416
- variables
54575417
description: body
@@ -5507,14 +5467,6 @@ paths:
55075467
application/json:
55085468
schema:
55095469
properties:
5510-
'@method':
5511-
default: POST
5512-
example: POST
5513-
type: string
5514-
'@path':
5515-
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
5516-
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
5517-
type: string
55185470
queryId:
55195471
default: iQtK4dl5hBmXewYZuEOKVw
55205472
example: iQtK4dl5hBmXewYZuEOKVw
@@ -5534,8 +5486,6 @@ paths:
55345486
- dark_request
55355487
type: object
55365488
required:
5537-
- '@path'
5538-
- '@method'
55395489
- queryId
55405490
- variables
55415491
description: body
@@ -5591,14 +5541,6 @@ paths:
55915541
application/json:
55925542
schema:
55935543
properties:
5594-
'@method':
5595-
default: POST
5596-
example: POST
5597-
type: string
5598-
'@path':
5599-
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
5600-
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
5601-
type: string
56025544
queryId:
56035545
default: VaenaVgh5q5ih7kvyVjgtg
56045546
example: VaenaVgh5q5ih7kvyVjgtg
@@ -5618,8 +5560,6 @@ paths:
56185560
- dark_request
56195561
type: object
56205562
required:
5621-
- '@path'
5622-
- '@method'
56235563
- queryId
56245564
- variables
56255565
description: body
@@ -5675,14 +5615,6 @@ paths:
56755615
application/json:
56765616
schema:
56775617
properties:
5678-
'@method':
5679-
default: POST
5680-
example: POST
5681-
type: string
5682-
'@path':
5683-
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
5684-
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
5685-
type: string
56865618
queryId:
56875619
default: lI07N6Otwv1PhnEgXILM7A
56885620
example: lI07N6Otwv1PhnEgXILM7A
@@ -5697,8 +5629,6 @@ paths:
56975629
- tweet_id
56985630
type: object
56995631
required:
5700-
- '@path'
5701-
- '@method'
57025632
- queryId
57035633
- variables
57045634
description: body
@@ -7083,14 +7013,6 @@ paths:
70837013
application/json:
70847014
schema:
70857015
properties:
7086-
'@method':
7087-
default: POST
7088-
example: POST
7089-
type: string
7090-
'@path':
7091-
default: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
7092-
example: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
7093-
type: string
70947016
queryId:
70957017
default: ZYKSe-w7KEslx3JhSIk5LA
70967018
example: ZYKSe-w7KEslx3JhSIk5LA
@@ -7110,8 +7032,6 @@ paths:
71107032
- dark_request
71117033
type: object
71127034
required:
7113-
- '@path'
7114-
- '@method'
71157035
- queryId
71167036
- variables
71177037
description: body

dist/docs/openapi-3.0.yaml

Lines changed: 0 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -5524,14 +5524,6 @@ paths:
55245524
application/json:
55255525
schema:
55265526
properties:
5527-
'@method':
5528-
default: POST
5529-
example: POST
5530-
type: string
5531-
'@path':
5532-
default: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
5533-
example: /i/api/graphql/aoDbu3RHznuiSkQ9aNM67Q/CreateBookmark
5534-
type: string
55355527
queryId:
55365528
default: aoDbu3RHznuiSkQ9aNM67Q
55375529
example: aoDbu3RHznuiSkQ9aNM67Q
@@ -5546,8 +5538,6 @@ paths:
55465538
- tweet_id
55475539
type: object
55485540
required:
5549-
- '@path'
5550-
- '@method'
55515541
- queryId
55525542
- variables
55535543
description: body
@@ -5603,14 +5593,6 @@ paths:
56035593
application/json:
56045594
schema:
56055595
properties:
5606-
'@method':
5607-
default: POST
5608-
example: POST
5609-
type: string
5610-
'@path':
5611-
default: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
5612-
example: /i/api/graphql/ojPdsZsimiJrUGLR1sjUtA/CreateRetweet
5613-
type: string
56145596
queryId:
56155597
default: ojPdsZsimiJrUGLR1sjUtA
56165598
example: ojPdsZsimiJrUGLR1sjUtA
@@ -5630,8 +5612,6 @@ paths:
56305612
- dark_request
56315613
type: object
56325614
required:
5633-
- '@path'
5634-
- '@method'
56355615
- queryId
56365616
- variables
56375617
description: body
@@ -5687,14 +5667,6 @@ paths:
56875667
application/json:
56885668
schema:
56895669
properties:
5690-
'@method':
5691-
default: POST
5692-
example: POST
5693-
type: string
5694-
'@path':
5695-
default: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
5696-
example: /i/api/graphql/IID9x6WsdMnTlXnzXGq8ng/CreateTweet
5697-
type: string
56985670
features:
56995671
properties:
57005672
articles_preview_enabled:
@@ -5926,8 +5898,6 @@ paths:
59265898
- dark_request
59275899
type: object
59285900
required:
5929-
- '@path'
5930-
- '@method'
59315901
- queryId
59325902
- variables
59335903
- features
@@ -5984,14 +5954,6 @@ paths:
59845954
application/json:
59855955
schema:
59865956
properties:
5987-
'@method':
5988-
default: POST
5989-
example: POST
5990-
type: string
5991-
'@path':
5992-
default: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
5993-
example: /i/api/graphql/Wlmlj2-xzyS1GN3a6cj-mQ/DeleteBookmark
5994-
type: string
59955957
queryId:
59965958
default: Wlmlj2-xzyS1GN3a6cj-mQ
59975959
example: Wlmlj2-xzyS1GN3a6cj-mQ
@@ -6006,8 +5968,6 @@ paths:
60065968
- tweet_id
60075969
type: object
60085970
required:
6009-
- '@path'
6010-
- '@method'
60115971
- queryId
60125972
- variables
60135973
description: body
@@ -6063,14 +6023,6 @@ paths:
60636023
application/json:
60646024
schema:
60656025
properties:
6066-
'@method':
6067-
default: POST
6068-
example: POST
6069-
type: string
6070-
'@path':
6071-
default: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
6072-
example: /i/api/graphql/iQtK4dl5hBmXewYZuEOKVw/DeleteRetweet
6073-
type: string
60746026
queryId:
60756027
default: iQtK4dl5hBmXewYZuEOKVw
60766028
example: iQtK4dl5hBmXewYZuEOKVw
@@ -6090,8 +6042,6 @@ paths:
60906042
- dark_request
60916043
type: object
60926044
required:
6093-
- '@path'
6094-
- '@method'
60956045
- queryId
60966046
- variables
60976047
description: body
@@ -6147,14 +6097,6 @@ paths:
61476097
application/json:
61486098
schema:
61496099
properties:
6150-
'@method':
6151-
default: POST
6152-
example: POST
6153-
type: string
6154-
'@path':
6155-
default: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
6156-
example: /i/api/graphql/VaenaVgh5q5ih7kvyVjgtg/DeleteTweet
6157-
type: string
61586100
queryId:
61596101
default: VaenaVgh5q5ih7kvyVjgtg
61606102
example: VaenaVgh5q5ih7kvyVjgtg
@@ -6174,8 +6116,6 @@ paths:
61746116
- dark_request
61756117
type: object
61766118
required:
6177-
- '@path'
6178-
- '@method'
61796119
- queryId
61806120
- variables
61816121
description: body
@@ -6231,14 +6171,6 @@ paths:
62316171
application/json:
62326172
schema:
62336173
properties:
6234-
'@method':
6235-
default: POST
6236-
example: POST
6237-
type: string
6238-
'@path':
6239-
default: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
6240-
example: /i/api/graphql/lI07N6Otwv1PhnEgXILM7A/FavoriteTweet
6241-
type: string
62426174
queryId:
62436175
default: lI07N6Otwv1PhnEgXILM7A
62446176
example: lI07N6Otwv1PhnEgXILM7A
@@ -6253,8 +6185,6 @@ paths:
62536185
- tweet_id
62546186
type: object
62556187
required:
6256-
- '@path'
6257-
- '@method'
62586188
- queryId
62596189
- variables
62606190
description: body
@@ -9522,14 +9452,6 @@ paths:
95229452
application/json:
95239453
schema:
95249454
properties:
9525-
'@method':
9526-
default: POST
9527-
example: POST
9528-
type: string
9529-
'@path':
9530-
default: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
9531-
example: /i/api/graphql/ZYKSe-w7KEslx3JhSIk5LA/UnfavoriteTweet
9532-
type: string
95339455
queryId:
95349456
default: ZYKSe-w7KEslx3JhSIk5LA
95359457
example: ZYKSe-w7KEslx3JhSIk5LA
@@ -9549,8 +9471,6 @@ paths:
95499471
- dark_request
95509472
type: object
95519473
required:
9552-
- '@path'
9553-
- '@method'
95549474
- queryId
95559475
- variables
95569476
description: body

tools/build_config.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ def hooks_generator(self, queryParameterJson=True):
4848
split=-1,
4949
schemaType=None,
5050
contentType="application/json",
51+
ignoreKeys=["@path", "@method"],
5152
),
5253
]
5354
for key in ["post"]
@@ -66,6 +67,7 @@ def hooks_generator(self, queryParameterJson=True):
6667
split=2,
6768
schemaType=None,
6869
contentType="application/x-www-form-urlencoded",
70+
ignoreKeys=["@path", "@method"],
6971
),
7072
]
7173
for key in ["v1.1-post", "v2.0-post"]

0 commit comments

Comments
 (0)