Skip to content

Commit

Permalink
chore: update swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
doyouhaobaby committed Nov 29, 2020
1 parent dc5fb50 commit 3c5c524
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 490 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@
* file that was distributed with this source code.
*/

namespace Petstore;
namespace Demo;

/**
* Class ApiResponse.
*
*
* @author Donii Sergii <doniysa@gmail.com>
*
* @OA\Schema(
* type="object",
* description="Api response",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,21 @@
* file that was distributed with this source code.
*/

namespace Petstore;
namespace Demo;

/**
* Class Tag.
*
*
* @author Donii Sergii <doniysa@gmail.com>
*
* @OA\Schema(
* type="object",
* description="Tag",
* title="Tag",
* @OA\Xml(
* name="Tag"
* )
* title="Demo model",
* description="Demo model",
* )
*/
class Tag
class Demo
{
/**
* @OA\Property(
* format="int64",
* title="ID",
* default=1,
* description="ID",
* title="ID"
* )
*
* @var int
Expand All @@ -45,7 +36,7 @@ class Tag
/**
* @OA\Property(
* description="Name",
* title="Name"
* title="Name",
* )
*
* @var string
Expand Down
54 changes: 0 additions & 54 deletions router/apis/models/Petstore/Category.php

This file was deleted.

103 changes: 0 additions & 103 deletions router/apis/models/Petstore/Order.php

This file was deleted.

98 changes: 0 additions & 98 deletions router/apis/models/Petstore/Pet.php

This file was deleted.

58 changes: 0 additions & 58 deletions router/apis/models/Petstore/RequestBody.php

This file was deleted.

0 comments on commit 3c5c524

Please sign in to comment.