omnigraph/crates/omnigraph-server
aaltshuler 127440d873 refactor(server): split lib.rs into handlers and settings modules
Verbatim moves: route handlers + bearer-auth middleware + per-request
authorization + the cluster-prefix OpenAPI rewrite go to handlers.rs;
settings resolution (omnigraph.yaml/CLI/env, mode inference, bearer-token
sources, runtime-state classification) and its in-source test mod go to
settings.rs. lib.rs (1,158 lines) keeps the public types, app/router
assembly, and serve(). The ApiDoc derive references handlers::-qualified
paths; the one multi-line utoipa attribute the cut orphaned was relocated
with its handler. 289 crate tests green, OpenAPI drift check included.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 15:08:25 +03:00
..
examples feat: inline query strings in CLI and HTTP server (#110) 2026-05-29 13:41:54 +02:00
src refactor(server): split lib.rs into handlers and settings modules 2026-06-11 15:08:25 +03:00
tests refactor(server): split the test monolith into area suites 2026-06-11 15:03:51 +03:00
Cargo.toml feat(server): boot from cluster state via --cluster 2026-06-10 17:48:10 +03:00