fabro/crates/arc-api/Cargo.toml
Bryan Helmkamp 1334a952af Add spec-first OpenAPI for arc-api with generated types
- Create openapi/arc-api.yaml as source of truth for all API endpoints
- Add arc-types crate with build.rs using typify to generate Rust structs
  from the spec's component schemas
- Refactor server.rs to use generated types instead of hand-written ones
- Add route coverage conformance test validating router matches spec
- Add openapi-typescript to arc-web for TypeScript type generation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 21:43:49 -05:00

40 lines
956 B
TOML

[package]
name = "arc-api"
edition.workspace = true
version.workspace = true
license.workspace = true
description = "HTTP API server for Arc pipelines"
[lib]
doctest = false
[dependencies]
arc-workflows = { path = "../arc-workflows" }
arc-agent = { path = "../arc-agent" }
arc-llm = { path = "../arc-llm" }
arc-util = { path = "../arc-util" }
arc-db = { path = "../arc-db" }
arc-types = { path = "../arc-types" }
axum = "0.8"
dirs.workspace = true
sqlx.workspace = true
tower = "0.5"
tokio-stream = { workspace = true, features = ["sync"] }
jsonwebtoken.workspace = true
tokio.workspace = true
serde.workspace = true
serde_json.workspace = true
anyhow.workspace = true
clap.workspace = true
toml.workspace = true
tracing.workspace = true
ulid.workspace = true
uuid.workspace = true
[dev-dependencies]
tokio = { workspace = true, features = ["test-util", "macros"] }
tower = "0.5"
http-body-util = "0.1"
tempfile = "3"
openapiv3 = "2"
serde_yaml = "0.9"