omnigraph/crates/omnigraph-server/src
Claude 4c07d3c095
Make /openapi.json reflect runtime auth configuration
The served OpenAPI spec now matches runtime behavior: when no bearer
tokens or policy are configured (open mode), the spec omits security
schemes and per-operation security requirements. When auth is active,
the full bearer_token security metadata is included.

Also fixes SecurityAddon to initialize components if absent, and
removes the redundant utoipa dev-dependency.

Adds 5 new tests covering open-mode vs auth-mode spec serving.

https://claude.ai/code/session_01NfoPVx21rZUQned1f7WpXY
2026-04-12 11:04:13 +00:00
..
api.rs Add OpenAPI spec generation via utoipa with /openapi.json endpoint 2026-04-12 11:03:23 +00:00
config.rs Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00
lib.rs Make /openapi.json reflect runtime auth configuration 2026-04-12 11:04:13 +00:00
main.rs Initial public Omnigraph repository 2026-04-10 20:49:41 +03:00
policy.rs Add schema apply command and policy support 2026-04-12 04:01:14 +03:00