fix a bug related to upgrade_request_type! translation

This commit is contained in:
Jamie Macey 2020-10-12 22:50:48 -07:00
parent 7e1a79220c
commit f6630cc7a6

View File

@ -118,7 +118,7 @@ module Rswag
def build_query_string_part(param, value)
name = param[:name]
return "#{name}=#{value}" unless param[:type].to_sym == :array
return "#{name}=#{value}" unless param.dig(:schema, :type)&.to_sym == :array
case param[:collectionFormat]
when :ssv