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:
agilob
2021-08-17 11:31:53 +01:00
committed by GitHub
parent 4cbb33bb28
commit 7edddb6531
37 changed files with 239 additions and 75 deletions

View File

@@ -1371,6 +1371,7 @@ sub test_json_form_data {
# @param ARRAY[string] $http (required)
# @param ARRAY[string] $url (required)
# @param ARRAY[string] $context (required)
# @param HASH[string,string] $language (optional)
{
my $params = {
'pipe' => {
@@ -1398,6 +1399,11 @@ sub test_json_form_data {
description => '',
required => '1',
},
'language' => {
data_type => 'HASH[string,string]',
description => '',
required => '0',
},
};
__PACKAGE__->method_documentation->{ 'test_query_parameter_collection_format' } = {
summary => '',
@@ -1475,6 +1481,11 @@ sub test_query_parameter_collection_format {
$query_params->{'context'} = $self->{api_client}->to_query_value($args{'context'});
}
# query params
if ( exists $args{'language'}) {
$query_params->{'language'} = $self->{api_client}->to_query_value($args{'language'});
}
my $_body_data;
# authentication setting, if any
my $auth_settings = [qw()];