OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
zircote
/
swagger-php
/
tests
/
Fixtures
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:33 AM
rwxr-xr-x
📁
Annotations
-
08/07/2024 04:34:51 AM
rwxr-xr-x
📁
AnotherNamespace
-
08/07/2024 04:35:07 AM
rwxr-xr-x
📁
Apis
-
08/07/2024 04:35:08 AM
rwxr-xr-x
📁
Attributes
-
08/07/2024 04:34:52 AM
rwxr-xr-x
📄
BadExampleParameter.php
320 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
Customer.php
1.8 KB
08/07/2024 04:34:32 AM
rw-r--r--
📄
CustomerInterface.php
1.42 KB
08/07/2024 04:34:32 AM
rw-r--r--
📄
Deprecated.php
147 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
DuplicateOperationId.php
837 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📁
ExpandClasses
-
08/07/2024 04:34:52 AM
rwxr-xr-x
📄
InvalidPropertyAttribute.php
275 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
NestedProperty.php
553 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📁
PHP
-
08/07/2024 04:35:09 AM
rwxr-xr-x
📁
Parser
-
08/07/2024 04:35:08 AM
rwxr-xr-x
📁
Processors
-
08/07/2024 04:34:53 AM
rwxr-xr-x
📄
Request.php
479 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📁
Scratch
-
08/07/2024 04:34:56 AM
rwxr-xr-x
📄
ThirdPartyAnnotations.php
828 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
TypedProperties.php
1.71 KB
08/07/2024 04:34:32 AM
rw-r--r--
📄
Unreferenced.php
1.08 KB
08/07/2024 04:34:32 AM
rw-r--r--
📄
UsingAttributes.php
236 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
UsingCustomAttachables.php
502 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
UsingPhpDoc.php
676 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
UsingRefs.php
873 bytes
08/07/2024 04:34:32 AM
rw-r--r--
📄
UsingVar.php
587 bytes
08/07/2024 04:34:32 AM
rw-r--r--
Editing: UsingRefs.php
Close
<?php declare(strict_types=1); /** * @license Apache 2.0 */ namespace OpenApi\Tests\Fixtures; use OpenApi\Annotations as OA; /** * @OA\Info(title="Using a parameter definition", version="unittest") */ class UsingRefs { /** * @OA\Get( * path="/pi/{item_name}", * summary="Get protected item", * @OA\Parameter(ref="#/components/parameters/ItemName"), * @OA\Response( * response="default", * ref="#/components/responses/Item" * ) * ) */ public function getProtectedItem() { } } /** * @OA\Parameter( * name="ItemName", * in="path", * required=true, * description="protected item name", * ) */ class UsingRefsParameter { } /** * @OA\Response( * response="Item", * description="A protected item" * ) */ class UsingRefsResponse { }