forked from loafle/openapi-generator-original
Fixed minor compiler error and warning (#5762)
* 5762 Fixed minor compiler error and warning * 5762 Regenerated cpprest petstore client
This commit is contained in:
@@ -134,7 +134,7 @@ pplx::task<web::http::http_response> ApiClient::callApi(
|
||||
web::json::value body_data = web::json::value::object();
|
||||
for (auto& kvp : formParams)
|
||||
{
|
||||
body_data[U(kvp.first)] = ModelBase::toJson(kvp.second);
|
||||
body_data[kvp.first] = ModelBase::toJson(kvp.second);
|
||||
}
|
||||
request.set_body(body_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user