mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-09-21 05:12:48 +00:00
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
12 lines
268 B
Bash
12 lines
268 B
Bash
#! /usr/bin/env bash
|
|
|
|
set -e
|
|
set -x
|
|
|
|
cd backend
|
|
FASTAPI_ENV=development 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
|