mirror of
https://github.com/thegeneralist01/twitter-openapi
synced 2026-01-11 15:40:26 +01:00
fix hook Security
Signed-off-by: ふぁ <yuki@yuki0311.com>
This commit is contained in:
parent
f0daf0ad98
commit
9b89648eda
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ class AddSecuritySchemesOnSecuritySchemes(OpenapiHookBase):
|
|||
component = self.load_component("security_schemes")
|
||||
param = component["components"]["securitySchemes"]
|
||||
value["components"]["securitySchemes"].update(param)
|
||||
value["security"].extend(component["security"])
|
||||
return value
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue