mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-25 07:16:40 +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)
|
def build_query_string_part(param, value)
|
||||||
name = param[:name]
|
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]
|
case param[:collectionFormat]
|
||||||
when :ssv
|
when :ssv
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user