move openapi from rfcs->docs

This commit is contained in:
Xi Yan 2024-09-18 16:09:17 -07:00
parent 21058be0c1
commit 2c1ad10710
15 changed files with 9532 additions and 1 deletions

View file

@ -0,0 +1,9 @@
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>`