diff --git a/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php b/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php index ed5cb6b6110..b6766d8d13f 100644 --- a/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php +++ b/samples/client/petstore/php/SwaggerClient-php/lib/Api/PetApi.php @@ -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,