forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/3.3.x' into 4.0.x
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# OpenAPI Generator Ignore
|
||||
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
||||
|
||||
# Use this file to prevent files from being overwritten by the generator.
|
||||
# The patterns follow closely to .gitignore or .dockerignore.
|
||||
|
||||
# As an example, the C# client generator defines ApiClient.cs.
|
||||
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
|
||||
#ApiClient.cs
|
||||
|
||||
# You can match any string of characters against a directory, file or extension with a single asterisk (*):
|
||||
#foo/*/qux
|
||||
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
|
||||
|
||||
# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
|
||||
#foo/**/qux
|
||||
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
|
||||
|
||||
# You can also negate patterns with an exclamation (!).
|
||||
# For example, you can ignore all files in a docs folder with the file extension .md:
|
||||
#docs/*.md
|
||||
# Then explicitly reverse the ignore rule for a single file:
|
||||
#!docs/README.md
|
||||
@@ -0,0 +1 @@
|
||||
4.0.0-SNAPSHOT
|
||||
@@ -64,10 +64,10 @@ $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi(
|
||||
$client = new \OpenAPI\Client\Model\Client(); // \OpenAPI\Client\Model\Client | client model
|
||||
|
||||
try {
|
||||
$result = $apiInstance->123testSpecialTags($client);
|
||||
$result = $apiInstance->call123TestSpecialTags($client);
|
||||
print_r($result);
|
||||
} catch (Exception $e) {
|
||||
echo 'Exception when calling AnotherFakeApi->123testSpecialTags: ', $e->getMessage(), PHP_EOL;
|
||||
echo 'Exception when calling AnotherFakeApi->call123TestSpecialTags: ', $e->getMessage(), PHP_EOL;
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -79,7 +79,7 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*AnotherFakeApi* | [**123testSpecialTags**](docs/Api/AnotherFakeApi.md#123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags
|
||||
*AnotherFakeApi* | [**call123TestSpecialTags**](docs/Api/AnotherFakeApi.md#call123testspecialtags) | **PATCH** /another-fake/dummy | To test special tags
|
||||
*FakeApi* | [**fakeOuterBooleanSerialize**](docs/Api/FakeApi.md#fakeouterbooleanserialize) | **POST** /fake/outer/boolean |
|
||||
*FakeApi* | [**fakeOuterCompositeSerialize**](docs/Api/FakeApi.md#fakeoutercompositeserialize) | **POST** /fake/outer/composite |
|
||||
*FakeApi* | [**fakeOuterNumberSerialize**](docs/Api/FakeApi.md#fakeouternumberserialize) | **POST** /fake/outer/number |
|
||||
|
||||
@@ -4,11 +4,11 @@ All URIs are relative to *http://petstore.swagger.io:80/v2*
|
||||
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**123testSpecialTags**](AnotherFakeApi.md#123testSpecialTags) | **PATCH** /another-fake/dummy | To test special tags
|
||||
[**call123TestSpecialTags**](AnotherFakeApi.md#call123TestSpecialTags) | **PATCH** /another-fake/dummy | To test special tags
|
||||
|
||||
|
||||
# **123testSpecialTags**
|
||||
> \OpenAPI\Client\Model\Client 123testSpecialTags($client)
|
||||
# **call123TestSpecialTags**
|
||||
> \OpenAPI\Client\Model\Client call123TestSpecialTags($client)
|
||||
|
||||
To test special tags
|
||||
|
||||
@@ -27,10 +27,10 @@ $apiInstance = new OpenAPI\Client\Api\AnotherFakeApi(
|
||||
$client = new \OpenAPI\Client\Model\Client(); // \OpenAPI\Client\Model\Client | client model
|
||||
|
||||
try {
|
||||
$result = $apiInstance->123testSpecialTags($client);
|
||||
$result = $apiInstance->call123TestSpecialTags($client);
|
||||
print_r($result);
|
||||
} catch (Exception $e) {
|
||||
echo 'Exception when calling AnotherFakeApi->123testSpecialTags: ', $e->getMessage(), PHP_EOL;
|
||||
echo 'Exception when calling AnotherFakeApi->call123TestSpecialTags: ', $e->getMessage(), PHP_EOL;
|
||||
}
|
||||
?>
|
||||
```
|
||||
|
||||
@@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@@ -72,12 +72,12 @@ class AnotherFakeApiTest extends \PHPUnit_Framework_TestCase
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for 123testSpecialTags
|
||||
* Test case for call123TestSpecialTags
|
||||
*
|
||||
* To test special tags.
|
||||
*
|
||||
*/
|
||||
public function test123testSpecialTags()
|
||||
public function testCall123TestSpecialTags()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user