OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
zircote
/
swagger-php
/
Examples
/
swagger-spec
/
petstore-simple
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:50 AM
rwxr-xr-x
📄
OpenApiSpec.php
1014 bytes
08/07/2024 04:34:50 AM
rw-r--r--
📄
SimplePet.php
661 bytes
08/07/2024 04:34:50 AM
rw-r--r--
📄
SimplePetsController.php
5.96 KB
08/07/2024 04:34:50 AM
rw-r--r--
📄
petstore-simple-3.1.0.yaml
5.32 KB
08/07/2024 04:34:50 AM
rw-r--r--
📄
petstore-simple.yaml
5.3 KB
08/07/2024 04:34:50 AM
rw-r--r--
Editing: SimplePet.php
Close
<?php namespace OpenApi\Examples\SwaggerSpec\PetstoreSimple; use OpenApi\Annotations as OA; /** * @OA\Schema(schema="NewPet", required={"name"}) */ class SimplePet { public $id; /** * @OA\Property * * @var string */ public $name; /** * @var string * * @OA\Property */ public $tag; } /** * @OA\Schema( * schema="Pet", * type="object", * allOf={ * @OA\Schema(ref="#/components/schemas/NewPet"), * @OA\Schema( * required={"id"}, * @OA\Property(property="id", format="int64", type="integer") * ) * } * ) */ class Pet { }