forked from loafle/openapi-generator-original
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:
@@ -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()];
|
||||
|
||||
Reference in New Issue
Block a user