Skip to content

Commit

Permalink
add comments into code
Browse files Browse the repository at this point in the history
Co-authored-by: Tanmay Mohapatra <[email protected]>
  • Loading branch information
jonalm and tanmaykm authored Mar 14, 2024
1 parent 848c589 commit 08c45f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,8 @@ end
set_param(params::Dict{String,String}, name::String, value::Nothing; collection_format=",") = nothing
function set_param(params::Dict{String,String}, name::String, value; collection_format=",")
if isa(value, Dict)
# implements the default serialization (style=form, explode=true, location=queryparams)
# as mentioned in https://swagger.io/docs/specification/serialization/
for (k, v) in value
params[k] = string(v)
end
Expand Down

0 comments on commit 08c45f5

Please sign in to comment.