Merge feat/http-from-openapi: from_openapi adapter (OpenAPI parser, reqwest forwarding, no-env-vars)
Implements FromOpenAPI in src/adapters/from_openapi.rs: OpenAPISpec/HttpServiceConfig/ HttpAuthScheme types, $ref resolution, OperationAdapter::import() producing HandlerRegistration bundles (Internal visibility, FromOpenAPI provenance, HTTP_<status> error codes per ADR-023). Reqwest forwarding handlers read credentials from OperationContext.capabilities (no-env-vars ADR-014) via SharedHttpClient. JSON/text/binary response branching, SSE subscription streaming, Bearer/ApiKey/Basic auth injection. 98 tests pass.
This commit is contained in:
1530
crates/alknet-http/src/adapters/from_openapi.rs
Normal file
1530
crates/alknet-http/src/adapters/from_openapi.rs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user