Skip to content

Commit

Permalink
Added format field in Cat API. (#42)
Browse files Browse the repository at this point in the history
Signed-off-by: Sophia Garg <sofigarg@amazon.com>

Co-authored-by: Sophia Garg <sofigarg@amazon.com>
  • Loading branch information
SOPHIA2401 and Sophia Garg authored Jun 1, 2022
1 parent c7ae0f4 commit 04c24da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
10 changes: 8 additions & 2 deletions model/cat/indices/cat_indicies/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ structure GetCatIndicesInput {
master_timeout: Time,

@httpQuery("timeout")
timeout: Time
timeout: Time,

@httpQuery("format")
format: String
// GetCatIndicesInputCommonParameters end

}
Expand Down Expand Up @@ -66,7 +69,10 @@ structure GetCatIndicesWithIndexInput {
master_timeout: Time,

@httpQuery("timeout")
timeout: Time
timeout: Time,

@httpQuery("format")
format: String
// GetCatIndicesIndexInputCommonParameters End

}
Expand Down
5 changes: 4 additions & 1 deletion model/cat/nodes/cat_nodes/structures.smithy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ structure GetCatNodesInput {
timeout: Time,

@httpQuery("include_unloaded_segments")
include_unloaded_segments: Boolean
include_unloaded_segments: Boolean,

@httpQuery("format")
format: String

// GetCatNodesInput End

Expand Down

0 comments on commit 04c24da

Please sign in to comment.