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

@@ -1130,7 +1130,7 @@ No authorization required
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
# **test_query_parameter_collection_format**
> test_query_parameter_collection_format(pipe, ioutil, http, url, context)
> test_query_parameter_collection_format(pipe, ioutil, http, url, context, language=language)
@@ -1160,9 +1160,10 @@ ioutil = ['ioutil_example'] # list[str] |
http = ['http_example'] # list[str] |
url = ['url_example'] # list[str] |
context = ['context_example'] # list[str] |
language = {'key': 'language_example'} # dict(str, str) | (optional)
try:
api_instance.test_query_parameter_collection_format(pipe, ioutil, http, url, context)
api_instance.test_query_parameter_collection_format(pipe, ioutil, http, url, context, language=language)
except ApiException as e:
print("Exception when calling FakeApi->test_query_parameter_collection_format: %s\n" % e)
```
@@ -1176,6 +1177,7 @@ Name | Type | Description | Notes
**http** | [**list[str]**](str.md)| |
**url** | [**list[str]**](str.md)| |
**context** | [**list[str]**](str.md)| |
**language** | [**dict(str, str)**](str.md)| | [optional]
### Return type

View File

@@ -2435,6 +2435,8 @@ class FakeApi(object):
:type url: list[str]
:param context: (required)
:type context: list[str]
:param language:
:type language: dict(str, str)
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _preload_content: if False, the urllib3.HTTPResponse object will
@@ -2473,6 +2475,8 @@ class FakeApi(object):
:type url: list[str]
:param context: (required)
:type context: list[str]
:param language:
:type language: dict(str, str)
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
:param _return_http_data_only: response data without head status code
@@ -2503,7 +2507,8 @@ class FakeApi(object):
'ioutil',
'http',
'url',
'context'
'context',
'language'
]
all_params.extend(
[
@@ -2564,6 +2569,8 @@ class FakeApi(object):
if 'context' in local_var_params and local_var_params['context'] is not None: # noqa: E501
query_params.append(('context', local_var_params['context'])) # noqa: E501
collection_formats['context'] = 'multi' # noqa: E501
if 'language' in local_var_params and local_var_params['language'] is not None: # noqa: E501
query_params.append(('language', local_var_params['language'])) # noqa: E501
header_params = {}