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: bad_request_error.rb
    path of file: ./repos/vets-api/app/swagger/swagger/responses
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Swagger
  module Responses
    module BadRequestError
      def
    
      def self.extended(base)
        base.response 400 do
          key :description, 'Bad Request'
          schema do
            key :$ref, :Errors
          end
        end
      end