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:
@@ -816,7 +816,7 @@ No authorization required
|
||||
|
||||
## testQueryParameterCollectionFormat
|
||||
|
||||
> testQueryParameterCollectionFormat(pipe, ioutil, http, url, context)
|
||||
> testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, opts)
|
||||
|
||||
|
||||
|
||||
@@ -833,7 +833,10 @@ let ioutil = ["null"]; // [String] |
|
||||
let http = ["null"]; // [String] |
|
||||
let url = ["null"]; // [String] |
|
||||
let context = ["null"]; // [String] |
|
||||
apiInstance.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, (error, data, response) => {
|
||||
let opts = {
|
||||
'language': {key: "null"} // {String: String} |
|
||||
};
|
||||
apiInstance.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, opts, (error, data, response) => {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
} else {
|
||||
@@ -852,6 +855,7 @@ Name | Type | Description | Notes
|
||||
**http** | [**[String]**](String.md)| |
|
||||
**url** | [**[String]**](String.md)| |
|
||||
**context** | [**[String]**](String.md)| |
|
||||
**language** | [**{String: String}**](String.md)| | [optional]
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
@@ -786,9 +786,12 @@ export default class FakeApi {
|
||||
* @param {Array.<String>} http
|
||||
* @param {Array.<String>} url
|
||||
* @param {Array.<String>} context
|
||||
* @param {Object} opts Optional parameters
|
||||
* @param {Object.<String, {String: String}>} opts.language
|
||||
* @param {module:api/FakeApi~testQueryParameterCollectionFormatCallback} callback The callback function, accepting three arguments: error, data, response
|
||||
*/
|
||||
testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, callback) {
|
||||
testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, opts, callback) {
|
||||
opts = opts || {};
|
||||
let postBody = null;
|
||||
// verify the required parameter 'pipe' is set
|
||||
if (pipe === undefined || pipe === null) {
|
||||
@@ -818,7 +821,8 @@ export default class FakeApi {
|
||||
'ioutil': this.apiClient.buildCollectionParam(ioutil, 'csv'),
|
||||
'http': this.apiClient.buildCollectionParam(http, 'ssv'),
|
||||
'url': this.apiClient.buildCollectionParam(url, 'csv'),
|
||||
'context': this.apiClient.buildCollectionParam(context, 'multi')
|
||||
'context': this.apiClient.buildCollectionParam(context, 'multi'),
|
||||
'language': opts['language']
|
||||
};
|
||||
let headerParams = {
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user