Skip to content

Commit

Permalink
fix(Scripts): fix openapi script to comply with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
squioc committed Feb 19, 2024
1 parent 3421902 commit c716691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sekoia_automation/scripts/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def get_action_name(
) -> str:
name: str = ""

if "summary" in action_method and action_method["summary"]:
if action_method.get("summary"):
if use_tags and action_method.get("tags"):
name = "-".join(action_method["tags"])
name += "_"
Expand Down

0 comments on commit c716691

Please sign in to comment.