forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/master' into 6.0.x
This commit is contained in:
@@ -816,7 +816,7 @@ No authorization required
|
||||
|
||||
## testQueryParameterCollectionFormat
|
||||
|
||||
> testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, opts)
|
||||
> testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, opts)
|
||||
|
||||
|
||||
|
||||
@@ -833,10 +833,11 @@ let ioutil = ["null"]; // [String] |
|
||||
let http = ["null"]; // [String] |
|
||||
let url = ["null"]; // [String] |
|
||||
let context = ["null"]; // [String] |
|
||||
let allowEmpty = "allowEmpty_example"; // String |
|
||||
let opts = {
|
||||
'language': {key: "null"} // {String: String} |
|
||||
};
|
||||
apiInstance.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, opts, (error, data, response) => {
|
||||
apiInstance.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, opts, (error, data, response) => {
|
||||
if (error) {
|
||||
console.error(error);
|
||||
} else {
|
||||
@@ -855,6 +856,7 @@ Name | Type | Description | Notes
|
||||
**http** | [**[String]**](String.md)| |
|
||||
**url** | [**[String]**](String.md)| |
|
||||
**context** | [**[String]**](String.md)| |
|
||||
**allowEmpty** | **String**| |
|
||||
**language** | [**{String: String}**](String.md)| | [optional]
|
||||
|
||||
### Return type
|
||||
|
||||
@@ -38,14 +38,14 @@ git add .
|
||||
git commit -m "$release_note"
|
||||
|
||||
# Sets the new remote
|
||||
git_remote=`git remote`
|
||||
git_remote=$(git remote)
|
||||
if [ "$git_remote" = "" ]; then # git remote not defined
|
||||
|
||||
if [ "$GIT_TOKEN" = "" ]; then
|
||||
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
||||
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
||||
else
|
||||
git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
|
||||
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
@@ -786,11 +786,12 @@ export default class FakeApi {
|
||||
* @param {Array.<String>} http
|
||||
* @param {Array.<String>} url
|
||||
* @param {Array.<String>} context
|
||||
* @param {String} allowEmpty
|
||||
* @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, opts, callback) {
|
||||
testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, opts, callback) {
|
||||
opts = opts || {};
|
||||
let postBody = null;
|
||||
// verify the required parameter 'pipe' is set
|
||||
@@ -813,6 +814,10 @@ export default class FakeApi {
|
||||
if (context === undefined || context === null) {
|
||||
throw new Error("Missing the required parameter 'context' when calling testQueryParameterCollectionFormat");
|
||||
}
|
||||
// verify the required parameter 'allowEmpty' is set
|
||||
if (allowEmpty === undefined || allowEmpty === null) {
|
||||
throw new Error("Missing the required parameter 'allowEmpty' when calling testQueryParameterCollectionFormat");
|
||||
}
|
||||
|
||||
let pathParams = {
|
||||
};
|
||||
@@ -822,7 +827,8 @@ export default class FakeApi {
|
||||
'http': this.apiClient.buildCollectionParam(http, 'ssv'),
|
||||
'url': this.apiClient.buildCollectionParam(url, 'csv'),
|
||||
'context': this.apiClient.buildCollectionParam(context, 'multi'),
|
||||
'language': opts['language']
|
||||
'language': opts['language'],
|
||||
'allowEmpty': allowEmpty
|
||||
};
|
||||
let headerParams = {
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user