mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
more flex in this check
This commit is contained in:
parent
68e64dba2c
commit
91a27852f2
@ -118,7 +118,8 @@ module Rswag
|
||||
|
||||
def build_query_string_part(param, value)
|
||||
name = param[:name]
|
||||
return "#{name}=#{value}" unless param.dig(:schema, :type)&.to_sym == :array
|
||||
type = param[:type] || param.dig(:schema, :type)
|
||||
return "#{name}=#{value}" unless type&.to_sym == :array
|
||||
|
||||
case param[:collectionFormat]
|
||||
when :ssv
|
||||
|
||||
Loading…
Reference in New Issue
Block a user