Skip to content

Commit 6a69321

Browse files
authored
Merge pull request #23 from tmeiczin/tjm/auth
fix security list
2 parents 4548156 + 1c04908 commit 6a69321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reliqua/openapi.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ def security_schemes(self):
627627
def security_names(self):
628628
"""Return security list."""
629629
authenticators = [x for y in self.auth for x in y.authenticators]
630-
return {x.name: [] for x in authenticators}
630+
return [{x.name: []} for x in authenticators]
631631

632632
@property
633633
def components(self):

0 commit comments

Comments
 (0)