mirror of
https://github.com/LukeHagar/connexion.git
synced 2025-12-06 04:19:26 +00:00
Fix quickstart WSGI example typo (#1845)
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)`
This commit is contained in:
@@ -102,7 +102,7 @@ built using either the :code:`AsyncApp` or :code:`FlaskApp`.
|
|||||||
|
|
||||||
wsgi_app = App(__name__)
|
wsgi_app = App(__name__)
|
||||||
asgi_app = WSGIMiddleware(wsgi_app)
|
asgi_app = WSGIMiddleware(wsgi_app)
|
||||||
app = ConnexionMiddleware(app)
|
app = ConnexionMiddleware(asgi_app)
|
||||||
|
|
||||||
.. dropdown:: View a detailed reference of the options accepted by the
|
.. dropdown:: View a detailed reference of the options accepted by the
|
||||||
:code:`ConnexionMiddleware`
|
:code:`ConnexionMiddleware`
|
||||||
|
|||||||
Reference in New Issue
Block a user