Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,7 @@ use {{invokerPackage}}\ObjectSerializer;
{{#hasBodyOrFormParams}}
$formParams = [];
{{/hasBodyOrFormParams}}
{{#hasQueryParams}}
$queryParams = [];
{{/hasQueryParams}}
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public function testAuthHttpBasicRequest(
{

$resourcePath = '/auth/http/basic';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -548,6 +549,7 @@ public function testAuthHttpBearerRequest(
{

$resourcePath = '/auth/http/bearer';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
10 changes: 10 additions & 0 deletions samples/client/echo_api/php-nextgen-streaming/src/Api/BodyApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ public function testBinaryGifRequest(
{

$resourcePath = '/binary/gif';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -578,6 +579,7 @@ public function testBodyApplicationOctetstreamBinaryRequest(

$resourcePath = '/body/application/octetstream/binary';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -852,6 +854,7 @@ public function testBodyMultipartFormdataArrayOfBinaryRequest(

$resourcePath = '/body/application/octetstream/array_of_binary';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1122,6 +1125,7 @@ public function testBodyMultipartFormdataSingleBinaryRequest(

$resourcePath = '/body/application/octetstream/single_binary';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1392,6 +1396,7 @@ public function testEchoBodyAllOfPetRequest(

$resourcePath = '/echo/body/allOf/Pet';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1660,6 +1665,7 @@ public function testEchoBodyFreeFormObjectResponseStringRequest(

$resourcePath = '/echo/body/FreeFormObject/response_string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1928,6 +1934,7 @@ public function testEchoBodyPetRequest(

$resourcePath = '/echo/body/Pet';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -2196,6 +2203,7 @@ public function testEchoBodyPetResponseStringRequest(

$resourcePath = '/echo/body/Pet/response_string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -2464,6 +2472,7 @@ public function testEchoBodyStringEnumRequest(

$resourcePath = '/echo/body/string_enum';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -2732,6 +2741,7 @@ public function testEchoBodyTagResponseStringRequest(

$resourcePath = '/echo/body/Tag/response_string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ public function testFormIntegerBooleanStringRequest(

$resourcePath = '/form/integer/boolean/string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -629,6 +630,7 @@ public function testFormObjectMultipartRequest(

$resourcePath = '/form/object/multipart';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -949,6 +951,7 @@ public function testFormOneofRequest(

$resourcePath = '/form/oneof';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ public function testHeaderIntegerBooleanStringEnumsRequest(
{

$resourcePath = '/header/integer/boolean/string/enums';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathE
}

$resourcePath = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
2 changes: 2 additions & 0 deletions samples/client/echo_api/php-nextgen/src/Api/AuthApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ public function testAuthHttpBasicRequest(
{

$resourcePath = '/auth/http/basic';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -548,6 +549,7 @@ public function testAuthHttpBearerRequest(
{

$resourcePath = '/auth/http/bearer';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
10 changes: 10 additions & 0 deletions samples/client/echo_api/php-nextgen/src/Api/BodyApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,7 @@ public function testBinaryGifRequest(
{

$resourcePath = '/binary/gif';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -578,6 +579,7 @@ public function testBodyApplicationOctetstreamBinaryRequest(

$resourcePath = '/body/application/octetstream/binary';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -852,6 +854,7 @@ public function testBodyMultipartFormdataArrayOfBinaryRequest(

$resourcePath = '/body/application/octetstream/array_of_binary';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1122,6 +1125,7 @@ public function testBodyMultipartFormdataSingleBinaryRequest(

$resourcePath = '/body/application/octetstream/single_binary';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1392,6 +1396,7 @@ public function testEchoBodyAllOfPetRequest(

$resourcePath = '/echo/body/allOf/Pet';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1660,6 +1665,7 @@ public function testEchoBodyFreeFormObjectResponseStringRequest(

$resourcePath = '/echo/body/FreeFormObject/response_string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -1928,6 +1934,7 @@ public function testEchoBodyPetRequest(

$resourcePath = '/echo/body/Pet';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -2196,6 +2203,7 @@ public function testEchoBodyPetResponseStringRequest(

$resourcePath = '/echo/body/Pet/response_string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -2464,6 +2472,7 @@ public function testEchoBodyStringEnumRequest(

$resourcePath = '/echo/body/string_enum';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -2732,6 +2741,7 @@ public function testEchoBodyTagResponseStringRequest(

$resourcePath = '/echo/body/Tag/response_string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
3 changes: 3 additions & 0 deletions samples/client/echo_api/php-nextgen/src/Api/FormApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ public function testFormIntegerBooleanStringRequest(

$resourcePath = '/form/integer/boolean/string';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -629,6 +630,7 @@ public function testFormObjectMultipartRequest(

$resourcePath = '/form/object/multipart';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -949,6 +951,7 @@ public function testFormOneofRequest(

$resourcePath = '/form/oneof';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
1 change: 1 addition & 0 deletions samples/client/echo_api/php-nextgen/src/Api/HeaderApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ public function testHeaderIntegerBooleanStringEnumsRequest(
{

$resourcePath = '/header/integer/boolean/string/enums';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
1 change: 1 addition & 0 deletions samples/client/echo_api/php-nextgen/src/Api/PathApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,7 @@ public function testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathE
}

$resourcePath = '/path/string/{path_string}/integer/{path_integer}/{enum_nonref_string_path}/{enum_ref_string_path}';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,7 @@ public function call123TestSpecialTagsRequest(

$resourcePath = '/another-fake/dummy';
$formParams = [];
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ public function errorRequest(
{

$resourcePath = '/error';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down Expand Up @@ -520,6 +521,7 @@ public function fooGetRequest(
{

$resourcePath = '/foo';
$queryParams = [];
$headerParams = [];
$httpBody = '';
$multipart = false;
Expand Down
Loading
Loading