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:
Robert Parini
2024-01-02 11:14:19 +00:00
committed by GitHub
parent 0ae9ba811a
commit f8f461c524

View File

@@ -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`