feat(http): implement from_openapi adapter (OpenAPI parse + reqwest forwarding handlers)

Parses OpenAPI 3.x documents into HandlerRegistration bundles with
reqwest-backed forwarding handlers that inject credentials from
OperationContext.capabilities (no-env-vars invariant, ADR-014).
Error codes are prefixed HTTP_<status> (ADR-023); ops are Internal
leaves with FromOpenAPI provenance (ADR-015/022). SSE subscriptions
are consumed via parseSSEFrames; JSON/text/binary response branching
mirrors the TS prior art.
This commit is contained in:
glm-5.2 committed 2026-07-01 18:18:28 +00:00
1 parent 9df9900bb9
commit 6b30e2ac15
2 files changed
+1533 -1

No files matched your search

File diff suppressed because it is too large. Load diff
+3 -1
View File
@@ -8,4 +8,6 @@
//! `docs/architecture/crates/http/http-adapters.md` and //! `docs/architecture/crates/http/http-adapters.md` and
//! `docs/architecture/crates/http/http-mcp.md`. //! `docs/architecture/crates/http/http-mcp.md`.
// TODO: implement pub mod from_openapi;
pub use from_openapi::{FromOpenAPI, HttpAuthScheme, HttpServiceConfig, OpenAPISpec};