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:
parent
3fe43ba252
commit
56149c3b6d
2 changed files with 0 additions and 16 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue