Open
Conversation
- Refresh checked-in spec snapshot from live API.
- Add 9 new client methods: ClickHouse settings (get/list/schema/update)
and organization roles (list/get/create/update/delete).
- Add 8 new model types: ServiceClickhouseSetting{,SchemaEntry,Warning},
ServiceClickhouseSettings{List,PatchRequest,PatchResponse,Schema},
ClickStackAlertExecutionError.
- Add missing fields to existing structs: gcpServiceAttachment on
CreateReversePrivateEndpoint/ReversePrivateEndpoint, thresholdMax/
executionErrors on ClickStack alert structs, where/whereLanguage on
ClickStackFilter{,Input}, numericUnit on ClickStackNumberFormat.
- Extend ClickStackNumberFormatOutput with data_rate/throughput.
- Add inline enums for new fields (whereLanguage variants, numericUnit,
AlertExecutionError type).
Verified: cargo test plus the live-spec ignored tests (5/5) pass.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves #139 by syncing the typed Rust client with the live ClickHouse Cloud OpenAPI spec.
The remaining 20 "field optionality" mismatches reported on the issue are intentional
OPTIONALITY_EXEMPTIONSforServicePostRequest— the spec marks them required but the API rejects zero-value defaults, so they correctly stayOption<T>.Test plan
cargo build(workspace)cargo test(workspace, 247+86 passing)cargo test -p clickhouse-cloud-api --test spec_coverage_test -- --ignored(5/5 live-spec tests pass)cargo clippy(no new warnings from this change)🤖 Generated with Claude Code