feat: added openapi generation for agent

This commit is contained in:
GW_MC
2025-12-28 15:15:42 +08:00
parent 9a264a61ac
commit bb55e37b49
7 changed files with 403 additions and 78 deletions

View File

@@ -50,9 +50,9 @@ generate-openapi:
# Generate API client for frontend
cd apps/frontend && \
pnpm generate:openapi
generate-all: generate-entity generate-openapi
# Generate API client for agent
cd apps/agent && \
cargo run -- generate-openapi --output swagger.json
build-frontend:
# build frontend assets