Skip to content

Commit

Permalink
Fixed spec to make it inline with server
Browse files Browse the repository at this point in the history
Signed-off-by: saimedhi <[email protected]>
  • Loading branch information
saimedhi committed Oct 11, 2023
1 parent 037843f commit 780d352
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 4 deletions.
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

0 comments on commit 780d352

Please sign in to comment.