diff --git a/openapi/crucible-control.json b/openapi/crucible-control.json index c0ea3593d..a2f369725 100644 --- a/openapi/crucible-control.json +++ b/openapi/crucible-control.json @@ -287,7 +287,7 @@ ] }, "DsState": { - "description": "High-level states for a Downstairs\n\nThe state machine for a Downstairs is relatively simple:\n\n```text ┌────────────┐ ┌────► LiveRepair ├─────┐ ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ │Connecting│ │ │Stopping│ └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ │ └────► Active ├─────┘ │ │ └─────┬──────┘ │ │ │ │ └─────────────────◄┴─────────────────┘ ```\n\nComplexity is hidden in the `Connecting` state, which wraps a [`NegotiationState`] implementing the negotiation state machine.", + "description": "High-level states for a Downstairs\n\nThe state machine for a Downstairs is relatively simple:\n\n```text ┌────────────┐ ┌────► LiveRepair ├─────┐ start ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ ────►│Connecting│ │ │Stopping│ └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ │ └────► Active ├─────┘ │ │ └─────┬──────┘ │ │ │ │ └─────────────────◄┴─────────────────┘ ```\n\nComplexity is hidden in the `Connecting` state, which wraps a [`NegotiationState`] implementing the negotiation state machine.", "oneOf": [ { "description": "New connection", diff --git a/upstairs/src/lib.rs b/upstairs/src/lib.rs index dc215e886..f6cf449a9 100644 --- a/upstairs/src/lib.rs +++ b/upstairs/src/lib.rs @@ -719,15 +719,15 @@ pub(crate) struct RawReadResponse { /// The state machine for a Downstairs is relatively simple: /// /// ```text -/// ┌────────────┐ -/// ┌────► LiveRepair ├─────┐ -/// ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ -/// │Connecting│ │ │Stopping│ -/// └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ -/// │ └────► Active ├─────┘ │ -/// │ └─────┬──────┘ │ -/// │ │ │ -/// └─────────────────◄┴─────────────────┘ +/// ┌────────────┐ +/// ┌────► LiveRepair ├─────┐ +/// start ┌─────────┴┐ └─────┬──────┘ ┌─▼──────┐ +/// ────►│Connecting│ │ │Stopping│ +/// └─▲───────┬┘ ┌─────▼──────┐ └─▲────┬─┘ +/// │ └────► Active ├─────┘ │ +/// │ └─────┬──────┘ │ +/// │ │ │ +/// └─────────────────◄┴─────────────────┘ /// ``` /// /// Complexity is hidden in the `Connecting` state, which wraps a