Expand description
Serde helpers used by generated models.
Functions§
- null_
to_ empty - Deserialize a
Vec<T>field, treating an explicit JSONnullthe same as an empty array. Required because the ClickHouse Cloud API emitsnullfor some array-valued fields that its OpenAPI spec declares as non-nullablearrays (e.g.reversePrivateEndpointIdson Kafka sources). With plain#[serde(default)], a missing field works but an explicitnullfails with “invalid type: null, expected a sequence”.