Skip to content

Commit 9a71a33

Browse files
committed
release 0.0.7-beta source code
1 parent f27435a commit 9a71a33

File tree

1,806 files changed

+218694
-262
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,806 files changed

+218694
-262
lines changed

CHANGELOG.md

100755100644
Lines changed: 29 additions & 0 deletions

Core/composer.json

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"api",
99
"core"
1010
],
11-
"version": "0.0.6-beta",
11+
"version": "0.0.7-beta",
1212
"type": "library",
1313
"license": "Apache-2.0",
1414
"authors": [

Core/src/Auth/AuthCache.php

100755100644
File mode changed.

Core/src/Auth/BasicCredentials.php

100755100644
File mode changed.

Core/src/Auth/Credentials.php

100755100644
File mode changed.

Core/src/Auth/GlobalCredentials.php

100755100644
File mode changed.

Core/src/Auth/ICredentials.php

100755100644
File mode changed.

Core/src/Auth/Signer.php

100755100644
File mode changed.

Core/src/Client.php

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ private function parseBody($body, $multipart, $formParams, $headerParams)
292292
$httpBody = null;
293293
if (isset($body)&&!$multipart) {
294294
// $_tempBody is the method argument, if present
295-
if ('application/json' === $headerParams['Content-Type']) {
295+
if ('application/json' === $headerParams['Content-Type'] && !is_string($body)) {
296296
$httpBody = \GuzzleHttp\json_encode(ObjectSerializer::sanitizeForSerialization($body));
297297
} else {
298298
$httpBody = $body;

Core/src/ClientBuilder.php

100755100644
File mode changed.

0 commit comments

Comments
 (0)