Open chrisinmtown opened 3 months ago
Here's the diff of the change I propose:
% git diff v3.rst
diff --git a/docs/v3.rst b/docs/v3.rst
index 260b9e1..9d34526 100644
--- a/docs/v3.rst
+++ b/docs/v3.rst
@@ -94,11 +94,11 @@ Instead, you need to run the Connexion application using an ASGI server:
.. code-block:: bash
- $ uvicorn run:app
+ $ uvicorn hello:app
.. code-block:: bash
- $ gunicorn -k uvicorn.workers.UvicornWorker run:app
+ $ gunicorn -k uvicorn.workers.UvicornWorker hello:app
.. warning::
Description
I'm trying to migrate from v2 to v3, and started by reading https://connexion.readthedocs.io/en/latest/v3.html
The section "Running the application" shows a file named
hello.py
with this content:Then instructs me to issue one of these commands to run the application:
I think these should read:
Expected behaviour
The app starts with the expected output:
Actual behaviour
The module "run" is not found:
Steps to reproduce
hello.py
with content shown aboveuvicorn run:app
Additional info:
Look, I realize this bug is trivial. Still the complexity of migrating this app is large, and when the very first step doesn't work, it is frustrating.
Thanks for listening.