mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 01:07:07 +00:00
Add map property in url params (#10154)
* Add map property in request params * Regenerate samples to include map in url property
This commit is contained in:
@@ -1193,6 +1193,7 @@ module Petstore
|
||||
# @param url [Array<String>]
|
||||
# @param context [Array<String>]
|
||||
# @param [Hash] opts the optional parameters
|
||||
# @option opts [Hash<String, String>] :language
|
||||
# @return [nil]
|
||||
def test_query_parameter_collection_format(pipe, ioutil, http, url, context, opts = {})
|
||||
test_query_parameter_collection_format_with_http_info(pipe, ioutil, http, url, context, opts)
|
||||
@@ -1206,6 +1207,7 @@ module Petstore
|
||||
# @param url [Array<String>]
|
||||
# @param context [Array<String>]
|
||||
# @param [Hash] opts the optional parameters
|
||||
# @option opts [Hash<String, String>] :language
|
||||
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
||||
def test_query_parameter_collection_format_with_http_info(pipe, ioutil, http, url, context, opts = {})
|
||||
if @api_client.config.debugging
|
||||
@@ -1241,6 +1243,7 @@ module Petstore
|
||||
query_params[:'http'] = @api_client.build_collection_param(http, :ssv)
|
||||
query_params[:'url'] = @api_client.build_collection_param(url, :csv)
|
||||
query_params[:'context'] = @api_client.build_collection_param(context, :multi)
|
||||
query_params[:'language'] = opts[:'language'] if !opts[:'language'].nil?
|
||||
|
||||
# header parameters
|
||||
header_params = opts[:header_params] || {}
|
||||
|
||||
Reference in New Issue
Block a user