diff --git a/kube-client/src/api/remote_command.rs b/kube-client/src/api/remote_command.rs index 299dffff9..a0a78572a 100644 --- a/kube-client/src/api/remote_command.rs +++ b/kube-client/src/api/remote_command.rs @@ -28,6 +28,7 @@ type TerminalSizeSender = mpsc::Sender; /// TerminalSize define the size of a terminal #[derive(Debug, Serialize, Deserialize)] #[cfg_attr(docsrs, doc(cfg(feature = "ws")))] +#[serde(rename_all = "PascalCase")] pub struct TerminalSize { /// width of the terminal pub width: u16,