1
Fork 0
mirror of https://github.com/thegeneralist01/twitter-openapi synced 2026-01-11 15:40:26 +01:00

remove hook for replacing queryId placeholder

This commit is contained in:
Abdullah Atta 2023-06-12 23:00:16 +05:00
parent 3fe43ba252
commit 56149c3b6d
2 changed files with 0 additions and 16 deletions

View file

@ -118,14 +118,6 @@ class AddSecuritySchemesOnHeader(RequestHookBase):
value["parameters"].extend(param)
return path, value
class ReplaceQueryIdPlaceholder(RequestHookBase):
def hook(self, path: str, value: dict):
path, value = super().hook(path, value)
new = self.PLACEHOLDER[self.path_name]["queryId"]
return path.replace(r"{{queryId}}", new), value
class SetResponsesHeader(RequestHookBase):
suffix: str