forked from loafle/openapi-generator-original
merged
This commit is contained in:
commit
69eae7d35b
@ -375,6 +375,9 @@ class PetApi {
|
|||||||
$httpBody = $formParams;
|
$httpBody = $formParams;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO support oauth
|
||||||
|
|
||||||
|
|
||||||
$apiKey = $this->apiClient->getApiKeyWithPrefix('api_key');
|
$apiKey = $this->apiClient->getApiKeyWithPrefix('api_key');
|
||||||
if (isset($apiKey)) {
|
if (isset($apiKey)) {
|
||||||
$headerParams['api_key'] = $apiKey;
|
$headerParams['api_key'] = $apiKey;
|
||||||
@ -382,9 +385,6 @@ class PetApi {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//TODO support oauth
|
|
||||||
|
|
||||||
// make the API Call
|
// make the API Call
|
||||||
try {
|
try {
|
||||||
$response = $this->apiClient->callAPI($resourcePath, $method,
|
$response = $this->apiClient->callAPI($resourcePath, $method,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user