diff --git a/backend/main.py b/backend/main.py index 8204356..903b536 100644 --- a/backend/main.py +++ b/backend/main.py @@ -42,6 +42,9 @@ app = FastAPI( title=project_name, description="Backend for next-gen sample management system", version=project_version, + servers=[ + {"url": "https://mx-aare-test.psi.ch:1492", "description": "Default server"} + ], ) # Determine environment and configuration file path diff --git a/make_openapi_client.sh b/make_openapi_client.sh index 44503b8..e56c706 100755 --- a/make_openapi_client.sh +++ b/make_openapi_client.sh @@ -36,7 +36,7 @@ java -jar openapi-generator-cli.jar generate \ -i openapi.json \ -o python-client/ \ -g python \ - --additional-properties=packageName="${NAME}_client",projectName="${NAME}",packageVersion="${VERSION}" + --additional-properties=packageName="${NAME}client",projectName="${NAME}",packageVersion="${VERSION}" if [[ ! -d python-client ]]; then echo "Error: Failed to generate Python client." diff --git a/pyproject.toml b/pyproject.toml index bbfbfe0..c043e5c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "aareDB" -version = "0.1.0a4" +version = "0.1.0a5" description = "Backend for next gen sample management system" authors = [{name = "Guillaume Gotthard", email = "guillaume.gotthard@psi.ch"}] license = {text = "MIT"}