Files
letta-server/letta/server/generate_openapi_schema.sh
Kian Jones b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00

13 lines
351 B
Bash
Executable File

#!/bin/sh
echo "Generating OpenAPI schema..."
# check if uv is installed
if ! command -v uv &> /dev/null
then
echo "uv could not be found. Please install uv to generate the OpenAPI schema."
exit
fi
# generate OpenAPI schema
uv run python -c 'from letta.server.rest_api.app import app, generate_openapi_schema; generate_openapi_schema(app);'