Skip to content

Commit

Permalink
Support jsonvalue on shapes (#2725)
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp authored Jul 7, 2022
1 parent 15a9f7c commit fb5c80a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def option_tags(operation, api)
if member_ref['idempotencyToken']
docstring = docstring.to_s + "<p><b>A suitable default value is auto-generated.** You should normally not need to pass this option.</b></p>"
end
if member_ref['jsonvalue']
if member_ref['jsonvalue'] || member_shape['jsonvalue']
docstring = docstring.to_s + "<p><b>SDK automatically handles json encoding and base64 encoding for you when the required value (Hash, Array, etc.) is provided according to the description.</b></p>"
end
if member_shape['document']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ class ClientApiModule < View
'xmlNamespace' => true,
'streaming' => true, # transfer-encoding
'requiresLength' => true, # transfer-encoding
'union' => false,
'union' => false, # should remain false
'document' => true,
'jsonvalue' => true,
# event stream modeling
'event' => false,
'eventstream' => false,
Expand Down

0 comments on commit fb5c80a

Please sign in to comment.