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: api.rb
    path of file: ./repos/zero-rails_openapi/lib/open_api/dsl
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'open_api/dsl/helpers'

module OpenApi
  module DSL
    class Api < Hash
      include DSL::Help
    
      def param(param_type, name, type, required, schema = { })
        return if dry_skip&.include?(name) || dry_only&.exclude?(name)
        return unless (schema_obj = process_schema_input(type, schema, name))

        _all_params[name] = schema.is_a?(Hash) ? schema.merge(type:) : { type: } unless param_type["header"]
        override_or_append_to_parameters(
          ParamObj.new(name, param_type, type, required, schema_obj)
        )
      end