[PHP][php-nextgen] Improve method parameter typing (#20361)

* Fix #20354 - Nullable mixed type is not allowed

* Add parameter types for request and asyncWithHttpInfo functions
This commit is contained in:
Julian Vennen 2024-12-21 08:53:51 +01:00 committed by GitHub
parent 806b99e43a
commit eceef28850
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
18 changed files with 384 additions and 380 deletions

View File

@ -214,7 +214,11 @@ public class PhpNextgenClientCodegen extends AbstractPhpCodegen {
if (param.isArray || param.isMap) { if (param.isArray || param.isMap) {
param.vendorExtensions.putIfAbsent("x-php-param-type", "array"); param.vendorExtensions.putIfAbsent("x-php-param-type", "array");
} else { } else {
param.vendorExtensions.putIfAbsent("x-php-param-type", param.dataType); String paramType = param.dataType;
if ((!param.required || param.isNullable) && !paramType.equals("mixed")) { // optional or nullable but not mixed
paramType = "?" + paramType;
}
param.vendorExtensions.putIfAbsent("x-php-param-type", paramType);
} }
} }
} }

View File

@ -172,7 +172,7 @@ use {{invokerPackage}}\ObjectSerializer;
public function {{operationId}}( public function {{operationId}}(
{{^vendorExtensions.x-group-parameters}} {{^vendorExtensions.x-group-parameters}}
{{#allParams}} {{#allParams}}
{{^required}}?{{/required}}{{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}}, {{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}},
{{/allParams}} {{/allParams}}
{{#servers}} {{#servers}}
{{#-first}} {{#-first}}
@ -247,7 +247,7 @@ use {{invokerPackage}}\ObjectSerializer;
public function {{operationId}}WithHttpInfo( public function {{operationId}}WithHttpInfo(
{{^vendorExtensions.x-group-parameters}} {{^vendorExtensions.x-group-parameters}}
{{#allParams}} {{#allParams}}
{{^required}}?{{/required}}{{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}}, {{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}},
{{/allParams}} {{/allParams}}
{{#servers}} {{#servers}}
{{#-first}} {{#-first}}
@ -446,7 +446,7 @@ use {{invokerPackage}}\ObjectSerializer;
public function {{operationId}}Async( public function {{operationId}}Async(
{{^vendorExtensions.x-group-parameters}} {{^vendorExtensions.x-group-parameters}}
{{#allParams}} {{#allParams}}
{{^required}}?{{/required}}{{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}}, {{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}},
{{/allParams}} {{/allParams}}
{{#servers}} {{#servers}}
{{#-first}} {{#-first}}
@ -524,7 +524,7 @@ use {{invokerPackage}}\ObjectSerializer;
public function {{operationId}}AsyncWithHttpInfo( public function {{operationId}}AsyncWithHttpInfo(
{{^vendorExtensions.x-group-parameters}} {{^vendorExtensions.x-group-parameters}}
{{#allParams}} {{#allParams}}
${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}}, {{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}},
{{/allParams}} {{/allParams}}
{{#servers}} {{#servers}}
{{#-first}} {{#-first}}
@ -630,7 +630,7 @@ use {{invokerPackage}}\ObjectSerializer;
public function {{operationId}}Request( public function {{operationId}}Request(
{{^vendorExtensions.x-group-parameters}} {{^vendorExtensions.x-group-parameters}}
{{#allParams}} {{#allParams}}
${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}}, {{vendorExtensions.x-php-param-type}} ${{paramName}}{{^required}} = {{#defaultValue}}{{{.}}}{{/defaultValue}}{{^defaultValue}}null{{/defaultValue}}{{/required}},
{{/allParams}} {{/allParams}}
{{#servers}} {{#servers}}
{{#-first}} {{#-first}}

View File

@ -633,7 +633,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyApplicationOctetstreamBinaryAsyncWithHttpInfo( public function testBodyApplicationOctetstreamBinaryAsyncWithHttpInfo(
$body = null, ?\Psr\Http\Message\StreamInterface $body = null,
string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0] string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -686,7 +686,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyApplicationOctetstreamBinaryRequest( public function testBodyApplicationOctetstreamBinaryRequest(
$body = null, ?\Psr\Http\Message\StreamInterface $body = null,
string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0] string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0]
): Request ): Request
{ {
@ -949,7 +949,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyMultipartFormdataArrayOfBinaryAsyncWithHttpInfo( public function testBodyMultipartFormdataArrayOfBinaryAsyncWithHttpInfo(
$files, array $files,
string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1002,7 +1002,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyMultipartFormdataArrayOfBinaryRequest( public function testBodyMultipartFormdataArrayOfBinaryRequest(
$files, array $files,
string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0]
): Request ): Request
{ {
@ -1278,7 +1278,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyMultipartFormdataSingleBinaryAsyncWithHttpInfo( public function testBodyMultipartFormdataSingleBinaryAsyncWithHttpInfo(
$my_file = null, ?\Psr\Http\Message\StreamInterface $my_file = null,
string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1331,7 +1331,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyMultipartFormdataSingleBinaryRequest( public function testBodyMultipartFormdataSingleBinaryRequest(
$my_file = null, ?\Psr\Http\Message\StreamInterface $my_file = null,
string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0]
): Request ): Request
{ {
@ -1601,7 +1601,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyAllOfPetAsyncWithHttpInfo( public function testEchoBodyAllOfPetAsyncWithHttpInfo(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0] string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1654,7 +1654,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyAllOfPetRequest( public function testEchoBodyAllOfPetRequest(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0] string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0]
): Request ): Request
{ {
@ -1745,7 +1745,7 @@ class BodyApi
* @return string * @return string
*/ */
public function testEchoBodyFreeFormObjectResponseString( public function testEchoBodyFreeFormObjectResponseString(
?array $body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): string ): string
{ {
@ -1766,7 +1766,7 @@ class BodyApi
* @return array of string, HTTP status code, HTTP response headers (array of strings) * @return array of string, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testEchoBodyFreeFormObjectResponseStringWithHttpInfo( public function testEchoBodyFreeFormObjectResponseStringWithHttpInfo(
?array $body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): array ): array
{ {
@ -1893,7 +1893,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyFreeFormObjectResponseStringAsync( public function testEchoBodyFreeFormObjectResponseStringAsync(
?array $body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1917,7 +1917,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyFreeFormObjectResponseStringAsyncWithHttpInfo( public function testEchoBodyFreeFormObjectResponseStringAsyncWithHttpInfo(
$body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1970,7 +1970,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyFreeFormObjectResponseStringRequest( public function testEchoBodyFreeFormObjectResponseStringRequest(
$body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): Request ): Request
{ {
@ -2233,7 +2233,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyPetAsyncWithHttpInfo( public function testEchoBodyPetAsyncWithHttpInfo(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPet'][0] string $contentType = self::contentTypes['testEchoBodyPet'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2286,7 +2286,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyPetRequest( public function testEchoBodyPetRequest(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPet'][0] string $contentType = self::contentTypes['testEchoBodyPet'][0]
): Request ): Request
{ {
@ -2549,7 +2549,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyPetResponseStringAsyncWithHttpInfo( public function testEchoBodyPetResponseStringAsyncWithHttpInfo(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0] string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2602,7 +2602,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyPetResponseStringRequest( public function testEchoBodyPetResponseStringRequest(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0] string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0]
): Request ): Request
{ {
@ -2865,7 +2865,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyStringEnumAsyncWithHttpInfo( public function testEchoBodyStringEnumAsyncWithHttpInfo(
$body = null, ?string $body = null,
string $contentType = self::contentTypes['testEchoBodyStringEnum'][0] string $contentType = self::contentTypes['testEchoBodyStringEnum'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2918,7 +2918,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyStringEnumRequest( public function testEchoBodyStringEnumRequest(
$body = null, ?string $body = null,
string $contentType = self::contentTypes['testEchoBodyStringEnum'][0] string $contentType = self::contentTypes['testEchoBodyStringEnum'][0]
): Request ): Request
{ {
@ -3181,7 +3181,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyTagResponseStringAsyncWithHttpInfo( public function testEchoBodyTagResponseStringAsyncWithHttpInfo(
$tag = null, ?\OpenAPI\Client\Model\Tag $tag = null,
string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0] string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3234,7 +3234,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyTagResponseStringRequest( public function testEchoBodyTagResponseStringRequest(
$tag = null, ?\OpenAPI\Client\Model\Tag $tag = null,
string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0] string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0]
): Request ): Request
{ {

View File

@ -328,9 +328,9 @@ class FormApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testFormIntegerBooleanStringAsyncWithHttpInfo( public function testFormIntegerBooleanStringAsyncWithHttpInfo(
$integer_form = null, ?int $integer_form = null,
$boolean_form = null, ?bool $boolean_form = null,
$string_form = null, ?string $string_form = null,
string $contentType = self::contentTypes['testFormIntegerBooleanString'][0] string $contentType = self::contentTypes['testFormIntegerBooleanString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -385,9 +385,9 @@ class FormApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testFormIntegerBooleanStringRequest( public function testFormIntegerBooleanStringRequest(
$integer_form = null, ?int $integer_form = null,
$boolean_form = null, ?bool $boolean_form = null,
$string_form = null, ?string $string_form = null,
string $contentType = self::contentTypes['testFormIntegerBooleanString'][0] string $contentType = self::contentTypes['testFormIntegerBooleanString'][0]
): Request ): Request
{ {
@ -657,7 +657,7 @@ class FormApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testFormObjectMultipartAsyncWithHttpInfo( public function testFormObjectMultipartAsyncWithHttpInfo(
$marker, \OpenAPI\Client\Model\TestFormObjectMultipartRequestMarker $marker,
string $contentType = self::contentTypes['testFormObjectMultipart'][0] string $contentType = self::contentTypes['testFormObjectMultipart'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -710,7 +710,7 @@ class FormApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testFormObjectMultipartRequest( public function testFormObjectMultipartRequest(
$marker, \OpenAPI\Client\Model\TestFormObjectMultipartRequestMarker $marker,
string $contentType = self::contentTypes['testFormObjectMultipart'][0] string $contentType = self::contentTypes['testFormObjectMultipart'][0]
): Request ): Request
{ {
@ -1011,12 +1011,12 @@ class FormApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testFormOneofAsyncWithHttpInfo( public function testFormOneofAsyncWithHttpInfo(
$form1 = null, ?string $form1 = null,
$form2 = null, ?int $form2 = null,
$form3 = null, ?string $form3 = null,
$form4 = null, ?bool $form4 = null,
$id = null, ?int $id = null,
$name = null, ?string $name = null,
string $contentType = self::contentTypes['testFormOneof'][0] string $contentType = self::contentTypes['testFormOneof'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1074,12 +1074,12 @@ class FormApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testFormOneofRequest( public function testFormOneofRequest(
$form1 = null, ?string $form1 = null,
$form2 = null, ?int $form2 = null,
$form3 = null, ?string $form3 = null,
$form4 = null, ?bool $form4 = null,
$id = null, ?int $id = null,
$name = null, ?string $name = null,
string $contentType = self::contentTypes['testFormOneof'][0] string $contentType = self::contentTypes['testFormOneof'][0]
): Request ): Request
{ {

View File

@ -336,11 +336,11 @@ class HeaderApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testHeaderIntegerBooleanStringEnumsAsyncWithHttpInfo( public function testHeaderIntegerBooleanStringEnumsAsyncWithHttpInfo(
$integer_header = null, ?int $integer_header = null,
$boolean_header = null, ?bool $boolean_header = null,
$string_header = null, ?string $string_header = null,
$enum_nonref_string_header = null, ?string $enum_nonref_string_header = null,
$enum_ref_string_header = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_header = null,
string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0] string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -397,11 +397,11 @@ class HeaderApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testHeaderIntegerBooleanStringEnumsRequest( public function testHeaderIntegerBooleanStringEnumsRequest(
$integer_header = null, ?int $integer_header = null,
$boolean_header = null, ?bool $boolean_header = null,
$string_header = null, ?string $string_header = null,
$enum_nonref_string_header = null, ?string $enum_nonref_string_header = null,
$enum_ref_string_header = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_header = null,
string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0] string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0]
): Request ): Request
{ {

View File

@ -329,10 +329,10 @@ class PathApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo( public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo(
$path_string, string $path_string,
$path_integer, int $path_integer,
$enum_nonref_string_path, string $enum_nonref_string_path,
$enum_ref_string_path, \OpenAPI\Client\Model\StringEnumRef $enum_ref_string_path,
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0] string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -388,10 +388,10 @@ class PathApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest( public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest(
$path_string, string $path_string,
$path_integer, int $path_integer,
$enum_nonref_string_path, string $enum_nonref_string_path,
$enum_ref_string_path, \OpenAPI\Client\Model\StringEnumRef $enum_ref_string_path,
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0] string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
): Request ): Request
{ {

View File

@ -342,8 +342,8 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEnumRefStringAsyncWithHttpInfo( public function testEnumRefStringAsyncWithHttpInfo(
$enum_nonref_string_query = null, ?string $enum_nonref_string_query = null,
$enum_ref_string_query = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_query = null,
string $contentType = self::contentTypes['testEnumRefString'][0] string $contentType = self::contentTypes['testEnumRefString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -397,8 +397,8 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEnumRefStringRequest( public function testEnumRefStringRequest(
$enum_nonref_string_query = null, ?string $enum_nonref_string_query = null,
$enum_ref_string_query = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_query = null,
string $contentType = self::contentTypes['testEnumRefString'][0] string $contentType = self::contentTypes['testEnumRefString'][0]
): Request ): Request
{ {
@ -687,9 +687,9 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryDatetimeDateStringAsyncWithHttpInfo( public function testQueryDatetimeDateStringAsyncWithHttpInfo(
$datetime_query = null, ?\DateTime $datetime_query = null,
$date_query = null, ?\DateTime $date_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryDatetimeDateString'][0] string $contentType = self::contentTypes['testQueryDatetimeDateString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -744,9 +744,9 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryDatetimeDateStringRequest( public function testQueryDatetimeDateStringRequest(
$datetime_query = null, ?\DateTime $datetime_query = null,
$date_query = null, ?\DateTime $date_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryDatetimeDateString'][0] string $contentType = self::contentTypes['testQueryDatetimeDateString'][0]
): Request ): Request
{ {
@ -1045,9 +1045,9 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryIntegerBooleanStringAsyncWithHttpInfo( public function testQueryIntegerBooleanStringAsyncWithHttpInfo(
$integer_query = null, ?int $integer_query = null,
$boolean_query = null, ?bool $boolean_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0] string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1102,9 +1102,9 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryIntegerBooleanStringRequest( public function testQueryIntegerBooleanStringRequest(
$integer_query = null, ?int $integer_query = null,
$boolean_query = null, ?bool $boolean_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0] string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0]
): Request ): Request
{ {
@ -1389,7 +1389,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectAsyncWithHttpInfo( public function testQueryStyleDeepObjectExplodeTrueObjectAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1442,7 +1442,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectRequest( public function testQueryStyleDeepObjectExplodeTrueObjectRequest(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0]
): Request ): Request
{ {
@ -1707,7 +1707,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectAllOfAsyncWithHttpInfo( public function testQueryStyleDeepObjectExplodeTrueObjectAllOfAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1760,7 +1760,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectAllOfRequest( public function testQueryStyleDeepObjectExplodeTrueObjectAllOfRequest(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0]
): Request ): Request
{ {
@ -1853,7 +1853,7 @@ class QueryApi
* @return string * @return string
*/ */
public function testQueryStyleFormExplodeFalseArrayInteger( public function testQueryStyleFormExplodeFalseArrayInteger(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): string ): string
{ {
@ -1874,7 +1874,7 @@ class QueryApi
* @return array of string, HTTP status code, HTTP response headers (array of strings) * @return array of string, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): array ): array
{ {
@ -2001,7 +2001,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerAsync( public function testQueryStyleFormExplodeFalseArrayIntegerAsync(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2025,7 +2025,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerAsyncWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayIntegerAsyncWithHttpInfo(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2078,7 +2078,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerRequest( public function testQueryStyleFormExplodeFalseArrayIntegerRequest(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): Request ): Request
{ {
@ -2171,7 +2171,7 @@ class QueryApi
* @return string * @return string
*/ */
public function testQueryStyleFormExplodeFalseArrayString( public function testQueryStyleFormExplodeFalseArrayString(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): string ): string
{ {
@ -2192,7 +2192,7 @@ class QueryApi
* @return array of string, HTTP status code, HTTP response headers (array of strings) * @return array of string, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testQueryStyleFormExplodeFalseArrayStringWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): array ): array
{ {
@ -2319,7 +2319,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayStringAsync( public function testQueryStyleFormExplodeFalseArrayStringAsync(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2343,7 +2343,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayStringAsyncWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayStringAsyncWithHttpInfo(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2396,7 +2396,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeFalseArrayStringRequest( public function testQueryStyleFormExplodeFalseArrayStringRequest(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): Request ): Request
{ {
@ -2661,7 +2661,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeTrueArrayStringAsyncWithHttpInfo( public function testQueryStyleFormExplodeTrueArrayStringAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2714,7 +2714,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeTrueArrayStringRequest( public function testQueryStyleFormExplodeTrueArrayStringRequest(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0]
): Request ): Request
{ {
@ -2979,7 +2979,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeTrueObjectAsyncWithHttpInfo( public function testQueryStyleFormExplodeTrueObjectAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3032,7 +3032,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeTrueObjectRequest( public function testQueryStyleFormExplodeTrueObjectRequest(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0]
): Request ): Request
{ {
@ -3297,7 +3297,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeTrueObjectAllOfAsyncWithHttpInfo( public function testQueryStyleFormExplodeTrueObjectAllOfAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\DataQuery $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3350,7 +3350,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeTrueObjectAllOfRequest( public function testQueryStyleFormExplodeTrueObjectAllOfRequest(
$query_object = null, ?\OpenAPI\Client\Model\DataQuery $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0]
): Request ): Request
{ {

View File

@ -633,7 +633,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyApplicationOctetstreamBinaryAsyncWithHttpInfo( public function testBodyApplicationOctetstreamBinaryAsyncWithHttpInfo(
$body = null, ?\SplFileObject $body = null,
string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0] string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -686,7 +686,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyApplicationOctetstreamBinaryRequest( public function testBodyApplicationOctetstreamBinaryRequest(
$body = null, ?\SplFileObject $body = null,
string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0] string $contentType = self::contentTypes['testBodyApplicationOctetstreamBinary'][0]
): Request ): Request
{ {
@ -949,7 +949,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyMultipartFormdataArrayOfBinaryAsyncWithHttpInfo( public function testBodyMultipartFormdataArrayOfBinaryAsyncWithHttpInfo(
$files, array $files,
string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1002,7 +1002,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyMultipartFormdataArrayOfBinaryRequest( public function testBodyMultipartFormdataArrayOfBinaryRequest(
$files, array $files,
string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataArrayOfBinary'][0]
): Request ): Request
{ {
@ -1278,7 +1278,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyMultipartFormdataSingleBinaryAsyncWithHttpInfo( public function testBodyMultipartFormdataSingleBinaryAsyncWithHttpInfo(
$my_file = null, ?\SplFileObject $my_file = null,
string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1331,7 +1331,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyMultipartFormdataSingleBinaryRequest( public function testBodyMultipartFormdataSingleBinaryRequest(
$my_file = null, ?\SplFileObject $my_file = null,
string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0] string $contentType = self::contentTypes['testBodyMultipartFormdataSingleBinary'][0]
): Request ): Request
{ {
@ -1601,7 +1601,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyAllOfPetAsyncWithHttpInfo( public function testEchoBodyAllOfPetAsyncWithHttpInfo(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0] string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1654,7 +1654,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyAllOfPetRequest( public function testEchoBodyAllOfPetRequest(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0] string $contentType = self::contentTypes['testEchoBodyAllOfPet'][0]
): Request ): Request
{ {
@ -1745,7 +1745,7 @@ class BodyApi
* @return string * @return string
*/ */
public function testEchoBodyFreeFormObjectResponseString( public function testEchoBodyFreeFormObjectResponseString(
?array $body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): string ): string
{ {
@ -1766,7 +1766,7 @@ class BodyApi
* @return array of string, HTTP status code, HTTP response headers (array of strings) * @return array of string, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testEchoBodyFreeFormObjectResponseStringWithHttpInfo( public function testEchoBodyFreeFormObjectResponseStringWithHttpInfo(
?array $body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): array ): array
{ {
@ -1893,7 +1893,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyFreeFormObjectResponseStringAsync( public function testEchoBodyFreeFormObjectResponseStringAsync(
?array $body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1917,7 +1917,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyFreeFormObjectResponseStringAsyncWithHttpInfo( public function testEchoBodyFreeFormObjectResponseStringAsyncWithHttpInfo(
$body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1970,7 +1970,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyFreeFormObjectResponseStringRequest( public function testEchoBodyFreeFormObjectResponseStringRequest(
$body = null, array $body = null,
string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0] string $contentType = self::contentTypes['testEchoBodyFreeFormObjectResponseString'][0]
): Request ): Request
{ {
@ -2233,7 +2233,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyPetAsyncWithHttpInfo( public function testEchoBodyPetAsyncWithHttpInfo(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPet'][0] string $contentType = self::contentTypes['testEchoBodyPet'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2286,7 +2286,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyPetRequest( public function testEchoBodyPetRequest(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPet'][0] string $contentType = self::contentTypes['testEchoBodyPet'][0]
): Request ): Request
{ {
@ -2549,7 +2549,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyPetResponseStringAsyncWithHttpInfo( public function testEchoBodyPetResponseStringAsyncWithHttpInfo(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0] string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2602,7 +2602,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyPetResponseStringRequest( public function testEchoBodyPetResponseStringRequest(
$pet = null, ?\OpenAPI\Client\Model\Pet $pet = null,
string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0] string $contentType = self::contentTypes['testEchoBodyPetResponseString'][0]
): Request ): Request
{ {
@ -2865,7 +2865,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyStringEnumAsyncWithHttpInfo( public function testEchoBodyStringEnumAsyncWithHttpInfo(
$body = null, ?string $body = null,
string $contentType = self::contentTypes['testEchoBodyStringEnum'][0] string $contentType = self::contentTypes['testEchoBodyStringEnum'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2918,7 +2918,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyStringEnumRequest( public function testEchoBodyStringEnumRequest(
$body = null, ?string $body = null,
string $contentType = self::contentTypes['testEchoBodyStringEnum'][0] string $contentType = self::contentTypes['testEchoBodyStringEnum'][0]
): Request ): Request
{ {
@ -3181,7 +3181,7 @@ class BodyApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEchoBodyTagResponseStringAsyncWithHttpInfo( public function testEchoBodyTagResponseStringAsyncWithHttpInfo(
$tag = null, ?\OpenAPI\Client\Model\Tag $tag = null,
string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0] string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3234,7 +3234,7 @@ class BodyApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEchoBodyTagResponseStringRequest( public function testEchoBodyTagResponseStringRequest(
$tag = null, ?\OpenAPI\Client\Model\Tag $tag = null,
string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0] string $contentType = self::contentTypes['testEchoBodyTagResponseString'][0]
): Request ): Request
{ {

View File

@ -328,9 +328,9 @@ class FormApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testFormIntegerBooleanStringAsyncWithHttpInfo( public function testFormIntegerBooleanStringAsyncWithHttpInfo(
$integer_form = null, ?int $integer_form = null,
$boolean_form = null, ?bool $boolean_form = null,
$string_form = null, ?string $string_form = null,
string $contentType = self::contentTypes['testFormIntegerBooleanString'][0] string $contentType = self::contentTypes['testFormIntegerBooleanString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -385,9 +385,9 @@ class FormApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testFormIntegerBooleanStringRequest( public function testFormIntegerBooleanStringRequest(
$integer_form = null, ?int $integer_form = null,
$boolean_form = null, ?bool $boolean_form = null,
$string_form = null, ?string $string_form = null,
string $contentType = self::contentTypes['testFormIntegerBooleanString'][0] string $contentType = self::contentTypes['testFormIntegerBooleanString'][0]
): Request ): Request
{ {
@ -657,7 +657,7 @@ class FormApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testFormObjectMultipartAsyncWithHttpInfo( public function testFormObjectMultipartAsyncWithHttpInfo(
$marker, \OpenAPI\Client\Model\TestFormObjectMultipartRequestMarker $marker,
string $contentType = self::contentTypes['testFormObjectMultipart'][0] string $contentType = self::contentTypes['testFormObjectMultipart'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -710,7 +710,7 @@ class FormApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testFormObjectMultipartRequest( public function testFormObjectMultipartRequest(
$marker, \OpenAPI\Client\Model\TestFormObjectMultipartRequestMarker $marker,
string $contentType = self::contentTypes['testFormObjectMultipart'][0] string $contentType = self::contentTypes['testFormObjectMultipart'][0]
): Request ): Request
{ {
@ -1011,12 +1011,12 @@ class FormApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testFormOneofAsyncWithHttpInfo( public function testFormOneofAsyncWithHttpInfo(
$form1 = null, ?string $form1 = null,
$form2 = null, ?int $form2 = null,
$form3 = null, ?string $form3 = null,
$form4 = null, ?bool $form4 = null,
$id = null, ?int $id = null,
$name = null, ?string $name = null,
string $contentType = self::contentTypes['testFormOneof'][0] string $contentType = self::contentTypes['testFormOneof'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1074,12 +1074,12 @@ class FormApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testFormOneofRequest( public function testFormOneofRequest(
$form1 = null, ?string $form1 = null,
$form2 = null, ?int $form2 = null,
$form3 = null, ?string $form3 = null,
$form4 = null, ?bool $form4 = null,
$id = null, ?int $id = null,
$name = null, ?string $name = null,
string $contentType = self::contentTypes['testFormOneof'][0] string $contentType = self::contentTypes['testFormOneof'][0]
): Request ): Request
{ {

View File

@ -336,11 +336,11 @@ class HeaderApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testHeaderIntegerBooleanStringEnumsAsyncWithHttpInfo( public function testHeaderIntegerBooleanStringEnumsAsyncWithHttpInfo(
$integer_header = null, ?int $integer_header = null,
$boolean_header = null, ?bool $boolean_header = null,
$string_header = null, ?string $string_header = null,
$enum_nonref_string_header = null, ?string $enum_nonref_string_header = null,
$enum_ref_string_header = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_header = null,
string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0] string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -397,11 +397,11 @@ class HeaderApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testHeaderIntegerBooleanStringEnumsRequest( public function testHeaderIntegerBooleanStringEnumsRequest(
$integer_header = null, ?int $integer_header = null,
$boolean_header = null, ?bool $boolean_header = null,
$string_header = null, ?string $string_header = null,
$enum_nonref_string_header = null, ?string $enum_nonref_string_header = null,
$enum_ref_string_header = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_header = null,
string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0] string $contentType = self::contentTypes['testHeaderIntegerBooleanStringEnums'][0]
): Request ): Request
{ {

View File

@ -329,10 +329,10 @@ class PathApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo( public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathAsyncWithHttpInfo(
$path_string, string $path_string,
$path_integer, int $path_integer,
$enum_nonref_string_path, string $enum_nonref_string_path,
$enum_ref_string_path, \OpenAPI\Client\Model\StringEnumRef $enum_ref_string_path,
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0] string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -388,10 +388,10 @@ class PathApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest( public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequest(
$path_string, string $path_string,
$path_integer, int $path_integer,
$enum_nonref_string_path, string $enum_nonref_string_path,
$enum_ref_string_path, \OpenAPI\Client\Model\StringEnumRef $enum_ref_string_path,
string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0] string $contentType = self::contentTypes['testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath'][0]
): Request ): Request
{ {

View File

@ -342,8 +342,8 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEnumRefStringAsyncWithHttpInfo( public function testEnumRefStringAsyncWithHttpInfo(
$enum_nonref_string_query = null, ?string $enum_nonref_string_query = null,
$enum_ref_string_query = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_query = null,
string $contentType = self::contentTypes['testEnumRefString'][0] string $contentType = self::contentTypes['testEnumRefString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -397,8 +397,8 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEnumRefStringRequest( public function testEnumRefStringRequest(
$enum_nonref_string_query = null, ?string $enum_nonref_string_query = null,
$enum_ref_string_query = null, ?\OpenAPI\Client\Model\StringEnumRef $enum_ref_string_query = null,
string $contentType = self::contentTypes['testEnumRefString'][0] string $contentType = self::contentTypes['testEnumRefString'][0]
): Request ): Request
{ {
@ -687,9 +687,9 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryDatetimeDateStringAsyncWithHttpInfo( public function testQueryDatetimeDateStringAsyncWithHttpInfo(
$datetime_query = null, ?\DateTime $datetime_query = null,
$date_query = null, ?\DateTime $date_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryDatetimeDateString'][0] string $contentType = self::contentTypes['testQueryDatetimeDateString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -744,9 +744,9 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryDatetimeDateStringRequest( public function testQueryDatetimeDateStringRequest(
$datetime_query = null, ?\DateTime $datetime_query = null,
$date_query = null, ?\DateTime $date_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryDatetimeDateString'][0] string $contentType = self::contentTypes['testQueryDatetimeDateString'][0]
): Request ): Request
{ {
@ -1045,9 +1045,9 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryIntegerBooleanStringAsyncWithHttpInfo( public function testQueryIntegerBooleanStringAsyncWithHttpInfo(
$integer_query = null, ?int $integer_query = null,
$boolean_query = null, ?bool $boolean_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0] string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1102,9 +1102,9 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryIntegerBooleanStringRequest( public function testQueryIntegerBooleanStringRequest(
$integer_query = null, ?int $integer_query = null,
$boolean_query = null, ?bool $boolean_query = null,
$string_query = null, ?string $string_query = null,
string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0] string $contentType = self::contentTypes['testQueryIntegerBooleanString'][0]
): Request ): Request
{ {
@ -1389,7 +1389,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectAsyncWithHttpInfo( public function testQueryStyleDeepObjectExplodeTrueObjectAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1442,7 +1442,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectRequest( public function testQueryStyleDeepObjectExplodeTrueObjectRequest(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObject'][0]
): Request ): Request
{ {
@ -1707,7 +1707,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectAllOfAsyncWithHttpInfo( public function testQueryStyleDeepObjectExplodeTrueObjectAllOfAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1760,7 +1760,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleDeepObjectExplodeTrueObjectAllOfRequest( public function testQueryStyleDeepObjectExplodeTrueObjectAllOfRequest(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleDeepObjectExplodeTrueObjectAllOf'][0]
): Request ): Request
{ {
@ -1853,7 +1853,7 @@ class QueryApi
* @return string * @return string
*/ */
public function testQueryStyleFormExplodeFalseArrayInteger( public function testQueryStyleFormExplodeFalseArrayInteger(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): string ): string
{ {
@ -1874,7 +1874,7 @@ class QueryApi
* @return array of string, HTTP status code, HTTP response headers (array of strings) * @return array of string, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): array ): array
{ {
@ -2001,7 +2001,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerAsync( public function testQueryStyleFormExplodeFalseArrayIntegerAsync(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2025,7 +2025,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerAsyncWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayIntegerAsyncWithHttpInfo(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2078,7 +2078,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeFalseArrayIntegerRequest( public function testQueryStyleFormExplodeFalseArrayIntegerRequest(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayInteger'][0]
): Request ): Request
{ {
@ -2171,7 +2171,7 @@ class QueryApi
* @return string * @return string
*/ */
public function testQueryStyleFormExplodeFalseArrayString( public function testQueryStyleFormExplodeFalseArrayString(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): string ): string
{ {
@ -2192,7 +2192,7 @@ class QueryApi
* @return array of string, HTTP status code, HTTP response headers (array of strings) * @return array of string, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testQueryStyleFormExplodeFalseArrayStringWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): array ): array
{ {
@ -2319,7 +2319,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayStringAsync( public function testQueryStyleFormExplodeFalseArrayStringAsync(
?array $query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2343,7 +2343,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeFalseArrayStringAsyncWithHttpInfo( public function testQueryStyleFormExplodeFalseArrayStringAsyncWithHttpInfo(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2396,7 +2396,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeFalseArrayStringRequest( public function testQueryStyleFormExplodeFalseArrayStringRequest(
$query_object = null, array $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeFalseArrayString'][0]
): Request ): Request
{ {
@ -2661,7 +2661,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeTrueArrayStringAsyncWithHttpInfo( public function testQueryStyleFormExplodeTrueArrayStringAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2714,7 +2714,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeTrueArrayStringRequest( public function testQueryStyleFormExplodeTrueArrayStringRequest(
$query_object = null, ?\OpenAPI\Client\Model\TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueArrayString'][0]
): Request ): Request
{ {
@ -2979,7 +2979,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeTrueObjectAsyncWithHttpInfo( public function testQueryStyleFormExplodeTrueObjectAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3032,7 +3032,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeTrueObjectRequest( public function testQueryStyleFormExplodeTrueObjectRequest(
$query_object = null, ?\OpenAPI\Client\Model\Pet $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObject'][0]
): Request ): Request
{ {
@ -3297,7 +3297,7 @@ class QueryApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryStyleFormExplodeTrueObjectAllOfAsyncWithHttpInfo( public function testQueryStyleFormExplodeTrueObjectAllOfAsyncWithHttpInfo(
$query_object = null, ?\OpenAPI\Client\Model\DataQuery $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3350,7 +3350,7 @@ class QueryApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryStyleFormExplodeTrueObjectAllOfRequest( public function testQueryStyleFormExplodeTrueObjectAllOfRequest(
$query_object = null, ?\OpenAPI\Client\Model\DataQuery $query_object = null,
string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0] string $contentType = self::contentTypes['testQueryStyleFormExplodeTrueObjectAllOf'][0]
): Request ): Request
{ {

View File

@ -307,7 +307,7 @@ class AnotherFakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function call123TestSpecialTagsAsyncWithHttpInfo( public function call123TestSpecialTagsAsyncWithHttpInfo(
$client, \OpenAPI\Client\Model\Client $client,
string $contentType = self::contentTypes['call123TestSpecialTags'][0] string $contentType = self::contentTypes['call123TestSpecialTags'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -360,7 +360,7 @@ class AnotherFakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function call123TestSpecialTagsRequest( public function call123TestSpecialTagsRequest(
$client, \OpenAPI\Client\Model\Client $client,
string $contentType = self::contentTypes['call123TestSpecialTags'][0] string $contentType = self::contentTypes['call123TestSpecialTags'][0]
): Request ): Request
{ {

View File

@ -678,9 +678,9 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function fakeEnumEndpointAsyncWithHttpInfo( public function fakeEnumEndpointAsyncWithHttpInfo(
$enum_class, \OpenAPI\Client\Model\EnumClass $enum_class,
$enum_class_array, array $enum_class_array,
$enum_class_map, array $enum_class_map,
string $contentType = self::contentTypes['fakeEnumEndpoint'][0] string $contentType = self::contentTypes['fakeEnumEndpoint'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -735,9 +735,9 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function fakeEnumEndpointRequest( public function fakeEnumEndpointRequest(
$enum_class, \OpenAPI\Client\Model\EnumClass $enum_class,
$enum_class_array, array $enum_class_array,
$enum_class_map, array $enum_class_map,
string $contentType = self::contentTypes['fakeEnumEndpoint'][0] string $contentType = self::contentTypes['fakeEnumEndpoint'][0]
): Request ): Request
{ {
@ -1274,9 +1274,9 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function fakeHttpSignatureTestAsyncWithHttpInfo( public function fakeHttpSignatureTestAsyncWithHttpInfo(
$pet, \OpenAPI\Client\Model\Pet $pet,
$query_1 = null, ?string $query_1 = null,
$header_1 = null, ?string $header_1 = null,
string $contentType = self::contentTypes['fakeHttpSignatureTest'][0] string $contentType = self::contentTypes['fakeHttpSignatureTest'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1318,9 +1318,9 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function fakeHttpSignatureTestRequest( public function fakeHttpSignatureTestRequest(
$pet, \OpenAPI\Client\Model\Pet $pet,
$query_1 = null, ?string $query_1 = null,
$header_1 = null, ?string $header_1 = null,
string $contentType = self::contentTypes['fakeHttpSignatureTest'][0] string $contentType = self::contentTypes['fakeHttpSignatureTest'][0]
): Request ): Request
{ {
@ -1596,7 +1596,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function fakeOuterBooleanSerializeAsyncWithHttpInfo( public function fakeOuterBooleanSerializeAsyncWithHttpInfo(
$body = null, ?bool $body = null,
string $contentType = self::contentTypes['fakeOuterBooleanSerialize'][0] string $contentType = self::contentTypes['fakeOuterBooleanSerialize'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1649,7 +1649,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function fakeOuterBooleanSerializeRequest( public function fakeOuterBooleanSerializeRequest(
$body = null, ?bool $body = null,
string $contentType = self::contentTypes['fakeOuterBooleanSerialize'][0] string $contentType = self::contentTypes['fakeOuterBooleanSerialize'][0]
): Request ): Request
{ {
@ -1904,7 +1904,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function fakeOuterCompositeSerializeAsyncWithHttpInfo( public function fakeOuterCompositeSerializeAsyncWithHttpInfo(
$outer_composite = null, ?\OpenAPI\Client\Model\OuterComposite $outer_composite = null,
string $contentType = self::contentTypes['fakeOuterCompositeSerialize'][0] string $contentType = self::contentTypes['fakeOuterCompositeSerialize'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1957,7 +1957,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function fakeOuterCompositeSerializeRequest( public function fakeOuterCompositeSerializeRequest(
$outer_composite = null, ?\OpenAPI\Client\Model\OuterComposite $outer_composite = null,
string $contentType = self::contentTypes['fakeOuterCompositeSerialize'][0] string $contentType = self::contentTypes['fakeOuterCompositeSerialize'][0]
): Request ): Request
{ {
@ -2212,7 +2212,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function fakeOuterNumberSerializeAsyncWithHttpInfo( public function fakeOuterNumberSerializeAsyncWithHttpInfo(
$body = null, ?float $body = null,
string $contentType = self::contentTypes['fakeOuterNumberSerialize'][0] string $contentType = self::contentTypes['fakeOuterNumberSerialize'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2265,7 +2265,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function fakeOuterNumberSerializeRequest( public function fakeOuterNumberSerializeRequest(
$body = null, ?float $body = null,
string $contentType = self::contentTypes['fakeOuterNumberSerialize'][0] string $contentType = self::contentTypes['fakeOuterNumberSerialize'][0]
): Request ): Request
{ {
@ -2520,7 +2520,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function fakeOuterStringSerializeAsyncWithHttpInfo( public function fakeOuterStringSerializeAsyncWithHttpInfo(
$body = null, ?string $body = null,
string $contentType = self::contentTypes['fakeOuterStringSerialize'][0] string $contentType = self::contentTypes['fakeOuterStringSerialize'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2573,7 +2573,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function fakeOuterStringSerializeRequest( public function fakeOuterStringSerializeRequest(
$body = null, ?string $body = null,
string $contentType = self::contentTypes['fakeOuterStringSerialize'][0] string $contentType = self::contentTypes['fakeOuterStringSerialize'][0]
): Request ): Request
{ {
@ -2828,7 +2828,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function fakePropertyEnumIntegerSerializeAsyncWithHttpInfo( public function fakePropertyEnumIntegerSerializeAsyncWithHttpInfo(
$outer_object_with_enum_property, \OpenAPI\Client\Model\OuterObjectWithEnumProperty $outer_object_with_enum_property,
string $contentType = self::contentTypes['fakePropertyEnumIntegerSerialize'][0] string $contentType = self::contentTypes['fakePropertyEnumIntegerSerialize'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2881,7 +2881,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function fakePropertyEnumIntegerSerializeRequest( public function fakePropertyEnumIntegerSerializeRequest(
$outer_object_with_enum_property, \OpenAPI\Client\Model\OuterObjectWithEnumProperty $outer_object_with_enum_property,
string $contentType = self::contentTypes['fakePropertyEnumIntegerSerialize'][0] string $contentType = self::contentTypes['fakePropertyEnumIntegerSerialize'][0]
): Request ): Request
{ {
@ -3072,7 +3072,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testAdditionalPropertiesReferenceAsyncWithHttpInfo( public function testAdditionalPropertiesReferenceAsyncWithHttpInfo(
$request_body, array $request_body,
string $contentType = self::contentTypes['testAdditionalPropertiesReference'][0] string $contentType = self::contentTypes['testAdditionalPropertiesReference'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3112,7 +3112,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testAdditionalPropertiesReferenceRequest( public function testAdditionalPropertiesReferenceRequest(
$request_body, array $request_body,
string $contentType = self::contentTypes['testAdditionalPropertiesReference'][0] string $contentType = self::contentTypes['testAdditionalPropertiesReference'][0]
): Request ): Request
{ {
@ -3207,7 +3207,7 @@ class FakeApi
* @return void * @return void
*/ */
public function testBodyWithBinary( public function testBodyWithBinary(
\SplFileObject $body, ?\SplFileObject $body,
string $contentType = self::contentTypes['testBodyWithBinary'][0] string $contentType = self::contentTypes['testBodyWithBinary'][0]
): void ): void
{ {
@ -3225,7 +3225,7 @@ class FakeApi
* @return array of null, HTTP status code, HTTP response headers (array of strings) * @return array of null, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testBodyWithBinaryWithHttpInfo( public function testBodyWithBinaryWithHttpInfo(
\SplFileObject $body, ?\SplFileObject $body,
string $contentType = self::contentTypes['testBodyWithBinary'][0] string $contentType = self::contentTypes['testBodyWithBinary'][0]
): array ): array
{ {
@ -3273,7 +3273,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyWithBinaryAsync( public function testBodyWithBinaryAsync(
\SplFileObject $body, ?\SplFileObject $body,
string $contentType = self::contentTypes['testBodyWithBinary'][0] string $contentType = self::contentTypes['testBodyWithBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3295,7 +3295,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyWithBinaryAsyncWithHttpInfo( public function testBodyWithBinaryAsyncWithHttpInfo(
$body, ?\SplFileObject $body,
string $contentType = self::contentTypes['testBodyWithBinary'][0] string $contentType = self::contentTypes['testBodyWithBinary'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3335,7 +3335,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyWithBinaryRequest( public function testBodyWithBinaryRequest(
$body, ?\SplFileObject $body,
string $contentType = self::contentTypes['testBodyWithBinary'][0] string $contentType = self::contentTypes['testBodyWithBinary'][0]
): Request ): Request
{ {
@ -3518,7 +3518,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyWithFileSchemaAsyncWithHttpInfo( public function testBodyWithFileSchemaAsyncWithHttpInfo(
$file_schema_test_class, \OpenAPI\Client\Model\FileSchemaTestClass $file_schema_test_class,
string $contentType = self::contentTypes['testBodyWithFileSchema'][0] string $contentType = self::contentTypes['testBodyWithFileSchema'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3558,7 +3558,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyWithFileSchemaRequest( public function testBodyWithFileSchemaRequest(
$file_schema_test_class, \OpenAPI\Client\Model\FileSchemaTestClass $file_schema_test_class,
string $contentType = self::contentTypes['testBodyWithFileSchema'][0] string $contentType = self::contentTypes['testBodyWithFileSchema'][0]
): Request ): Request
{ {
@ -3748,8 +3748,8 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testBodyWithQueryParamsAsyncWithHttpInfo( public function testBodyWithQueryParamsAsyncWithHttpInfo(
$query, string $query,
$user, \OpenAPI\Client\Model\User $user,
string $contentType = self::contentTypes['testBodyWithQueryParams'][0] string $contentType = self::contentTypes['testBodyWithQueryParams'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3790,8 +3790,8 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testBodyWithQueryParamsRequest( public function testBodyWithQueryParamsRequest(
$query, string $query,
$user, \OpenAPI\Client\Model\User $user,
string $contentType = self::contentTypes['testBodyWithQueryParams'][0] string $contentType = self::contentTypes['testBodyWithQueryParams'][0]
): Request ): Request
{ {
@ -4076,7 +4076,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testClientModelAsyncWithHttpInfo( public function testClientModelAsyncWithHttpInfo(
$client, \OpenAPI\Client\Model\Client $client,
string $contentType = self::contentTypes['testClientModel'][0] string $contentType = self::contentTypes['testClientModel'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -4129,7 +4129,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testClientModelRequest( public function testClientModelRequest(
$client, \OpenAPI\Client\Model\Client $client,
string $contentType = self::contentTypes['testClientModel'][0] string $contentType = self::contentTypes['testClientModel'][0]
): Request ): Request
{ {
@ -4411,20 +4411,20 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEndpointParametersAsyncWithHttpInfo( public function testEndpointParametersAsyncWithHttpInfo(
$number, float $number,
$double, float $double,
$pattern_without_delimiter, string $pattern_without_delimiter,
$byte, string $byte,
$integer = null, ?int $integer = null,
$int32 = null, ?int $int32 = null,
$int64 = null, ?int $int64 = null,
$float = null, ?float $float = null,
$string = null, ?string $string = null,
$binary = null, ?\SplFileObject $binary = null,
$date = null, ?\DateTime $date = null,
$date_time = null, ?\DateTime $date_time = null,
$password = null, ?string $password = null,
$callback = null, ?string $callback = null,
string $contentType = self::contentTypes['testEndpointParameters'][0] string $contentType = self::contentTypes['testEndpointParameters'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -4477,20 +4477,20 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEndpointParametersRequest( public function testEndpointParametersRequest(
$number, float $number,
$double, float $double,
$pattern_without_delimiter, string $pattern_without_delimiter,
$byte, string $byte,
$integer = null, ?int $integer = null,
$int32 = null, ?int $int32 = null,
$int64 = null, ?int $int64 = null,
$float = null, ?float $float = null,
$string = null, ?string $string = null,
$binary = null, ?\SplFileObject $binary = null,
$date = null, ?\DateTime $date = null,
$date_time = null, ?\DateTime $date_time = null,
$password = null, ?string $password = null,
$callback = null, ?string $callback = null,
string $contentType = self::contentTypes['testEndpointParameters'][0] string $contentType = self::contentTypes['testEndpointParameters'][0]
): Request ): Request
{ {
@ -4728,14 +4728,14 @@ class FakeApi
* @return void * @return void
*/ */
public function testEnumParameters( public function testEnumParameters(
?array $enum_header_string_array = ['$'], array $enum_header_string_array = ['$'],
?string $enum_header_string = '-efg', ?string $enum_header_string = '-efg',
?array $enum_query_string_array = ['$'], array $enum_query_string_array = ['$'],
?string $enum_query_string = '-efg', ?string $enum_query_string = '-efg',
?int $enum_query_integer = null, ?int $enum_query_integer = null,
?float $enum_query_double = null, ?float $enum_query_double = null,
?array $enum_query_model_array = null, array $enum_query_model_array = null,
?array $enum_form_string_array = ['$'], array $enum_form_string_array = ['$'],
?string $enum_form_string = '-efg', ?string $enum_form_string = '-efg',
string $contentType = self::contentTypes['testEnumParameters'][0] string $contentType = self::contentTypes['testEnumParameters'][0]
): void ): void
@ -4764,14 +4764,14 @@ class FakeApi
* @return array of null, HTTP status code, HTTP response headers (array of strings) * @return array of null, HTTP status code, HTTP response headers (array of strings)
*/ */
public function testEnumParametersWithHttpInfo( public function testEnumParametersWithHttpInfo(
?array $enum_header_string_array = ['$'], array $enum_header_string_array = ['$'],
?string $enum_header_string = '-efg', ?string $enum_header_string = '-efg',
?array $enum_query_string_array = ['$'], array $enum_query_string_array = ['$'],
?string $enum_query_string = '-efg', ?string $enum_query_string = '-efg',
?int $enum_query_integer = null, ?int $enum_query_integer = null,
?float $enum_query_double = null, ?float $enum_query_double = null,
?array $enum_query_model_array = null, array $enum_query_model_array = null,
?array $enum_form_string_array = ['$'], array $enum_form_string_array = ['$'],
?string $enum_form_string = '-efg', ?string $enum_form_string = '-efg',
string $contentType = self::contentTypes['testEnumParameters'][0] string $contentType = self::contentTypes['testEnumParameters'][0]
): array ): array
@ -4830,14 +4830,14 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEnumParametersAsync( public function testEnumParametersAsync(
?array $enum_header_string_array = ['$'], array $enum_header_string_array = ['$'],
?string $enum_header_string = '-efg', ?string $enum_header_string = '-efg',
?array $enum_query_string_array = ['$'], array $enum_query_string_array = ['$'],
?string $enum_query_string = '-efg', ?string $enum_query_string = '-efg',
?int $enum_query_integer = null, ?int $enum_query_integer = null,
?float $enum_query_double = null, ?float $enum_query_double = null,
?array $enum_query_model_array = null, array $enum_query_model_array = null,
?array $enum_form_string_array = ['$'], array $enum_form_string_array = ['$'],
?string $enum_form_string = '-efg', ?string $enum_form_string = '-efg',
string $contentType = self::contentTypes['testEnumParameters'][0] string $contentType = self::contentTypes['testEnumParameters'][0]
): PromiseInterface ): PromiseInterface
@ -4870,15 +4870,15 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testEnumParametersAsyncWithHttpInfo( public function testEnumParametersAsyncWithHttpInfo(
$enum_header_string_array = ['$'], array $enum_header_string_array = ['$'],
$enum_header_string = '-efg', ?string $enum_header_string = '-efg',
$enum_query_string_array = ['$'], array $enum_query_string_array = ['$'],
$enum_query_string = '-efg', ?string $enum_query_string = '-efg',
$enum_query_integer = null, ?int $enum_query_integer = null,
$enum_query_double = null, ?float $enum_query_double = null,
$enum_query_model_array = null, array $enum_query_model_array = null,
$enum_form_string_array = ['$'], array $enum_form_string_array = ['$'],
$enum_form_string = '-efg', ?string $enum_form_string = '-efg',
string $contentType = self::contentTypes['testEnumParameters'][0] string $contentType = self::contentTypes['testEnumParameters'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -4926,15 +4926,15 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testEnumParametersRequest( public function testEnumParametersRequest(
$enum_header_string_array = ['$'], array $enum_header_string_array = ['$'],
$enum_header_string = '-efg', ?string $enum_header_string = '-efg',
$enum_query_string_array = ['$'], array $enum_query_string_array = ['$'],
$enum_query_string = '-efg', ?string $enum_query_string = '-efg',
$enum_query_integer = null, ?int $enum_query_integer = null,
$enum_query_double = null, ?float $enum_query_double = null,
$enum_query_model_array = null, array $enum_query_model_array = null,
$enum_form_string_array = ['$'], array $enum_form_string_array = ['$'],
$enum_form_string = '-efg', ?string $enum_form_string = '-efg',
string $contentType = self::contentTypes['testEnumParameters'][0] string $contentType = self::contentTypes['testEnumParameters'][0]
): Request ): Request
{ {
@ -5511,7 +5511,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testInlineAdditionalPropertiesAsyncWithHttpInfo( public function testInlineAdditionalPropertiesAsyncWithHttpInfo(
$request_body, array $request_body,
string $contentType = self::contentTypes['testInlineAdditionalProperties'][0] string $contentType = self::contentTypes['testInlineAdditionalProperties'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -5551,7 +5551,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testInlineAdditionalPropertiesRequest( public function testInlineAdditionalPropertiesRequest(
$request_body, array $request_body,
string $contentType = self::contentTypes['testInlineAdditionalProperties'][0] string $contentType = self::contentTypes['testInlineAdditionalProperties'][0]
): Request ): Request
{ {
@ -5742,7 +5742,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testInlineFreeformAdditionalPropertiesAsyncWithHttpInfo( public function testInlineFreeformAdditionalPropertiesAsyncWithHttpInfo(
$test_inline_freeform_additional_properties_request, \OpenAPI\Client\Model\TestInlineFreeformAdditionalPropertiesRequest $test_inline_freeform_additional_properties_request,
string $contentType = self::contentTypes['testInlineFreeformAdditionalProperties'][0] string $contentType = self::contentTypes['testInlineFreeformAdditionalProperties'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -5782,7 +5782,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testInlineFreeformAdditionalPropertiesRequest( public function testInlineFreeformAdditionalPropertiesRequest(
$test_inline_freeform_additional_properties_request, \OpenAPI\Client\Model\TestInlineFreeformAdditionalPropertiesRequest $test_inline_freeform_additional_properties_request,
string $contentType = self::contentTypes['testInlineFreeformAdditionalProperties'][0] string $contentType = self::contentTypes['testInlineFreeformAdditionalProperties'][0]
): Request ): Request
{ {
@ -5980,8 +5980,8 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testJsonFormDataAsyncWithHttpInfo( public function testJsonFormDataAsyncWithHttpInfo(
$param, string $param,
$param2, string $param2,
string $contentType = self::contentTypes['testJsonFormData'][0] string $contentType = self::contentTypes['testJsonFormData'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -6022,8 +6022,8 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testJsonFormDataRequest( public function testJsonFormDataRequest(
$param, string $param,
$param2, string $param2,
string $contentType = self::contentTypes['testJsonFormData'][0] string $contentType = self::contentTypes['testJsonFormData'][0]
): Request ): Request
{ {
@ -6222,7 +6222,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testNullableAsyncWithHttpInfo( public function testNullableAsyncWithHttpInfo(
$child_with_nullable, \OpenAPI\Client\Model\ChildWithNullable $child_with_nullable,
string $contentType = self::contentTypes['testNullable'][0] string $contentType = self::contentTypes['testNullable'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -6262,7 +6262,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testNullableRequest( public function testNullableRequest(
$child_with_nullable, \OpenAPI\Client\Model\ChildWithNullable $child_with_nullable,
string $contentType = self::contentTypes['testNullable'][0] string $contentType = self::contentTypes['testNullable'][0]
): Request ): Request
{ {
@ -6369,7 +6369,7 @@ class FakeApi
array $url, array $url,
array $context, array $context,
string $allow_empty, string $allow_empty,
?array $language = null, array $language = null,
string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0] string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0]
): void ): void
{ {
@ -6399,7 +6399,7 @@ class FakeApi
array $url, array $url,
array $context, array $context,
string $allow_empty, string $allow_empty,
?array $language = null, array $language = null,
string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0] string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0]
): array ): array
{ {
@ -6459,7 +6459,7 @@ class FakeApi
array $url, array $url,
array $context, array $context,
string $allow_empty, string $allow_empty,
?array $language = null, array $language = null,
string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0] string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -6487,13 +6487,13 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testQueryParameterCollectionFormatAsyncWithHttpInfo( public function testQueryParameterCollectionFormatAsyncWithHttpInfo(
$pipe, array $pipe,
$ioutil, array $ioutil,
$http, array $http,
$url, array $url,
$context, array $context,
$allow_empty, string $allow_empty,
$language = null, array $language = null,
string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0] string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -6539,13 +6539,13 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testQueryParameterCollectionFormatRequest( public function testQueryParameterCollectionFormatRequest(
$pipe, array $pipe,
$ioutil, array $ioutil,
$http, array $http,
$url, array $url,
$context, array $context,
$allow_empty, string $allow_empty,
$language = null, array $language = null,
string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0] string $contentType = self::contentTypes['testQueryParameterCollectionFormat'][0]
): Request ): Request
{ {
@ -6828,7 +6828,7 @@ class FakeApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testStringMapReferenceAsyncWithHttpInfo( public function testStringMapReferenceAsyncWithHttpInfo(
$request_body, array $request_body,
string $contentType = self::contentTypes['testStringMapReference'][0] string $contentType = self::contentTypes['testStringMapReference'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -6868,7 +6868,7 @@ class FakeApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testStringMapReferenceRequest( public function testStringMapReferenceRequest(
$request_body, array $request_body,
string $contentType = self::contentTypes['testStringMapReference'][0] string $contentType = self::contentTypes['testStringMapReference'][0]
): Request ): Request
{ {

View File

@ -307,7 +307,7 @@ class FakeClassnameTags123Api
* @return PromiseInterface * @return PromiseInterface
*/ */
public function testClassnameAsyncWithHttpInfo( public function testClassnameAsyncWithHttpInfo(
$client, \OpenAPI\Client\Model\Client $client,
string $contentType = self::contentTypes['testClassname'][0] string $contentType = self::contentTypes['testClassname'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -360,7 +360,7 @@ class FakeClassnameTags123Api
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function testClassnameRequest( public function testClassnameRequest(
$client, \OpenAPI\Client\Model\Client $client,
string $contentType = self::contentTypes['testClassname'][0] string $contentType = self::contentTypes['testClassname'][0]
): Request ): Request
{ {

View File

@ -333,7 +333,7 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function addPetAsyncWithHttpInfo( public function addPetAsyncWithHttpInfo(
$pet, \OpenAPI\Client\Model\Pet $pet,
?int $hostIndex = null, ?int $hostIndex = null,
array $variables = [], array $variables = [],
string $contentType = self::contentTypes['addPet'][0] string $contentType = self::contentTypes['addPet'][0]
@ -393,7 +393,7 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function addPetRequest( public function addPetRequest(
$pet, \OpenAPI\Client\Model\Pet $pet,
?int $hostIndex = null, ?int $hostIndex = null,
array $variables = [], array $variables = [],
string $contentType = self::contentTypes['addPet'][0] string $contentType = self::contentTypes['addPet'][0]
@ -649,8 +649,8 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function deletePetAsyncWithHttpInfo( public function deletePetAsyncWithHttpInfo(
$pet_id, int $pet_id,
$api_key = null, ?string $api_key = null,
string $contentType = self::contentTypes['deletePet'][0] string $contentType = self::contentTypes['deletePet'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -691,8 +691,8 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function deletePetRequest( public function deletePetRequest(
$pet_id, int $pet_id,
$api_key = null, ?string $api_key = null,
string $contentType = self::contentTypes['deletePet'][0] string $contentType = self::contentTypes['deletePet'][0]
): Request ): Request
{ {
@ -971,7 +971,7 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function findPetsByStatusAsyncWithHttpInfo( public function findPetsByStatusAsyncWithHttpInfo(
$status, array $status,
string $contentType = self::contentTypes['findPetsByStatus'][0] string $contentType = self::contentTypes['findPetsByStatus'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1024,7 +1024,7 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function findPetsByStatusRequest( public function findPetsByStatusRequest(
$status, array $status,
string $contentType = self::contentTypes['findPetsByStatus'][0] string $contentType = self::contentTypes['findPetsByStatus'][0]
): Request ): Request
{ {
@ -1303,7 +1303,7 @@ class PetApi
* @deprecated * @deprecated
*/ */
public function findPetsByTagsAsyncWithHttpInfo( public function findPetsByTagsAsyncWithHttpInfo(
$tags, array $tags,
string $contentType = self::contentTypes['findPetsByTags'][0] string $contentType = self::contentTypes['findPetsByTags'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1357,7 +1357,7 @@ class PetApi
* @deprecated * @deprecated
*/ */
public function findPetsByTagsRequest( public function findPetsByTagsRequest(
$tags, array $tags,
string $contentType = self::contentTypes['findPetsByTags'][0] string $contentType = self::contentTypes['findPetsByTags'][0]
): Request ): Request
{ {
@ -1632,7 +1632,7 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function getPetByIdAsyncWithHttpInfo( public function getPetByIdAsyncWithHttpInfo(
$pet_id, int $pet_id,
string $contentType = self::contentTypes['getPetById'][0] string $contentType = self::contentTypes['getPetById'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1685,7 +1685,7 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function getPetByIdRequest( public function getPetByIdRequest(
$pet_id, int $pet_id,
string $contentType = self::contentTypes['getPetById'][0] string $contentType = self::contentTypes['getPetById'][0]
): Request ): Request
{ {
@ -1960,7 +1960,7 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function updatePetAsyncWithHttpInfo( public function updatePetAsyncWithHttpInfo(
$pet, \OpenAPI\Client\Model\Pet $pet,
?int $hostIndex = null, ?int $hostIndex = null,
array $variables = [], array $variables = [],
string $contentType = self::contentTypes['updatePet'][0] string $contentType = self::contentTypes['updatePet'][0]
@ -2020,7 +2020,7 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function updatePetRequest( public function updatePetRequest(
$pet, \OpenAPI\Client\Model\Pet $pet,
?int $hostIndex = null, ?int $hostIndex = null,
array $variables = [], array $variables = [],
string $contentType = self::contentTypes['updatePet'][0] string $contentType = self::contentTypes['updatePet'][0]
@ -2283,9 +2283,9 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function updatePetWithFormAsyncWithHttpInfo( public function updatePetWithFormAsyncWithHttpInfo(
$pet_id, int $pet_id,
$name = null, ?string $name = null,
$status = null, ?string $status = null,
string $contentType = self::contentTypes['updatePetWithForm'][0] string $contentType = self::contentTypes['updatePetWithForm'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2327,9 +2327,9 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function updatePetWithFormRequest( public function updatePetWithFormRequest(
$pet_id, int $pet_id,
$name = null, ?string $name = null,
$status = null, ?string $status = null,
string $contentType = self::contentTypes['updatePetWithForm'][0] string $contentType = self::contentTypes['updatePetWithForm'][0]
): Request ): Request
{ {
@ -2627,9 +2627,9 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function uploadFileAsyncWithHttpInfo( public function uploadFileAsyncWithHttpInfo(
$pet_id, int $pet_id,
$additional_metadata = null, ?string $additional_metadata = null,
$file = null, ?\SplFileObject $file = null,
string $contentType = self::contentTypes['uploadFile'][0] string $contentType = self::contentTypes['uploadFile'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2684,9 +2684,9 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function uploadFileRequest( public function uploadFileRequest(
$pet_id, int $pet_id,
$additional_metadata = null, ?string $additional_metadata = null,
$file = null, ?\SplFileObject $file = null,
string $contentType = self::contentTypes['uploadFile'][0] string $contentType = self::contentTypes['uploadFile'][0]
): Request ): Request
{ {
@ -2994,9 +2994,9 @@ class PetApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function uploadFileWithRequiredFileAsyncWithHttpInfo( public function uploadFileWithRequiredFileAsyncWithHttpInfo(
$pet_id, int $pet_id,
$required_file, \SplFileObject $required_file,
$additional_metadata = null, ?string $additional_metadata = null,
string $contentType = self::contentTypes['uploadFileWithRequiredFile'][0] string $contentType = self::contentTypes['uploadFileWithRequiredFile'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -3051,9 +3051,9 @@ class PetApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function uploadFileWithRequiredFileRequest( public function uploadFileWithRequiredFileRequest(
$pet_id, int $pet_id,
$required_file, \SplFileObject $required_file,
$additional_metadata = null, ?string $additional_metadata = null,
string $contentType = self::contentTypes['uploadFileWithRequiredFile'][0] string $contentType = self::contentTypes['uploadFileWithRequiredFile'][0]
): Request ): Request
{ {

View File

@ -238,7 +238,7 @@ class StoreApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function deleteOrderAsyncWithHttpInfo( public function deleteOrderAsyncWithHttpInfo(
$order_id, string $order_id,
string $contentType = self::contentTypes['deleteOrder'][0] string $contentType = self::contentTypes['deleteOrder'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -278,7 +278,7 @@ class StoreApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function deleteOrderRequest( public function deleteOrderRequest(
$order_id, string $order_id,
string $contentType = self::contentTypes['deleteOrder'][0] string $contentType = self::contentTypes['deleteOrder'][0]
): Request ): Request
{ {
@ -851,7 +851,7 @@ class StoreApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function getOrderByIdAsyncWithHttpInfo( public function getOrderByIdAsyncWithHttpInfo(
$order_id, int $order_id,
string $contentType = self::contentTypes['getOrderById'][0] string $contentType = self::contentTypes['getOrderById'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -904,7 +904,7 @@ class StoreApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function getOrderByIdRequest( public function getOrderByIdRequest(
$order_id, int $order_id,
string $contentType = self::contentTypes['getOrderById'][0] string $contentType = self::contentTypes['getOrderById'][0]
): Request ): Request
{ {
@ -1180,7 +1180,7 @@ class StoreApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function placeOrderAsyncWithHttpInfo( public function placeOrderAsyncWithHttpInfo(
$order, \OpenAPI\Client\Model\Order $order,
string $contentType = self::contentTypes['placeOrder'][0] string $contentType = self::contentTypes['placeOrder'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1233,7 +1233,7 @@ class StoreApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function placeOrderRequest( public function placeOrderRequest(
$order, \OpenAPI\Client\Model\Order $order,
string $contentType = self::contentTypes['placeOrder'][0] string $contentType = self::contentTypes['placeOrder'][0]
): Request ): Request
{ {

View File

@ -250,7 +250,7 @@ class UserApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function createUserAsyncWithHttpInfo( public function createUserAsyncWithHttpInfo(
$user, \OpenAPI\Client\Model\User $user,
string $contentType = self::contentTypes['createUser'][0] string $contentType = self::contentTypes['createUser'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -290,7 +290,7 @@ class UserApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function createUserRequest( public function createUserRequest(
$user, \OpenAPI\Client\Model\User $user,
string $contentType = self::contentTypes['createUser'][0] string $contentType = self::contentTypes['createUser'][0]
): Request ): Request
{ {
@ -481,7 +481,7 @@ class UserApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function createUsersWithArrayInputAsyncWithHttpInfo( public function createUsersWithArrayInputAsyncWithHttpInfo(
$user, array $user,
string $contentType = self::contentTypes['createUsersWithArrayInput'][0] string $contentType = self::contentTypes['createUsersWithArrayInput'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -521,7 +521,7 @@ class UserApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function createUsersWithArrayInputRequest( public function createUsersWithArrayInputRequest(
$user, array $user,
string $contentType = self::contentTypes['createUsersWithArrayInput'][0] string $contentType = self::contentTypes['createUsersWithArrayInput'][0]
): Request ): Request
{ {
@ -712,7 +712,7 @@ class UserApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function createUsersWithListInputAsyncWithHttpInfo( public function createUsersWithListInputAsyncWithHttpInfo(
$user, array $user,
string $contentType = self::contentTypes['createUsersWithListInput'][0] string $contentType = self::contentTypes['createUsersWithListInput'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -752,7 +752,7 @@ class UserApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function createUsersWithListInputRequest( public function createUsersWithListInputRequest(
$user, array $user,
string $contentType = self::contentTypes['createUsersWithListInput'][0] string $contentType = self::contentTypes['createUsersWithListInput'][0]
): Request ): Request
{ {
@ -943,7 +943,7 @@ class UserApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function deleteUserAsyncWithHttpInfo( public function deleteUserAsyncWithHttpInfo(
$username, string $username,
string $contentType = self::contentTypes['deleteUser'][0] string $contentType = self::contentTypes['deleteUser'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -983,7 +983,7 @@ class UserApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function deleteUserRequest( public function deleteUserRequest(
$username, string $username,
string $contentType = self::contentTypes['deleteUser'][0] string $contentType = self::contentTypes['deleteUser'][0]
): Request ): Request
{ {
@ -1253,7 +1253,7 @@ class UserApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function getUserByNameAsyncWithHttpInfo( public function getUserByNameAsyncWithHttpInfo(
$username, string $username,
string $contentType = self::contentTypes['getUserByName'][0] string $contentType = self::contentTypes['getUserByName'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1306,7 +1306,7 @@ class UserApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function getUserByNameRequest( public function getUserByNameRequest(
$username, string $username,
string $contentType = self::contentTypes['getUserByName'][0] string $contentType = self::contentTypes['getUserByName'][0]
): Request ): Request
{ {
@ -1583,8 +1583,8 @@ class UserApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function loginUserAsyncWithHttpInfo( public function loginUserAsyncWithHttpInfo(
$username, string $username,
$password, string $password,
string $contentType = self::contentTypes['loginUser'][0] string $contentType = self::contentTypes['loginUser'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -1638,8 +1638,8 @@ class UserApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function loginUserRequest( public function loginUserRequest(
$username, string $username,
$password, string $password,
string $contentType = self::contentTypes['loginUser'][0] string $contentType = self::contentTypes['loginUser'][0]
): Request ): Request
{ {
@ -2062,8 +2062,8 @@ class UserApi
* @return PromiseInterface * @return PromiseInterface
*/ */
public function updateUserAsyncWithHttpInfo( public function updateUserAsyncWithHttpInfo(
$username, string $username,
$user, \OpenAPI\Client\Model\User $user,
string $contentType = self::contentTypes['updateUser'][0] string $contentType = self::contentTypes['updateUser'][0]
): PromiseInterface ): PromiseInterface
{ {
@ -2104,8 +2104,8 @@ class UserApi
* @return \GuzzleHttp\Psr7\Request * @return \GuzzleHttp\Psr7\Request
*/ */
public function updateUserRequest( public function updateUserRequest(
$username, string $username,
$user, \OpenAPI\Client\Model\User $user,
string $contentType = self::contentTypes['updateUser'][0] string $contentType = self::contentTypes['updateUser'][0]
): Request ): Request
{ {