forked from loafle/openapi-generator-original
minor wording change (#2299)
This commit is contained in:
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
@@ -46,10 +46,10 @@ class AnotherFakeController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['client'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $client when calling call123TestSpecialTags');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling call123TestSpecialTags');
|
||||
}
|
||||
$client = $input['client'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing call123TestSpecialTags as a patch method ?');
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
@@ -46,10 +46,10 @@ class FakeClassnameTags123Controller extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['client'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $client when calling testClassname');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling testClassname');
|
||||
}
|
||||
$client = $input['client'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing testClassname as a patch method ?');
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
@@ -46,10 +46,10 @@ class FakeController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['client'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $client when calling testClientModel');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling testClientModel');
|
||||
}
|
||||
$client = $input['client'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing testClientModel as a patch method ?');
|
||||
@@ -92,13 +92,13 @@ class FakeController extends Controller
|
||||
}
|
||||
$double = $input['double'];
|
||||
|
||||
if (!isset($input['pattern_without_delimiter'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $pattern_without_delimiter when calling testEndpointParameters');
|
||||
if (!isset($input['patternWithoutDelimiter'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $patternWithoutDelimiter when calling testEndpointParameters');
|
||||
}
|
||||
if (!preg_match("/^[A-Z].*/", $input['pattern_without_delimiter'])) {
|
||||
throw new \InvalidArgumentException('invalid value for $pattern_without_delimiter when calling FakeController.testEndpointParameters, must conform to the pattern /^[A-Z].*/.');
|
||||
if (!preg_match("/^[A-Z].*/", $input['patternWithoutDelimiter'])) {
|
||||
throw new \InvalidArgumentException('invalid value for $patternWithoutDelimiter when calling FakeController.testEndpointParameters, must conform to the pattern /^[A-Z].*/.');
|
||||
}
|
||||
$pattern_without_delimiter = $input['pattern_without_delimiter'];
|
||||
$patternWithoutDelimiter = $input['patternWithoutDelimiter'];
|
||||
|
||||
if (!isset($input['byte'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $byte when calling testEndpointParameters');
|
||||
@@ -137,7 +137,7 @@ class FakeController extends Controller
|
||||
|
||||
$date = $input['date'];
|
||||
|
||||
$date_time = $input['date_time'];
|
||||
$dateTime = $input['dateTime'];
|
||||
|
||||
if (strlen($input['password']) > 64) {
|
||||
throw new \InvalidArgumentException('invalid length for $password when calling FakeController.testEndpointParameters, must be smaller than or equal to 64.');
|
||||
@@ -168,25 +168,65 @@ class FakeController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
$enum_header_string_array = $input['enum_header_string_array'];
|
||||
$enumHeaderStringArray = $input['enumHeaderStringArray'];
|
||||
|
||||
$enum_header_string = $input['enum_header_string'];
|
||||
$enumHeaderString = $input['enumHeaderString'];
|
||||
|
||||
$enum_query_string_array = $input['enum_query_string_array'];
|
||||
$enumQueryStringArray = $input['enumQueryStringArray'];
|
||||
|
||||
$enum_query_string = $input['enum_query_string'];
|
||||
$enumQueryString = $input['enumQueryString'];
|
||||
|
||||
$enum_query_integer = $input['enum_query_integer'];
|
||||
$enumQueryInteger = $input['enumQueryInteger'];
|
||||
|
||||
$enum_query_double = $input['enum_query_double'];
|
||||
$enumQueryDouble = $input['enumQueryDouble'];
|
||||
|
||||
$enum_form_string_array = $input['enum_form_string_array'];
|
||||
$enumFormStringArray = $input['enumFormStringArray'];
|
||||
|
||||
$enum_form_string = $input['enum_form_string'];
|
||||
$enumFormString = $input['enumFormString'];
|
||||
|
||||
|
||||
return response('How about implementing testEnumParameters as a get method ?');
|
||||
}
|
||||
/**
|
||||
* Operation testGroupParameters
|
||||
*
|
||||
* Fake endpoint to test group parameters (optional).
|
||||
*
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function testGroupParameters()
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
//path params validation
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['requiredStringGroup'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $requiredStringGroup when calling testGroupParameters');
|
||||
}
|
||||
$requiredStringGroup = $input['requiredStringGroup'];
|
||||
|
||||
if (!isset($input['requiredBooleanGroup'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $requiredBooleanGroup when calling testGroupParameters');
|
||||
}
|
||||
$requiredBooleanGroup = $input['requiredBooleanGroup'];
|
||||
|
||||
if (!isset($input['requiredInt64Group'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $requiredInt64Group when calling testGroupParameters');
|
||||
}
|
||||
$requiredInt64Group = $input['requiredInt64Group'];
|
||||
|
||||
$stringGroup = $input['stringGroup'];
|
||||
|
||||
$booleanGroup = $input['booleanGroup'];
|
||||
|
||||
$int64Group = $input['int64Group'];
|
||||
|
||||
|
||||
return response('How about implementing testGroupParameters as a delete method ?');
|
||||
}
|
||||
/**
|
||||
* Operation testBodyWithFileSchema
|
||||
*
|
||||
@@ -203,10 +243,10 @@ class FakeController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['file_schema_test_class'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $file_schema_test_class when calling testBodyWithFileSchema');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling testBodyWithFileSchema');
|
||||
}
|
||||
$file_schema_test_class = $input['file_schema_test_class'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing testBodyWithFileSchema as a put method ?');
|
||||
@@ -232,14 +272,38 @@ class FakeController extends Controller
|
||||
}
|
||||
$query = $input['query'];
|
||||
|
||||
if (!isset($input['user'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $user when calling testBodyWithQueryParams');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling testBodyWithQueryParams');
|
||||
}
|
||||
$user = $input['user'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing testBodyWithQueryParams as a put method ?');
|
||||
}
|
||||
/**
|
||||
* Operation createXmlItem
|
||||
*
|
||||
* creates an XmlItem.
|
||||
*
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function createXmlItem()
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
//path params validation
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['xmlItem'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $xmlItem when calling createXmlItem');
|
||||
}
|
||||
$xmlItem = $input['xmlItem'];
|
||||
|
||||
|
||||
return response('How about implementing createXmlItem as a post method ?');
|
||||
}
|
||||
/**
|
||||
* Operation testInlineAdditionalProperties
|
||||
*
|
||||
@@ -256,10 +320,10 @@ class FakeController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['request_body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $request_body when calling testInlineAdditionalProperties');
|
||||
if (!isset($input['param'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $param when calling testInlineAdditionalProperties');
|
||||
}
|
||||
$request_body = $input['request_body'];
|
||||
$param = $input['param'];
|
||||
|
||||
|
||||
return response('How about implementing testInlineAdditionalProperties as a post method ?');
|
||||
@@ -330,7 +394,7 @@ class FakeController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
$outer_composite = $input['outer_composite'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing fakeOuterCompositeSerialize as a post method ?');
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
@@ -35,11 +35,11 @@ class PetController extends Controller
|
||||
*
|
||||
* uploads an image (required).
|
||||
*
|
||||
* @param int $pet_id ID of pet to update (required)
|
||||
* @param int $petId ID of pet to update (required)
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function uploadFileWithRequiredFile($pet_id)
|
||||
public function uploadFileWithRequiredFile($petId)
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
@@ -66,10 +66,10 @@ class PetController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['pet'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $pet when calling addPet');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling addPet');
|
||||
}
|
||||
$pet = $input['pet'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing addPet as a post method ?');
|
||||
@@ -90,10 +90,10 @@ class PetController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['pet'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $pet when calling updatePet');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling updatePet');
|
||||
}
|
||||
$pet = $input['pet'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing updatePet as a put method ?');
|
||||
@@ -151,11 +151,11 @@ class PetController extends Controller
|
||||
*
|
||||
* Deletes a pet.
|
||||
*
|
||||
* @param int $pet_id Pet id to delete (required)
|
||||
* @param int $petId Pet id to delete (required)
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function deletePet($pet_id)
|
||||
public function deletePet($petId)
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
@@ -171,11 +171,11 @@ class PetController extends Controller
|
||||
*
|
||||
* Find pet by ID.
|
||||
*
|
||||
* @param int $pet_id ID of pet to return (required)
|
||||
* @param int $petId ID of pet to return (required)
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function getPetById($pet_id)
|
||||
public function getPetById($petId)
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
@@ -191,11 +191,11 @@ class PetController extends Controller
|
||||
*
|
||||
* Updates a pet in the store with form data.
|
||||
*
|
||||
* @param int $pet_id ID of pet that needs to be updated (required)
|
||||
* @param int $petId ID of pet that needs to be updated (required)
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function updatePetWithForm($pet_id)
|
||||
public function updatePetWithForm($petId)
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
@@ -211,11 +211,11 @@ class PetController extends Controller
|
||||
*
|
||||
* uploads an image.
|
||||
*
|
||||
* @param int $pet_id ID of pet to update (required)
|
||||
* @param int $petId ID of pet to update (required)
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function uploadFile($pet_id)
|
||||
public function uploadFile($petId)
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
@@ -65,10 +65,10 @@ class StoreController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['order'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $order when calling placeOrder');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling placeOrder');
|
||||
}
|
||||
$order = $input['order'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing placeOrder as a post method ?');
|
||||
@@ -78,11 +78,11 @@ class StoreController extends Controller
|
||||
*
|
||||
* Delete purchase order by ID.
|
||||
*
|
||||
* @param string $order_id ID of the order that needs to be deleted (required)
|
||||
* @param string $orderId ID of the order that needs to be deleted (required)
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function deleteOrder($order_id)
|
||||
public function deleteOrder($orderId)
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
@@ -98,20 +98,20 @@ class StoreController extends Controller
|
||||
*
|
||||
* Find purchase order by ID.
|
||||
*
|
||||
* @param int $order_id ID of pet that needs to be fetched (required)
|
||||
* @param int $orderId ID of pet that needs to be fetched (required)
|
||||
*
|
||||
* @return Http response
|
||||
*/
|
||||
public function getOrderById($order_id)
|
||||
public function getOrderById($orderId)
|
||||
{
|
||||
$input = Request::all();
|
||||
|
||||
//path params validation
|
||||
if ($order_id > 5) {
|
||||
throw new \InvalidArgumentException('invalid value for $order_id when calling StoreController.getOrderById, must be smaller than or equal to 5.');
|
||||
if ($orderId > 5) {
|
||||
throw new \InvalidArgumentException('invalid value for $orderId when calling StoreController.getOrderById, must be smaller than or equal to 5.');
|
||||
}
|
||||
if ($order_id < 1) {
|
||||
throw new \InvalidArgumentException('invalid value for $order_id when calling StoreController.getOrderById, must be bigger than or equal to 1.');
|
||||
if ($orderId < 1) {
|
||||
throw new \InvalidArgumentException('invalid value for $orderId when calling StoreController.getOrderById, must be bigger than or equal to 1.');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
@@ -46,10 +46,10 @@ class UserController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['user'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $user when calling createUser');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling createUser');
|
||||
}
|
||||
$user = $input['user'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing createUser as a post method ?');
|
||||
@@ -70,10 +70,10 @@ class UserController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['user'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $user when calling createUsersWithArrayInput');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling createUsersWithArrayInput');
|
||||
}
|
||||
$user = $input['user'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing createUsersWithArrayInput as a post method ?');
|
||||
@@ -94,10 +94,10 @@ class UserController extends Controller
|
||||
|
||||
|
||||
//not path params validation
|
||||
if (!isset($input['user'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $user when calling createUsersWithListInput');
|
||||
if (!isset($input['body'])) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $body when calling createUsersWithListInput');
|
||||
}
|
||||
$user = $input['user'];
|
||||
$body = $input['body'];
|
||||
|
||||
|
||||
return response('How about implementing createUsersWithListInput as a post method ?');
|
||||
|
||||
@@ -9,10 +9,10 @@ namespace app\Models;
|
||||
*/
|
||||
class AdditionalPropertiesClass {
|
||||
|
||||
/** @var map[string,string] $map_property */
|
||||
private $map_property;
|
||||
/** @var map[string,string] $mapProperty */
|
||||
private $mapProperty;
|
||||
|
||||
/** @var map[string,map[string,string]] $map_of_map_property */
|
||||
private $map_of_map_property;
|
||||
/** @var map[string,map[string,string]] $mapOfMapProperty */
|
||||
private $mapOfMapProperty;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace app\Models;
|
||||
*/
|
||||
class Animal {
|
||||
|
||||
/** @var string $class_name */
|
||||
private $class_name;
|
||||
/** @var string $className */
|
||||
private $className;
|
||||
|
||||
/** @var string $color */
|
||||
private $color;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace app\Models;
|
||||
*/
|
||||
class ArrayOfArrayOfNumberOnly {
|
||||
|
||||
/** @var float[][] $array_array_number */
|
||||
private $array_array_number;
|
||||
/** @var float[][] $arrayArrayNumber */
|
||||
private $arrayArrayNumber;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace app\Models;
|
||||
*/
|
||||
class ArrayOfNumberOnly {
|
||||
|
||||
/** @var float[] $array_number */
|
||||
private $array_number;
|
||||
/** @var float[] $arrayNumber */
|
||||
private $arrayNumber;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,13 +9,13 @@ namespace app\Models;
|
||||
*/
|
||||
class ArrayTest {
|
||||
|
||||
/** @var string[] $array_of_string */
|
||||
private $array_of_string;
|
||||
/** @var string[] $arrayOfString */
|
||||
private $arrayOfString;
|
||||
|
||||
/** @var int[][] $array_array_of_integer */
|
||||
private $array_array_of_integer;
|
||||
/** @var int[][] $arrayArrayOfInteger */
|
||||
private $arrayArrayOfInteger;
|
||||
|
||||
/** @var \app\Models\ReadOnlyFirst[][] $array_array_of_model */
|
||||
private $array_array_of_model;
|
||||
/** @var \app\Models\ReadOnlyFirst[][] $arrayArrayOfModel */
|
||||
private $arrayArrayOfModel;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,22 +9,22 @@ namespace app\Models;
|
||||
*/
|
||||
class Capitalization {
|
||||
|
||||
/** @var string $small_camel */
|
||||
private $small_camel;
|
||||
/** @var string $smallCamel */
|
||||
private $smallCamel;
|
||||
|
||||
/** @var string $capital_camel */
|
||||
private $capital_camel;
|
||||
/** @var string $capitalCamel */
|
||||
private $capitalCamel;
|
||||
|
||||
/** @var string $small_snake */
|
||||
private $small_snake;
|
||||
/** @var string $smallSnake */
|
||||
private $smallSnake;
|
||||
|
||||
/** @var string $capital_snake */
|
||||
private $capital_snake;
|
||||
/** @var string $capitalSnake */
|
||||
private $capitalSnake;
|
||||
|
||||
/** @var string $sca_eth_flow_points */
|
||||
private $sca_eth_flow_points;
|
||||
/** @var string $sCAETHFlowPoints */
|
||||
private $sCAETHFlowPoints;
|
||||
|
||||
/** @var string $att_name Name of the pet*/
|
||||
private $att_name;
|
||||
/** @var string $aTTNAME Name of the pet*/
|
||||
private $aTTNAME;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace app\Models;
|
||||
*/
|
||||
class Cat {
|
||||
|
||||
/** @var string $class_name */
|
||||
private $class_name;
|
||||
/** @var string $className */
|
||||
private $className;
|
||||
|
||||
/** @var string $color */
|
||||
private $color;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace app\Models;
|
||||
*/
|
||||
class ClassModel {
|
||||
|
||||
/** @var string $_class */
|
||||
private $_class;
|
||||
/** @var string $class */
|
||||
private $class;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace app\Models;
|
||||
*/
|
||||
class Dog {
|
||||
|
||||
/** @var string $class_name */
|
||||
private $class_name;
|
||||
/** @var string $className */
|
||||
private $className;
|
||||
|
||||
/** @var string $color */
|
||||
private $color;
|
||||
|
||||
@@ -9,10 +9,10 @@ namespace app\Models;
|
||||
*/
|
||||
class EnumArrays {
|
||||
|
||||
/** @var string $just_symbol */
|
||||
private $just_symbol;
|
||||
/** @var string $justSymbol */
|
||||
private $justSymbol;
|
||||
|
||||
/** @var string[] $array_enum */
|
||||
private $array_enum;
|
||||
/** @var string[] $arrayEnum */
|
||||
private $arrayEnum;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,19 +9,19 @@ namespace app\Models;
|
||||
*/
|
||||
class EnumTest {
|
||||
|
||||
/** @var string $enum_string */
|
||||
private $enum_string;
|
||||
/** @var string $enumString */
|
||||
private $enumString;
|
||||
|
||||
/** @var string $enum_string_required */
|
||||
private $enum_string_required;
|
||||
/** @var string $enumStringRequired */
|
||||
private $enumStringRequired;
|
||||
|
||||
/** @var int $enum_integer */
|
||||
private $enum_integer;
|
||||
/** @var int $enumInteger */
|
||||
private $enumInteger;
|
||||
|
||||
/** @var double $enum_number */
|
||||
private $enum_number;
|
||||
/** @var double $enumNumber */
|
||||
private $enumNumber;
|
||||
|
||||
/** @var \app\Models\OuterEnum $outer_enum */
|
||||
private $outer_enum;
|
||||
/** @var \app\Models\OuterEnum $outerEnum */
|
||||
private $outerEnum;
|
||||
|
||||
}
|
||||
|
||||
@@ -39,8 +39,8 @@ class FormatTest {
|
||||
/** @var \DateTime $date */
|
||||
private $date;
|
||||
|
||||
/** @var \DateTime $date_time */
|
||||
private $date_time;
|
||||
/** @var \DateTime $dateTime */
|
||||
private $dateTime;
|
||||
|
||||
/** @var string $uuid */
|
||||
private $uuid;
|
||||
|
||||
@@ -9,16 +9,16 @@ namespace app\Models;
|
||||
*/
|
||||
class MapTest {
|
||||
|
||||
/** @var map[string,map[string,string]] $map_map_of_string */
|
||||
private $map_map_of_string;
|
||||
/** @var map[string,map[string,string]] $mapMapOfString */
|
||||
private $mapMapOfString;
|
||||
|
||||
/** @var map[string,string] $map_of_enum_string */
|
||||
private $map_of_enum_string;
|
||||
/** @var map[string,string] $mapOfEnumString */
|
||||
private $mapOfEnumString;
|
||||
|
||||
/** @var map[string,bool] $direct_map */
|
||||
private $direct_map;
|
||||
/** @var map[string,bool] $directMap */
|
||||
private $directMap;
|
||||
|
||||
/** @var \app\Models\StringBooleanMap $indirect_map */
|
||||
private $indirect_map;
|
||||
/** @var map[string,bool] $indirectMap */
|
||||
private $indirectMap;
|
||||
|
||||
}
|
||||
|
||||
@@ -12,8 +12,8 @@ class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
/** @var string $uuid */
|
||||
private $uuid;
|
||||
|
||||
/** @var \DateTime $date_time */
|
||||
private $date_time;
|
||||
/** @var \DateTime $dateTime */
|
||||
private $dateTime;
|
||||
|
||||
/** @var map[string,\app\Models\Animal] $map */
|
||||
private $map;
|
||||
|
||||
@@ -12,13 +12,13 @@ class Name {
|
||||
/** @var int $name */
|
||||
private $name;
|
||||
|
||||
/** @var int $snake_case */
|
||||
private $snake_case;
|
||||
/** @var int $snakeCase */
|
||||
private $snakeCase;
|
||||
|
||||
/** @var string $property */
|
||||
private $property;
|
||||
|
||||
/** @var int $_123_number */
|
||||
private $_123_number;
|
||||
/** @var int $_123number */
|
||||
private $_123number;
|
||||
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace app\Models;
|
||||
*/
|
||||
class NumberOnly {
|
||||
|
||||
/** @var float $just_number */
|
||||
private $just_number;
|
||||
/** @var float $justNumber */
|
||||
private $justNumber;
|
||||
|
||||
}
|
||||
|
||||
@@ -12,14 +12,14 @@ class Order {
|
||||
/** @var int $id */
|
||||
private $id;
|
||||
|
||||
/** @var int $pet_id */
|
||||
private $pet_id;
|
||||
/** @var int $petId */
|
||||
private $petId;
|
||||
|
||||
/** @var int $quantity */
|
||||
private $quantity;
|
||||
|
||||
/** @var \DateTime $ship_date */
|
||||
private $ship_date;
|
||||
/** @var \DateTime $shipDate */
|
||||
private $shipDate;
|
||||
|
||||
/** @var string $status Order Status*/
|
||||
private $status;
|
||||
|
||||
@@ -9,13 +9,13 @@ namespace app\Models;
|
||||
*/
|
||||
class OuterComposite {
|
||||
|
||||
/** @var float $my_number */
|
||||
private $my_number;
|
||||
/** @var float $myNumber */
|
||||
private $myNumber;
|
||||
|
||||
/** @var string $my_string */
|
||||
private $my_string;
|
||||
/** @var string $myString */
|
||||
private $myString;
|
||||
|
||||
/** @var bool $my_boolean */
|
||||
private $my_boolean;
|
||||
/** @var bool $myBoolean */
|
||||
private $myBoolean;
|
||||
|
||||
}
|
||||
|
||||
@@ -18,8 +18,8 @@ class Pet {
|
||||
/** @var string $name */
|
||||
private $name;
|
||||
|
||||
/** @var string[] $photo_urls */
|
||||
private $photo_urls;
|
||||
/** @var string[] $photoUrls */
|
||||
private $photoUrls;
|
||||
|
||||
/** @var \app\Models\Tag[] $tags */
|
||||
private $tags;
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace app\Models;
|
||||
*/
|
||||
class SpecialModelName {
|
||||
|
||||
/** @var int $special_property_name */
|
||||
private $special_property_name;
|
||||
/** @var int $specialPropertyName */
|
||||
private $specialPropertyName;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* TypeHolderDefault
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* TypeHolderDefault
|
||||
*/
|
||||
class TypeHolderDefault {
|
||||
|
||||
/** @var string $stringItem */
|
||||
private $stringItem;
|
||||
|
||||
/** @var float $numberItem */
|
||||
private $numberItem;
|
||||
|
||||
/** @var int $integerItem */
|
||||
private $integerItem;
|
||||
|
||||
/** @var bool $boolItem */
|
||||
private $boolItem;
|
||||
|
||||
/** @var int[] $arrayItem */
|
||||
private $arrayItem;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
/**
|
||||
* TypeHolderExample
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* TypeHolderExample
|
||||
*/
|
||||
class TypeHolderExample {
|
||||
|
||||
/** @var string $stringItem */
|
||||
private $stringItem;
|
||||
|
||||
/** @var float $numberItem */
|
||||
private $numberItem;
|
||||
|
||||
/** @var int $integerItem */
|
||||
private $integerItem;
|
||||
|
||||
/** @var bool $boolItem */
|
||||
private $boolItem;
|
||||
|
||||
/** @var int[] $arrayItem */
|
||||
private $arrayItem;
|
||||
|
||||
}
|
||||
@@ -15,11 +15,11 @@ class User {
|
||||
/** @var string $username */
|
||||
private $username;
|
||||
|
||||
/** @var string $first_name */
|
||||
private $first_name;
|
||||
/** @var string $firstName */
|
||||
private $firstName;
|
||||
|
||||
/** @var string $last_name */
|
||||
private $last_name;
|
||||
/** @var string $lastName */
|
||||
private $lastName;
|
||||
|
||||
/** @var string $email */
|
||||
private $email;
|
||||
@@ -30,7 +30,7 @@ class User {
|
||||
/** @var string $phone */
|
||||
private $phone;
|
||||
|
||||
/** @var int $user_status User Status*/
|
||||
private $user_status;
|
||||
/** @var int $userStatus User Status*/
|
||||
private $userStatus;
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,99 @@
|
||||
<?php
|
||||
/**
|
||||
* XmlItem
|
||||
*/
|
||||
namespace app\Models;
|
||||
|
||||
/**
|
||||
* XmlItem
|
||||
*/
|
||||
class XmlItem {
|
||||
|
||||
/** @var string $attributeString */
|
||||
private $attributeString;
|
||||
|
||||
/** @var float $attributeNumber */
|
||||
private $attributeNumber;
|
||||
|
||||
/** @var int $attributeInteger */
|
||||
private $attributeInteger;
|
||||
|
||||
/** @var bool $attributeBoolean */
|
||||
private $attributeBoolean;
|
||||
|
||||
/** @var int[] $wrappedArray */
|
||||
private $wrappedArray;
|
||||
|
||||
/** @var string $nameString */
|
||||
private $nameString;
|
||||
|
||||
/** @var float $nameNumber */
|
||||
private $nameNumber;
|
||||
|
||||
/** @var int $nameInteger */
|
||||
private $nameInteger;
|
||||
|
||||
/** @var bool $nameBoolean */
|
||||
private $nameBoolean;
|
||||
|
||||
/** @var int[] $nameArray */
|
||||
private $nameArray;
|
||||
|
||||
/** @var int[] $nameWrappedArray */
|
||||
private $nameWrappedArray;
|
||||
|
||||
/** @var string $prefixString */
|
||||
private $prefixString;
|
||||
|
||||
/** @var float $prefixNumber */
|
||||
private $prefixNumber;
|
||||
|
||||
/** @var int $prefixInteger */
|
||||
private $prefixInteger;
|
||||
|
||||
/** @var bool $prefixBoolean */
|
||||
private $prefixBoolean;
|
||||
|
||||
/** @var int[] $prefixArray */
|
||||
private $prefixArray;
|
||||
|
||||
/** @var int[] $prefixWrappedArray */
|
||||
private $prefixWrappedArray;
|
||||
|
||||
/** @var string $namespaceString */
|
||||
private $namespaceString;
|
||||
|
||||
/** @var float $namespaceNumber */
|
||||
private $namespaceNumber;
|
||||
|
||||
/** @var int $namespaceInteger */
|
||||
private $namespaceInteger;
|
||||
|
||||
/** @var bool $namespaceBoolean */
|
||||
private $namespaceBoolean;
|
||||
|
||||
/** @var int[] $namespaceArray */
|
||||
private $namespaceArray;
|
||||
|
||||
/** @var int[] $namespaceWrappedArray */
|
||||
private $namespaceWrappedArray;
|
||||
|
||||
/** @var string $prefixNsString */
|
||||
private $prefixNsString;
|
||||
|
||||
/** @var float $prefixNsNumber */
|
||||
private $prefixNsNumber;
|
||||
|
||||
/** @var int $prefixNsInteger */
|
||||
private $prefixNsInteger;
|
||||
|
||||
/** @var bool $prefixNsBoolean */
|
||||
private $prefixNsBoolean;
|
||||
|
||||
/** @var int[] $prefixNsArray */
|
||||
private $prefixNsArray;
|
||||
|
||||
/** @var int[] $prefixNsWrappedArray */
|
||||
private $prefixNsWrappedArray;
|
||||
|
||||
}
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
/**
|
||||
@@ -44,6 +44,13 @@ Route::post('/v2/fake', 'FakeController@testEndpointParameters');
|
||||
|
||||
*/
|
||||
Route::get('/v2/fake', 'FakeController@testEnumParameters');
|
||||
/**
|
||||
* delete testGroupParameters
|
||||
* Summary: Fake endpoint to test group parameters (optional)
|
||||
* Notes: Fake endpoint to test group parameters (optional)
|
||||
|
||||
*/
|
||||
Route::delete('/v2/fake', 'FakeController@testGroupParameters');
|
||||
/**
|
||||
* put testBodyWithFileSchema
|
||||
* Summary:
|
||||
@@ -58,6 +65,13 @@ Route::put('/v2/fake/body-with-file-schema', 'FakeController@testBodyWithFileSch
|
||||
|
||||
*/
|
||||
Route::put('/v2/fake/body-with-query-params', 'FakeController@testBodyWithQueryParams');
|
||||
/**
|
||||
* post createXmlItem
|
||||
* Summary: creates an XmlItem
|
||||
* Notes: this route creates an XmlItem
|
||||
|
||||
*/
|
||||
Route::post('/v2/fake/create_xml_item', 'FakeController@createXmlItem');
|
||||
/**
|
||||
* post testInlineAdditionalProperties
|
||||
* Summary: test inline additionalProperties
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
* OpenAPI spec version: 1.0.0
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by the swagger code generator program.
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* NOTE: This class is auto generated by OpenAPI-Generator
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*
|
||||
* Source files are located at:
|
||||
*
|
||||
* > swagger-codegen/modules/swagger-codegen/src/main/resources/php-laravel/
|
||||
* > https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/php-laravel/
|
||||
*/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user