2026-04-10 20:49:41 +03:00
|
|
|
[package]
|
|
|
|
|
name = "omnigraph-server"
|
2026-04-25 14:22:14 +03:00
|
|
|
version = "0.3.1"
|
2026-04-10 20:49:41 +03:00
|
|
|
edition = "2024"
|
|
|
|
|
description = "HTTP server for the Omnigraph graph database."
|
|
|
|
|
license = "MIT"
|
2026-04-14 20:13:00 +03:00
|
|
|
repository = "https://github.com/ModernRelay/omnigraph"
|
|
|
|
|
homepage = "https://github.com/ModernRelay/omnigraph"
|
|
|
|
|
documentation = "https://docs.rs/omnigraph-server"
|
2026-04-10 20:49:41 +03:00
|
|
|
|
|
|
|
|
[[bin]]
|
|
|
|
|
name = "omnigraph-server"
|
|
|
|
|
path = "src/main.rs"
|
|
|
|
|
|
2026-04-18 03:48:51 +03:00
|
|
|
[features]
|
|
|
|
|
default = []
|
|
|
|
|
# Enables the AWS Secrets Manager bearer-token source. Off by default — on-prem
|
|
|
|
|
# and local-dev builds don't pay the AWS SDK compile cost.
|
|
|
|
|
aws = ["dep:aws-config", "dep:aws-sdk-secretsmanager"]
|
|
|
|
|
|
2026-04-10 20:49:41 +03:00
|
|
|
[dependencies]
|
2026-04-25 14:22:14 +03:00
|
|
|
omnigraph = { package = "omnigraph-engine", path = "../omnigraph", version = "0.3.1" }
|
|
|
|
|
omnigraph-compiler = { path = "../omnigraph-compiler", version = "0.3.1" }
|
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-17 21:40:51 +03:00
|
|
|
sha2 = { workspace = true }
|
|
|
|
|
subtle = { workspace = true }
|
2026-04-18 03:31:43 +03:00
|
|
|
async-trait = { workspace = true }
|
2026-04-18 03:48:51 +03:00
|
|
|
aws-config = { version = "1", optional = true, default-features = false, features = ["rustls", "rt-tokio", "credentials-process", "sso"] }
|
|
|
|
|
aws-sdk-secretsmanager = { version = "1", optional = true, default-features = false, features = ["rustls", "rt-tokio"] }
|
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 }
|