Fixed wrong return type of api call

parent 881aa1ff
...@@ -438,11 +438,12 @@ class DefaultApi ...@@ -438,11 +438,12 @@ class DefaultApi
$queryParams, $queryParams,
$httpBody, $httpBody,
$headerParams, $headerParams,
'\Swagger\Client\Model\ProtocolNumber[]', // '\Swagger\Client\Model\ProtocolNumber[]',
'string[]',
'/search/documents' '/search/documents'
); );
// return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\ProtocolNumber[]', $httpHeader), $statusCode, $httpHeader];
return [$this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\ProtocolNumber[]', $httpHeader), $statusCode, $httpHeader]; return [$this->apiClient->getSerializer()->deserialize($response, 'string[]', $httpHeader), $statusCode, $httpHeader];
} catch (ApiException $e) { } catch (ApiException $e) {
switch ($e->getCode()) { switch ($e->getCode()) {
case 200: case 200:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment