Files
app/scripts/generate-client.sh
T
2026-02-03 21:43:09 +01:00

12 lines
244 B
Bash

#! /usr/bin/env bash
set -e
set -x
cd backend
uv run python -c "import app.main; import json; print(json.dumps(app.main.app.openapi()))" > ../openapi.json
cd ..
mv openapi.json frontend/
bun run --filter frontend generate-client
bun run lint