From 6b1773d530e9f168f86beb83a6ec6af73555efe4 Mon Sep 17 00:00:00 2001 From: Yuan Tang Date: Sat, 15 Feb 2025 22:05:23 -0500 Subject: [PATCH] docs: Fix incorrect link and command for generating API reference (#1124) --- docs/openapi_generator/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/openapi_generator/README.md b/docs/openapi_generator/README.md index 9d407905d..e98cfaf1b 100644 --- a/docs/openapi_generator/README.md +++ b/docs/openapi_generator/README.md @@ -1,4 +1,4 @@ -The RFC Specification (OpenAPI format) is generated from the set of API endpoints located in `llama_stack/[]/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: @@ -6,4 +6,4 @@ 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 ` +Then simply run `sh run_openapi_generator.sh`