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