class Aws::Api::Docs::ParamFormatter

def apply_comments(ref, text)

def apply_comments(ref, text)
  lines = text.lines.to_a
  if lines[0].match(/\n$/)
    lines[0] = lines[0].sub(/\n$/, comments(ref) + "\n")
  else
    lines[0] += comments(ref)
  end
  lines.join
end