forked from loafle/openapi-generator-original
update php, ruby petstore
This commit is contained in:
@@ -283,6 +283,11 @@ class Fake_classname_tags123Api
|
||||
}
|
||||
}
|
||||
|
||||
// this endpoint requires API key authentication
|
||||
$apiKey = $this->config->getApiKeyWithPrefix('api_key_query');
|
||||
if ($apiKey !== null) {
|
||||
$queryParams['api_key_query'] = $apiKey;
|
||||
}
|
||||
|
||||
$query = \GuzzleHttp\Psr7\build_query($queryParams);
|
||||
$url = $this->config->getHost() . $resourcePath . ($query ? '?' . $query : '');
|
||||
|
||||
Reference in New Issue
Block a user