Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed spec to make it inline with server #161

Merged
merged 1 commit into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions model/_global/delete_pit/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ list PitIds{
}


@documentation("The point-in-time ids to be deleted")
structure DeletePit_BodyParams {
@required
pit_id: PitIds
Expand Down
3 changes: 3 additions & 0 deletions model/cluster/exists_component_template/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ structure ClusterExistsComponentTemplate_QueryParams {
@httpQuery("master_timeout")
master_timeout: MasterTimeout,

@httpQuery("cluster_manager_timeout")
cluster_manager_timeout: ClusterManagerTimeout,

@httpQuery("local")
@default(false)
local: Local,
Expand Down
4 changes: 0 additions & 4 deletions model/cluster/health/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,6 @@ structure ClusterHealth_QueryParams {

@httpQuery("awareness_attribute")
awareness_attribute: AwarenessAttribute,

@httpQuery("ensure_node_commissioned")
@default(false)
ensure_node_commissioned: EnsureNodeCommissioned,
}


Expand Down
3 changes: 3 additions & 0 deletions model/indices/delete/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ structure IndicesDelete_QueryParams {
@default(false)
allow_no_indices: AllowNoIndices,

@httpQuery("cluster_manager_timeout")
cluster_manager_timeout: ClusterManagerTimeout,

@httpQuery("expand_wildcards")
@default("open")
expand_wildcards: ExpandWildcards,
Expand Down
3 changes: 3 additions & 0 deletions model/indices/exists_index_template/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ structure IndicesExistsIndexTemplate_QueryParams {
@httpQuery("master_timeout")
master_timeout: MasterTimeout,

@httpQuery("cluster_manager_timeout")
cluster_manager_timeout: ClusterManagerTimeout,

@httpQuery("local")
@default(false)
local: Local,
Expand Down
3 changes: 3 additions & 0 deletions model/indices/exists_template/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ structure IndicesExistsTemplate_QueryParams {
@httpQuery("master_timeout")
master_timeout: MasterTimeout,

@httpQuery("cluster_manager_timeout")
cluster_manager_timeout: ClusterManagerTimeout,

@httpQuery("local")
@default(false)
local: Local,
Expand Down
3 changes: 3 additions & 0 deletions model/indices/open/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ structure IndicesOpen_QueryParams {
@default("closed")
expand_wildcards: ExpandWildcards,

@httpQuery("cluster_manager_timeout")
cluster_manager_timeout: ClusterManagerTimeout,

@httpQuery("wait_for_active_shards")
@documentation("Sets the number of active shards to wait for before the operation returns.")
wait_for_active_shards: WaitForActiveShards,
Expand Down
Loading