2026-04-10 20:49:41 +03:00
|
|
|
[package]
|
|
|
|
|
name = "omnigraph-server"
|
2026-04-12 20:35:34 +03:00
|
|
|
version = "0.2.0"
|
2026-04-10 20:49:41 +03:00
|
|
|
edition = "2024"
|
|
|
|
|
description = "HTTP server for the Omnigraph graph database."
|
|
|
|
|
license = "MIT"
|
|
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "omnigraph-server"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
|
|
|
|
[dependencies]
|
2026-04-12 20:35:34 +03:00
|
|
|
omnigraph = { path = "../omnigraph", version = "0.2.0" }
|
|
|
|
|
omnigraph-compiler = { path = "../omnigraph-compiler", version = "0.2.0" }
|
2026-04-10 20:49:41 +03:00
|
|
|
axum = { workspace = true }
|
|
|
|
|
clap = { workspace = true }
|
|
|
|
|
color-eyre = { workspace = true }
|
|
|
|
|
serde = { workspace = true }
|
|
|
|
|
serde_json = { workspace = true }
|
|
|
|
|
tokio = { workspace = true }
|
|
|
|
|
serde_yaml = { workspace = true }
|
|
|
|
|
tracing = { workspace = true }
|
|
|
|
|
tracing-subscriber = { workspace = true }
|
|
|
|
|
tower-http = { workspace = true }
|
Add OpenAPI spec generation via utoipa with /openapi.json endpoint
Integrate utoipa 5 to auto-generate an OpenAPI 3.1 spec from the existing
Axum handlers and serde types. All 16 endpoints are annotated with path
metadata, request/response schemas, security requirements, and tags. A
public /openapi.json endpoint serves the spec without requiring auth.
Includes 59 tests covering path completeness, HTTP methods, schema fields,
enum variants, security scheme, path/query parameters, request bodies,
response references, and endpoint integration.
https://claude.ai/code/session_01NfoPVx21rZUQned1f7WpXY
2026-04-11 13:11:14 +00:00
|
|
|
utoipa = { workspace = true }
|
2026-04-10 20:49:41 +03:00
|
|
|
cedar-policy = { workspace = true }
|
2026-04-11 19:01:48 +03:00
|
|
|
futures = { workspace = true }
|
2026-04-10 20:49:41 +03:00
|
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
|
tempfile = { workspace = true }
|
|
|
|
|
tower = { workspace = true }
|
|
|
|
|
serial_test = "3"
|
2026-04-12 04:01:14 +03:00
|
|
|
lance-index = { workspace = true }
|