-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat (PHP LARAVEL) 8417: adjust route service provdider and model gen…
…eration
- Loading branch information
1 parent
7c0aa8c
commit 606cf90
Showing
41 changed files
with
701 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.0.0-SNAPSHOT | ||
3.1.2-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
samples/server/petstore/php-laravel/lib/app/Models/AdditionalPropertiesClass.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* AdditionalPropertiesClass | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* AdditionalPropertiesClass | ||
*/ | ||
class AdditionalPropertiesClass { | ||
|
||
/** @var map[string,string] $map_property */ | ||
private $map_property; | ||
|
||
/** @var map[string,map[string,string]] $map_of_map_property */ | ||
private $map_of_map_property; | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
samples/server/petstore/php-laravel/lib/app/Models/Animal.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* Animal | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* Animal | ||
*/ | ||
class Animal { | ||
|
||
/** @var string $class_name */ | ||
private $class_name; | ||
|
||
/** @var string $color */ | ||
private $color; | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
samples/server/petstore/php-laravel/lib/app/Models/AnimalFarm.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
/** | ||
* AnimalFarm | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* AnimalFarm | ||
*/ | ||
class AnimalFarm { | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
samples/server/petstore/php-laravel/lib/app/Models/ApiResponse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
/** | ||
* ApiResponse | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* ApiResponse | ||
*/ | ||
class ApiResponse { | ||
|
||
/** @var int $code */ | ||
private $code; | ||
|
||
/** @var string $type */ | ||
private $type; | ||
|
||
/** @var string $message */ | ||
private $message; | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
samples/server/petstore/php-laravel/lib/app/Models/ArrayOfArrayOfNumberOnly.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* ArrayOfArrayOfNumberOnly | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* ArrayOfArrayOfNumberOnly | ||
*/ | ||
class ArrayOfArrayOfNumberOnly { | ||
|
||
/** @var float[][] $array_array_number */ | ||
private $array_array_number; | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
samples/server/petstore/php-laravel/lib/app/Models/ArrayOfNumberOnly.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* ArrayOfNumberOnly | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* ArrayOfNumberOnly | ||
*/ | ||
class ArrayOfNumberOnly { | ||
|
||
/** @var float[] $array_number */ | ||
private $array_number; | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
samples/server/petstore/php-laravel/lib/app/Models/ArrayTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
/** | ||
* ArrayTest | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* ArrayTest | ||
*/ | ||
class ArrayTest { | ||
|
||
/** @var string[] $array_of_string */ | ||
private $array_of_string; | ||
|
||
/** @var int[][] $array_array_of_integer */ | ||
private $array_array_of_integer; | ||
|
||
/** @var \app.Models\ReadOnlyFirst[][] $array_array_of_model */ | ||
private $array_array_of_model; | ||
|
||
} |
30 changes: 30 additions & 0 deletions
30
samples/server/petstore/php-laravel/lib/app/Models/Capitalization.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<?php | ||
/** | ||
* Capitalization | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* Capitalization | ||
*/ | ||
class Capitalization { | ||
|
||
/** @var string $small_camel */ | ||
private $small_camel; | ||
|
||
/** @var string $capital_camel */ | ||
private $capital_camel; | ||
|
||
/** @var string $small_snake */ | ||
private $small_snake; | ||
|
||
/** @var string $capital_snake */ | ||
private $capital_snake; | ||
|
||
/** @var string $sca_eth_flow_points */ | ||
private $sca_eth_flow_points; | ||
|
||
/** @var string $att_name Name of the pet*/ | ||
private $att_name; | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
samples/server/petstore/php-laravel/lib/app/Models/Cat.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
/** | ||
* Cat | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* Cat | ||
*/ | ||
class Cat { | ||
|
||
/** @var string $class_name */ | ||
private $class_name; | ||
|
||
/** @var string $color */ | ||
private $color; | ||
|
||
/** @var bool $declawed */ | ||
private $declawed; | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
samples/server/petstore/php-laravel/lib/app/Models/Category.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* Category | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* Category | ||
*/ | ||
class Category { | ||
|
||
/** @var int $id */ | ||
private $id; | ||
|
||
/** @var string $name */ | ||
private $name; | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
samples/server/petstore/php-laravel/lib/app/Models/ClassModel.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* ClassModel | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* ClassModel | ||
*/ | ||
class ClassModel { | ||
|
||
/** @var string $_class */ | ||
private $_class; | ||
|
||
} |
15 changes: 15 additions & 0 deletions
15
samples/server/petstore/php-laravel/lib/app/Models/Client.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
/** | ||
* Client | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* Client | ||
*/ | ||
class Client { | ||
|
||
/** @var string $client */ | ||
private $client; | ||
|
||
} |
21 changes: 21 additions & 0 deletions
21
samples/server/petstore/php-laravel/lib/app/Models/Dog.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
/** | ||
* Dog | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* Dog | ||
*/ | ||
class Dog { | ||
|
||
/** @var string $class_name */ | ||
private $class_name; | ||
|
||
/** @var string $color */ | ||
private $color; | ||
|
||
/** @var string $breed */ | ||
private $breed; | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
samples/server/petstore/php-laravel/lib/app/Models/EnumArrays.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* EnumArrays | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* EnumArrays | ||
*/ | ||
class EnumArrays { | ||
|
||
/** @var string $just_symbol */ | ||
private $just_symbol; | ||
|
||
/** @var string[] $array_enum */ | ||
private $array_enum; | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
samples/server/petstore/php-laravel/lib/app/Models/EnumClass.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
/** | ||
* EnumClass | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* EnumClass | ||
*/ | ||
class EnumClass { | ||
|
||
} |
27 changes: 27 additions & 0 deletions
27
samples/server/petstore/php-laravel/lib/app/Models/EnumTest.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<?php | ||
/** | ||
* EnumTest | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* EnumTest | ||
*/ | ||
class EnumTest { | ||
|
||
/** @var string $enum_string */ | ||
private $enum_string; | ||
|
||
/** @var string $enum_string_required */ | ||
private $enum_string_required; | ||
|
||
/** @var int $enum_integer */ | ||
private $enum_integer; | ||
|
||
/** @var double $enum_number */ | ||
private $enum_number; | ||
|
||
/** @var \app.Models\OuterEnum $outer_enum */ | ||
private $outer_enum; | ||
|
||
} |
18 changes: 18 additions & 0 deletions
18
samples/server/petstore/php-laravel/lib/app/Models/FileSchemaTestClass.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
/** | ||
* FileSchemaTestClass | ||
*/ | ||
namespace app.Models; | ||
|
||
/** | ||
* FileSchemaTestClass | ||
*/ | ||
class FileSchemaTestClass { | ||
|
||
/** @var \app.Models\File $file */ | ||
private $file; | ||
|
||
/** @var \app.Models\File[] $files */ | ||
private $files; | ||
|
||
} |
Oops, something went wrong.