llama-stack/docs/openapi_generator
2025-02-13 08:46:43 -08:00
..
pyopenapi fix: make backslash work in GET /models/{model_id:path} (#1068) 2025-02-13 08:46:43 -08:00
strong_typing Fix the OpenAPI HTML 2025-02-04 10:38:49 -08:00
generate.py Update OpenAPI generator to add param and field documentation (#896) 2025-01-29 10:04:30 -08:00
README.md move openapi from rfcs->docs 2024-09-18 16:09:17 -07:00
run_openapi_generator.sh Several documentation fixes and fix link to API reference 2025-02-04 14:00:43 -08: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>