Skip to content

Commit 1d4bb81

Browse files
bastantoineRuwann
andauthored
Update docstring of connexion.ConnexionMiddleware.add_api (#2030)
Changes proposed in this pull request: - Update docstring of `connexion.ConnexionMiddleware.add_api` to match return value to actual return. --------- Co-authored-by: Ruwann <[email protected]>
1 parent 550ba1a commit 1d4bb81

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

connexion/middleware/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,6 @@ def add_api(
402402
:param kwargs: Additional keyword arguments to pass to the `add_api` method of the managed
403403
middlewares. This can be used to pass arguments to middlewares added beyond the default
404404
ones.
405-
406-
:return: The Api registered on the wrapped application.
407405
"""
408406
if self.middleware_stack is not None:
409407
raise RuntimeError("Cannot add api after an application has started")

0 commit comments

Comments
 (0)