Merge remote-tracking branch 'origin/3.3.x' into 4.0.x

This commit is contained in:
William Cheng
2018-08-07 16:04:17 +08:00
145 changed files with 2461 additions and 2409 deletions

View File

@@ -88,7 +88,7 @@ class AnotherFakeApi
}
/**
* Operation 123testSpecialTags
* Operation call123TestSpecialTags
*
* To test special tags
*
@@ -98,14 +98,14 @@ class AnotherFakeApi
* @throws \InvalidArgumentException
* @return \OpenAPI\Client\Model\Client
*/
public function 123testSpecialTags($client)
public function call123TestSpecialTags($client)
{
list($response) = $this->123testSpecialTagsWithHttpInfo($client);
list($response) = $this->call123TestSpecialTagsWithHttpInfo($client);
return $response;
}
/**
* Operation 123testSpecialTagsWithHttpInfo
* Operation call123TestSpecialTagsWithHttpInfo
*
* To test special tags
*
@@ -115,9 +115,9 @@ class AnotherFakeApi
* @throws \InvalidArgumentException
* @return array of \OpenAPI\Client\Model\Client, HTTP status code, HTTP response headers (array of strings)
*/
public function 123testSpecialTagsWithHttpInfo($client)
public function call123TestSpecialTagsWithHttpInfo($client)
{
$request = $this->123testSpecialTagsRequest($client);
$request = $this->call123TestSpecialTagsRequest($client);
try {
$options = $this->createHttpClientOption();
@@ -199,7 +199,7 @@ class AnotherFakeApi
}
/**
* Operation 123testSpecialTagsAsync
* Operation call123TestSpecialTagsAsync
*
* To test special tags
*
@@ -208,9 +208,9 @@ class AnotherFakeApi
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
public function 123testSpecialTagsAsync($client)
public function call123TestSpecialTagsAsync($client)
{
return $this->123testSpecialTagsAsyncWithHttpInfo($client)
return $this->call123TestSpecialTagsAsyncWithHttpInfo($client)
->then(
function ($response) {
return $response[0];
@@ -219,7 +219,7 @@ class AnotherFakeApi
}
/**
* Operation 123testSpecialTagsAsyncWithHttpInfo
* Operation call123TestSpecialTagsAsyncWithHttpInfo
*
* To test special tags
*
@@ -228,10 +228,10 @@ class AnotherFakeApi
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
*/
public function 123testSpecialTagsAsyncWithHttpInfo($client)
public function call123TestSpecialTagsAsyncWithHttpInfo($client)
{
$returnType = '\OpenAPI\Client\Model\Client';
$request = $this->123testSpecialTagsRequest($client);
$request = $this->call123TestSpecialTagsRequest($client);
return $this->client
->sendAsync($request, $this->createHttpClientOption())
@@ -271,19 +271,19 @@ class AnotherFakeApi
}
/**
* Create request for operation '123testSpecialTags'
* Create request for operation 'call123TestSpecialTags'
*
* @param \OpenAPI\Client\Model\Client $client client model (required)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Psr7\Request
*/
protected function 123testSpecialTagsRequest($client)
protected function call123TestSpecialTagsRequest($client)
{
// verify the required parameter 'client' is set
if ($client === null || (is_array($client) && count($client) === 0)) {
throw new \InvalidArgumentException(
'Missing the required parameter $client when calling 123testSpecialTags'
'Missing the required parameter $client when calling call123TestSpecialTags'
);
}