This Python package is automatically generated by the OpenAPI Generator project:
- API version: v1.8.0
- Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen
Python >= 3.7
To run the server, please execute the following from the root directory:
pip3 install -r requirements.txt
uvicorn main:app --host 0.0.0.0 --port 8080
and open your browser at http://localhost:8080/docs/
to see the docs.
To run the server on a Docker container, please execute the following from the root directory:
docker-compose up --build
To run the tests:
pip3 install pytest
PYTHONPATH=src pytest tests