Skip to main content

Module meta

Module meta 

Source
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.py

The 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::Client method names) that the OpenAPI spec marks Beta via x-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 true if name matches a client method backed by a Beta endpoint.
is_deprecated_field
Returns true if (struct_name, field_name) is a deprecated field that this crate removes from the generated struct by default.