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:
2026-07-01 18:18:28 +00:00
parent 9df9900bb9
commit 6b30e2ac15
2 changed files with 1533 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -8,4 +8,6 @@
//! `docs/architecture/crates/http/http-adapters.md` and
//! `docs/architecture/crates/http/http-mcp.md`.
// TODO: implement
pub mod from_openapi;
pub use from_openapi::{FromOpenAPI, HttpAuthScheme, HttpServiceConfig, OpenAPISpec};