forked from loafle/openapi-generator-original
Keep PHP binary responses as strings for easier manipulation.
This commit is contained in:
@@ -1036,7 +1036,7 @@ class PetApi
|
||||
// body params
|
||||
$_tempBody = null;
|
||||
if (isset($body)) {
|
||||
$_tempBody = call_user_func_array('pack', array_merge(array('C*'), $body));
|
||||
$_tempBody = $body;
|
||||
}
|
||||
|
||||
// for model (json/xml)
|
||||
|
||||
Reference in New Issue
Block a user