1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-12 08:00:27 +01:00

update wip

Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
ふぁ 2025-05-01 01:28:12 +09:00
parent 988d50fd60
commit de523dc052
No known key found for this signature in database
GPG key ID: 83A8A5E74872A8AA
4 changed files with 237 additions and 44 deletions

View file

@ -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