Skip to content

Commit

Permalink
Fix quickstart WSGI example typo (#1845)
Browse files Browse the repository at this point in the history
Small fix to the example code in the documentation for using the
`a2wsgi` workaround. The `app` variable is not defined prior to `app =
ConnexionMiddleware(app)`
  • Loading branch information
rparini authored Jan 2, 2024
1 parent 0ae9ba8 commit f8f461c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ built using either the :code:`AsyncApp` or :code:`FlaskApp`.
wsgi_app = App(__name__)
asgi_app = WSGIMiddleware(wsgi_app)
app = ConnexionMiddleware(app)
app = ConnexionMiddleware(asgi_app)
.. dropdown:: View a detailed reference of the options accepted by the
:code:`ConnexionMiddleware`
Expand Down

0 comments on commit f8f461c

Please sign in to comment.