class Aws::Api::Docs::SharedExample

def list(json, ref, indent, path)

def list(json, ref, indent, path)
  lines = ["["]
  json.each_with_index do |member, index|
    path << "[#{index}]"
    shape_val = entry(member, ref.shape.member, "#{indent}  ", path)
    if shape_val.is_a?(Array)
      shape_val = shape_val.join("\n")
    end
    lines << "#{indent}  #{shape_val}, #{apply_comments(path)}"
    path.pop
  end
  lines << "#{indent}]"
  lines
end