diff --git a/lib/apipie/response_description.rb b/lib/apipie/response_description.rb index 775998c4..fd226bfd 100644 --- a/lib/apipie/response_description.rb +++ b/lib/apipie/response_description.rb @@ -78,15 +78,6 @@ def self.from_dsl_data(method_description, code, args) adapter) end - def is_array? - @is_array_of != false - end - - def typename - @response_object.typename - end - - def initialize(method_description, code, options, scope, block, adapter) @type_ref = options[:param_group] @@ -119,6 +110,14 @@ def initialize(method_description, code, options, scope, block, adapter) @response_object.additional_properties ||= options[:additional_properties] end + def is_array? + @is_array_of != false + end + + def typename + @response_object.typename + end + def param_description nil end