From 0537fdb2c25d86a2c0b6957b7b1a4f34a501bfdf Mon Sep 17 00:00:00 2001 From: David Vaughan Date: Mon, 23 Dec 2024 16:38:52 -0800 Subject: [PATCH] Fix package name in FastAPI README --- .../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 b9289fdb7e24..5380fa1e1691 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.