mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
docs: Fix incorrect link and command for generating API reference (#1124)
This commit is contained in:
parent
743f434860
commit
6b1773d530
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
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.
|
The RFC Specification (OpenAPI format) is generated from the set of API endpoints located in `llama_stack/distribution/server/endpoints.py` using the `generate.py` utility.
|
||||||
|
|
||||||
Please install the following packages before running the script:
|
Please install the following packages before running the script:
|
||||||
|
|
||||||
|
@ -6,4 +6,4 @@ Please install the following packages before running the script:
|
||||||
pip install python-openapi json-strong-typing fire PyYAML llama-models
|
pip install python-openapi json-strong-typing fire PyYAML llama-models
|
||||||
```
|
```
|
||||||
|
|
||||||
Then simply run `sh run_openapi_generator.sh <OUTPUT_DIR>`
|
Then simply run `sh run_openapi_generator.sh`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue