class Aws::Api::Docs::OperationDocumenter

def examples_from_disk(method_name, operation)

def examples_from_disk(method_name, operation)
  dir = "doc-src/examples/#{@service_name.downcase}/client/#{method_name}/*.rb"
  Dir.glob(dir).map do |path|
    title = File.basename(path).split(/\./).first
    title = title.sub(/^\d+_/, '').gsub(/_/, ' ')
    title = title[0].upcase + title[1..-1]
    tag("@example #{title}\n\n    " + File.read(path).lines.join('    '))
  end
end