Added openapi based api client

This commit is contained in:
GW_MC
2025-12-05 20:28:59 +08:00
parent 1c051f9502
commit a7524ab076
11 changed files with 1111 additions and 18 deletions

View File

@@ -46,6 +46,8 @@ generate-openapi:
cd apps/api && \
cargo run -- generate:openapi --output-path ./swagger.json
generate-all: generate-entity generate-openapi
build-frontend:
# build frontend assets
cd apps/frontend && \
@@ -56,7 +58,7 @@ build-backend:
cd apps/api && \
cargo build --release
build: build-frontend build-backend
build-apps: build-frontend build-backend
act *args:
if [ -n "{{args}}" ]; then \