mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-08 03:10:26 +00:00
Mintlify requires all referenced files under docs/, so consolidate to a single copy and eliminate the symlink and the copy step in the generate script. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
693 B
693 B
Arc
Dev servers
arc serve— starts the Rust API server (demo mode is per-request viaX-Arc-Demo: 1header)cd apps/arc-web && bun run dev— starts the React dev server
API workflow
The OpenAPI spec at docs/api-reference/arc-api.yaml is the source of truth for the arc-api HTTP interface.
- Edit
docs/api-reference/arc-api.yaml cargo build -p arc-types— build.rs regenerates Rust types via typify- Write/update handler in
crates/arc-api/src/server.rs, add route tobuild_router() cargo test -p arc-api— conformance test catches spec/router driftcd packages/arc-api-client && bun run generate— regenerates TypeScript Axios client