diff --git a/src/adapters/from_openapi.rs b/src/adapters/from_openapi.rs index 125a4aa..1b07fcb 100644 --- a/src/adapters/from_openapi.rs +++ b/src/adapters/from_openapi.rs @@ -465,7 +465,7 @@ impl FromOpenAPI { `paths` for this path's `parameters` (and the path-item's shared \ list) has `name` and `in`, and that its $ref, if any, resolves. \ The placeholder would otherwise render as a literal `{{}}` path segment", - bounded_join(&[path_template.to_string()]), + bounded_join(std::slice::from_ref(&path_template)), bounded_join(&unbound) ), }); diff --git a/src/websocket/upgrade.rs b/src/websocket/upgrade.rs index 87ce669..3d02528 100644 --- a/src/websocket/upgrade.rs +++ b/src/websocket/upgrade.rs @@ -267,14 +267,17 @@ impl WsSessions { #[derive(Clone)] pub struct OpenableAlpn { /// The open-op spec (Query/Mutation/Sub with the `channel_open` - /// marker; a `Pub` open op resolves `channel:pub_open_not_implemented` - /// per the upstream C-08 stub until channel adoption lands). + /// marker). A `Pub`-typed marked spec is refused loudly at + /// registration by the upstream openable path (marked pub + /// openables register via alkcall's + /// `ChannelCore::register_pub_openable`, which this WS fork + /// wrapper does not thread yet). pub spec: OperationSpec, /// The data-plane protocol handler spawned on the allocated /// channel's `Connection` — `Fn(Value, Option, /// Connection, AuthContext) -> JoinHandle<()>`. With an - /// establisher attached, the plan (alkcall 0.6.0 / - /// ADR-049 amendment 2) is the establisher's `Establishment.plan`: + /// establisher attached, the plan (alkcall ADR-049 + /// amendment 2) is the establisher's `Establishment.plan`: /// the establisher and the handler agree on the concrete type /// (downcast in the ALPN crate); `None` when no establisher is /// registered or it returned `Establishment::default()`