Merge branch 'output-specs' into jamie

This commit is contained in:
Jamie Macey
2020-10-17 13:43:05 -07:00
10 changed files with 567 additions and 9 deletions

View File

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