Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions exoscale/api/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _status_code_docstring(api_spec, operation, status_code):
)

doc = (
f"dict: {ref['description']}. A dictionnary with the following keys:"
f"dict: {ref['description']}. A dictionary with the following keys:"
+ "\n\n * ".join([""] + list(body.values()))
)
elif "description" in ref:
Expand All @@ -104,7 +104,7 @@ def _return_docstring(api_spec, operation):
for status_code in operation["responses"].keys()
]

return "\n ".join(status_codes_docs)
return "\n\n ".join(status_codes_docs)


class BaseClient:
Expand Down
Loading