diff --git a/lib/rails_api_doc/controller/request/dsl.rb b/lib/rails_api_doc/controller/request/dsl.rb
index <HASH>..<HASH> 100644
--- a/lib/rails_api_doc/controller/request/dsl.rb
+++ b/lib/rails_api_doc/controller/request/dsl.rb
@@ -39,7 +39,7 @@ module RailsApiDoc
                 define_parameter(param_name, _options, &block)
               end
             else # 1), 3)
-              define_parameter(param_name, options, &block)
+              define_parameter(param, options, &block)
             end
           end
         end
fix type after copy\paste param_name -> param