diff --git a/relay/views/api.py b/relay/views/api.py index 146afdc..95e3b73 100644 --- a/relay/views/api.py +++ b/relay/views/api.py @@ -24,7 +24,9 @@ async def handle_authorize_get( client_id: str, redirect_uri: str) -> Response: """ - Authorize an application. Redirects to the application's redirect URI if accepted. + Authorize an application. + + Redirects to the application's redirect URI if accepted. :param response_type: What to respond with. Should always be set to ``code``. :param client_id: Application identifier diff --git a/relay/views/base.py b/relay/views/base.py index ba9c3ba..6dba873 100644 --- a/relay/views/base.py +++ b/relay/views/base.py @@ -53,7 +53,7 @@ def parse_docstring(docstring: str) -> tuple[str, dict[str, str]]: body = cast(str, ds.short_description) else: - body = "\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item] + body = "\n\n".join([ds.short_description, ds.long_description]) # type: ignore[list-item] return body, params