forked from loafle/openapi-generator-original
update php petstore samples
This commit is contained in:
@@ -123,7 +123,7 @@ class FakeApi
|
||||
"[{$e->getCode()}] {$e->getMessage()}",
|
||||
$e->getCode(),
|
||||
$e->getResponse() ? $e->getResponse()->getHeaders() : null,
|
||||
$e->getResponse()->getBody()->getContents()
|
||||
$e->getResponse() ? $e->getResponse()->getBody()->getContents() : null
|
||||
);
|
||||
}
|
||||
|
||||
@@ -237,7 +237,7 @@ class FakeApi
|
||||
$_tempBody = null;
|
||||
|
||||
if ($multipart) {
|
||||
$headers= $this->headerSelector->selectHeadersForMultipart(
|
||||
$headers = $this->headerSelector->selectHeadersForMultipart(
|
||||
['application/json', '*_/ \" =end --']
|
||||
);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user