From 357a708ebbc65bf797087d153fcd9bab193832d6 Mon Sep 17 00:00:00 2001 From: DavidRV00 <46629825+DavidRV00@users.noreply.github.com> Date: Thu, 26 Dec 2024 08:27:06 -0800 Subject: [PATCH] Fix package name in FastAPI README (#20371) --- .../src/main/resources/python-fastapi/README.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/openapi-generator/src/main/resources/python-fastapi/README.mustache b/modules/openapi-generator/src/main/resources/python-fastapi/README.mustache index b9289fdb7e2..5380fa1e169 100644 --- a/modules/openapi-generator/src/main/resources/python-fastapi/README.mustache +++ b/modules/openapi-generator/src/main/resources/python-fastapi/README.mustache @@ -19,7 +19,7 @@ To run the server, please execute the following from the root directory: ```bash pip3 install -r requirements.txt -PYTHONPATH=src uvicorn openapi_server.main:app --host 0.0.0.0 --port {{serverPort}} +PYTHONPATH=src uvicorn {{packageName}}.main:app --host 0.0.0.0 --port {{serverPort}} ``` and open your browser at `http://localhost:{{serverPort}}/docs/` to see the docs.