forked from loafle/openapi-generator-original
Fix boolean value handling in HTTP request body (#1515)
* fix boolean http body handling * fix typo in parameter name
This commit is contained in:
@@ -399,7 +399,7 @@ class ApiClient {
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (bodyParam) {
|
||||
} else if (bodyParam !== null && bodyParam !== undefined) {
|
||||
request.send(bodyParam);
|
||||
}
|
||||
|
||||
@@ -586,4 +586,4 @@ ApiClient.CollectionFormatEnum = {
|
||||
* @type {module:ApiClient}
|
||||
*/
|
||||
ApiClient.instance = new ApiClient();
|
||||
export default ApiClient;
|
||||
export default ApiClient;
|
||||
|
||||
Reference in New Issue
Block a user