William Cheng f9d2b8b579
Prepare v7.18.0 release (#22250)
* Revert "v7.17.0 release (#22248)"

This reverts commit 0120486e6207b41cdd18b89eaf25f061ac87195a.

* prepare v7.18.0 release

* update samples

* update doc
2025-10-30 01:25:35 +08:00
..
2021-06-03 10:13:24 +08:00
2025-10-30 01:25:35 +08:00

OpenAPI generated FastAPI server

This Python package is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Generator version: 7.18.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen

Requirements.

Python >= 3.7

Installation & Usage

To run the server, please execute the following from the root directory:

pip3 install -r requirements.txt
PYTHONPATH=src uvicorn openapi_server.main:app --host 0.0.0.0 --port 8080

and open your browser at http://localhost:8080/docs/ to see the docs.

Running with Docker

To run the server on a Docker container, please execute the following from the root directory:

docker compose up --build

Tests

To run the tests:

pip3 install pytest
PYTHONPATH=src pytest tests