mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
scripts/api_filter_schema: fix authentication (#21644)
This commit is contained in:
committed by
GitHub
parent
abb65d2682
commit
d51296cbb9
@@ -55,6 +55,9 @@ def filter_components(schema: dict[str, Any], refs: set[str]) -> dict[str, Any]:
|
||||
filtered = {}
|
||||
|
||||
for section, entries in components.items():
|
||||
if section in ("securitySchemes",):
|
||||
filtered[section] = entries
|
||||
continue
|
||||
if not isinstance(entries, dict):
|
||||
continue
|
||||
kept = {}
|
||||
|
||||
Reference in New Issue
Block a user