# File lib/sinatra/rabbit.rb, line 90
      def generate_documentation
        coll, oper = @collection, self
        Rabbit::routes << [:get, "#{Sinatra::UrlForHelper::DEFAULT_URI_PREFIX}/docs/#{@collection.name}/#{@name}"]
        ::Sinatra::Application.get("#{Sinatra::UrlForHelper::DEFAULT_URI_PREFIX}/docs/#{@collection.name}/#{@name}") do
          @collection, @operation = coll, oper
          @features = driver.features_for_operation(coll.name, oper.name)
          respond_to do |format|
            format.html { haml 'docs/operation''docs/operation' }
            format.xml { haml 'docs/operation''docs/operation' }
          end
        end
      end