llama-stack-mirror/rfcs/openapi_generator
2024-09-17 11:38:38 -07:00
..
pyopenapi Remove request wrapper migration (#64) 2024-09-12 15:03:49 -07:00
generate.py move core -> distribution 2024-09-17 11:38:38 -07:00
README.md llama_toolchain -> llama_stack 2024-09-16 17:21:08 -07:00
run_openapi_generator.sh rename observability -> Telemetry; regen Spec 2024-09-07 15:23:53 -07:00

The RFC Specification (OpenAPI format) is generated from the set of API endpoints located in llama_stack/[<subdir>]/api/endpoints.py using the generate.py utility.

Please install the following packages before running the script:

pip install python-openapi json-strong-typing fire PyYAML llama-models

Then simply run sh run_openapi_generator.sh <OUTPUT_DIR>