mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 23:50:26 +01:00
update wip
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
988d50fd60
commit
de523dc052
4 changed files with 237 additions and 44 deletions
|
|
@ -143,6 +143,8 @@ def main():
|
|||
|
||||
with open("./src/config/placeholder.json", "w") as f:
|
||||
placeholder[endpoint] = placeholder.get(endpoint, {})
|
||||
placeholder[endpoint]["@path"] = f"/i/api/graphql/{query_id}/{endpoint}"
|
||||
placeholder[endpoint]["@method"] = method
|
||||
placeholder[endpoint]["queryId"] = query_id
|
||||
if features:
|
||||
placeholder[endpoint]["features"] = features
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue