Expand description
Operation stability metadata.
BETA_OPERATIONS mirrors x-badges entries on operations in the ClickHouse
Cloud OpenAPI spec. The list is kept sorted so is_beta_operation can use
binary_search and snapshot diffs stay readable.
Consumers — including this crate’s own CLI — can use is_beta_operation
to render a “(Beta)” affordance derived from the spec rather than maintained
by hand.
Regenerate from the snapshot with:
python3 scripts/regenerate-beta-lists.pyThe beta_operations_match_spec test in tests/spec_coverage_test.rs fails
if this list drifts from the spec.
Constants§
- BETA_
OPERATIONS - Snake-case operation IDs (matching
crate::client::Clientmethod names) that the OpenAPI spec marks Beta viax-badges. - DEPRECATED_
FIELDS - Schema fields the OpenAPI spec marks
deprecated: true, as(RustStructName, specFieldName)pairs. Covers both response-side and request-side schemas.
Functions§
- is_
beta_ operation - Returns
trueifnamematches a client method backed by a Beta endpoint. - is_
deprecated_ field - Returns
trueif(struct_name, field_name)is a deprecated field that this crate removes from the generated struct by default.