--- id: adapter-from-jsonschema name: from_jsonschema single-endpoint adapter status: pending depends_on: [client-http-host] scope: narrow risk: low impact: component level: implementation tags: [adapters, phase-3] --- ## Description Port `adapters/from_jsonschema.rs` from `/workspace/@alkdev/alknet/crates/alknet-http/src/adapters/from_jsonschema.rs` per ADR-066: caller supplies OperationSpec + HttpServiceConfig + path template + method; one HandlerRegistration with a reqwest forwarding handler (same shape as from_openapi's), FromJsonSchema provenance (leaf, Internal default). Sub op type → StreamingHandler expecting text/event-stream. Shares the forwarding-handler code path with from_openapi. ## Acceptance Criteria - [ ] Adapter ported; one registration per call, correct provenance - [ ] Forwarding round-trip test against a local mock server - [ ] `cargo test` passes ## References - docs/architecture/decisions/066-from-jsonschema-as-http-adapter.md - docs/architecture/http-adapters.md (§from_jsonschema) - alkcall ADR-027 (FromJsonSchema provenance) ## Notes > Agent fills during implementation. ## Summary > Agent fills on completion.