-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from m-lopez-f/develop
Develop
- Loading branch information
Showing
50 changed files
with
4,344 additions
and
224 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?php | ||
|
||
namespace App\Docs\Models; | ||
|
||
/** | ||
* @OA\Schema( | ||
* title="Move", | ||
* description="Move model", | ||
* @OA\Xml( | ||
* name="Move" | ||
* ) | ||
* ) | ||
*/ | ||
class Move | ||
{ | ||
|
||
/** | ||
* @OA\Property( | ||
* title="ID", | ||
* description="ID", | ||
* format="int64", | ||
* example=1 | ||
* ) | ||
* | ||
* @var integer | ||
*/ | ||
private $id; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Name", | ||
* description="Name of the new Move", | ||
* example="A nice Move" | ||
* ) | ||
* | ||
* @var string | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Power", | ||
* description="Power of the new Move", | ||
* example="This is new Move's Power" | ||
* ) | ||
* | ||
* @var string | ||
*/ | ||
public $power; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Created at", | ||
* description="Created at", | ||
* example="2020-01-27 17:50:45", | ||
* format="datetime", | ||
* type="string" | ||
* ) | ||
* | ||
* @var \DateTime | ||
*/ | ||
private $created_at; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Updated at", | ||
* description="Updated at", | ||
* example="2020-01-27 17:50:45", | ||
* format="datetime", | ||
* type="string" | ||
* ) | ||
* | ||
* @var \DateTime | ||
*/ | ||
private $updated_at; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="type", | ||
* description="Move type's model" | ||
* ) | ||
* | ||
* @var \App\Docs\Models\Type | ||
*/ | ||
private $type; | ||
} |
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,96 @@ | ||
<?php | ||
|
||
namespace App\Docs\Models; | ||
|
||
/** | ||
* @OA\Schema( | ||
* title="Pokemon", | ||
* description="Pokemon model", | ||
* @OA\Xml( | ||
* name="Pokemon" | ||
* ) | ||
* ) | ||
*/ | ||
class Pokemon | ||
{ | ||
|
||
/** | ||
* @OA\Property( | ||
* title="ID", | ||
* description="ID", | ||
* format="int64", | ||
* example=1 | ||
* ) | ||
* | ||
* @var integer | ||
*/ | ||
private $id; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Name", | ||
* description="Name of the new Pokemon", | ||
* example="A nice Pokemon" | ||
* ) | ||
* | ||
* @var string | ||
*/ | ||
public $name; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Power", | ||
* description="Power of the new Pokemon", | ||
* example="This is new Pokemon's Power" | ||
* ) | ||
* | ||
* @var string | ||
*/ | ||
public $power; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Created at", | ||
* description="Created at", | ||
* example="2020-01-27 17:50:45", | ||
* format="datetime", | ||
* type="string" | ||
* ) | ||
* | ||
* @var \DateTime | ||
*/ | ||
private $created_at; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="Updated at", | ||
* description="Updated at", | ||
* example="2020-01-27 17:50:45", | ||
* format="datetime", | ||
* type="string" | ||
* ) | ||
* | ||
* @var \DateTime | ||
*/ | ||
private $updated_at; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="moves", | ||
* description="List of moves move's model" | ||
* ) | ||
* | ||
* @var \App\Docs\Models\Move[] | ||
*/ | ||
private $move; | ||
|
||
/** | ||
* @OA\Property( | ||
* title="type", | ||
* description="type type's model" | ||
* ) | ||
* | ||
* @var \App\Docs\Models\Type[] | ||
*/ | ||
private $type; | ||
} |
Oops, something went wrong.