You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: desc.rb
    path of file: ./repos/grape/lib/grape/dsl
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Grape
  module DSL
    module Desc
      include Grape::DSL::Settings

      ROUTE_ATTRIBUTES = %i[
        body_name
        consumes
        default
        deprecated
        description
        detail
        entity
        hea
    
      def desc_container(endpoint_configuration)
        Module.new do
          include Grape::Util::StrictHashConfiguration.module(*ROUTE_ATTRIBUTES)
          config_context.define_singleton_method(:configuration) do
            endpoint_configuration
          end

          def config_context.success(*args)
            entity(*args)
          end

          def config_context.failure(*args)
            http_codes(*args)
          end
        end
      end