Files
William Cheng 9432aaf4a3 Prepare 7.21.0 snapshot (#22984)
* Revert "v7.20.0 release (#22983)"

This reverts commit bd7fc7f45f.

* update to v7.21.0 snapshot version

* update samples, docs

* update readme
2026-02-16 19:08:09 +08:00
..
2021-06-03 10:13:24 +08:00
2026-02-16 19:08:09 +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.21.0-SNAPSHOT
  • Build package: org.openapitools.codegen.languages.PythonFastAPIServerCodegen

Requirements.

Python >= 3.10

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