Skip to content

Commit 812b65c

Browse files
Allow missing descriptions. (#980)
1 parent 995d156 commit 812b65c

File tree

1 file changed

+1
-1
lines changed
  • .generator/src/generator

1 file changed

+1
-1
lines changed

.generator/src/generator/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def cli(specs, output):
121121
api_path = resources_dir / "api" / filename
122122
api_path.parent.mkdir(parents=True, exist_ok=True)
123123
with api_path.open("w") as fp:
124-
fp.write(api_j2.render(name=name, operations=operations, description=tags_by_name[name]["description"]))
124+
fp.write(api_j2.render(name=name, operations=operations, description=tags_by_name[name].get("description")))
125125
all_operations.append((name, operations))
126126

127127
mod_path = resources_dir / "api" / "mod.rs"

0 commit comments

Comments
 (0)