openapi: error on missing api function docstring

This commit is contained in:
Johannes Kirschbauer
2025-07-07 15:48:36 +02:00
parent 79321485c7
commit 23fd4c6e6a

View File

@@ -150,7 +150,7 @@ def main() -> None:
errors.extend(check_res)
if not func_schema.get("description"):
warnings.append(
errors.append(
f"{func_name} doesn't have a description. Python docstring is required for an API function."
)