llama-stack-mirror/docs/openapi_generator
2024-09-23 10:57:26 -07:00
..
pyopenapi Add strong_typing, add defaults 2024-09-23 10:57:26 -07:00
strong_typing Add strong_typing, add defaults 2024-09-23 10:57:26 -07:00
generate.py Add strong_typing, add defaults 2024-09-23 10:57:26 -07:00
README.md move openapi from rfcs->docs 2024-09-18 16:09:17 -07:00
run_openapi_generator.sh Add strong_typing, add defaults 2024-09-23 10:57:26 -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>