Skip to content

Commit

Permalink
Update request handling documentation (#1741)
Browse files Browse the repository at this point in the history
Contributes to #1531
  • Loading branch information
RobbeSneyders authored Oct 15, 2023
1 parent 415d383 commit b102ad9
Show file tree
Hide file tree
Showing 5 changed files with 441 additions and 233 deletions.
2 changes: 1 addition & 1 deletion docs/_static/css/default.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.rst-content .code-block-caption {
text-align: left;
padding: 0px, 0px, 5px, 5px;
padding: 0px 0px 5px 5px;
}
4 changes: 4 additions & 0 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ built using either the :code:`AsyncApp` or :code:`FlaskApp`.
:sync: AsyncApp

.. code-block:: python
:caption: **app.py**
from connexion import AsyncApp
Expand All @@ -65,6 +66,7 @@ built using either the :code:`AsyncApp` or :code:`FlaskApp`.
:code:`flask` extra.

.. code-block:: python
:caption: **app.py**
from connexion import FlaskApp
Expand All @@ -80,6 +82,7 @@ built using either the :code:`AsyncApp` or :code:`FlaskApp`.
:sync: ConnexionMiddleware

.. code-block:: python
:caption: **app.py**
from asgi_framework import App
from connexion import ConnexionMiddleware
Expand All @@ -91,6 +94,7 @@ built using either the :code:`AsyncApp` or :code:`FlaskApp`.
You can also wrap a WSGI application leveraging the :code:`a2wsgi.WSGIMiddleware`:

.. code-block:: python
:caption: **app.py**
from wsgi_framework import App
from connexion import ConnexionMiddleware
Expand Down
Loading

0 comments on commit b102ad9

Please sign in to comment.