OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
zircote
/
swagger-php
/
tests
/
Samples
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:33 AM
rwxr-xr-x
📄
AnyOf.php
1.05 KB
08/07/2024 04:34:33 AM
rw-r--r--
📄
Readme.md
123 bytes
08/07/2024 04:34:33 AM
rw-r--r--
📄
VendorExtensions.php
342 bytes
08/07/2024 04:34:33 AM
rw-r--r--
Editing: AnyOf.php
Close
<?php declare(strict_types=1); /** * @license Apache 2.0 */ namespace OpenApi\Tests\Samples; use OpenApi\Attributes as OA; #[OA\Schema] class AnyOf { #[OA\Property( type: 'array', property: 'colors', description: '', items: new OA\Items( anyOf: [ new OA\Property( type: 'object', properties: [ new OA\Property(type: 'integer', property: 'id', example: 0, description: ''), new OA\Property(type: 'string', property: 'color', example: 'green', description: ''), ], ), new OA\Property( type: 'object', properties: [ new OA\Property(type: 'integer', property: 'id', example: 1, description: ''), new OA\Property(type: 'string', property: 'color', example: 'blue', description: ''), ], ), ], ), )] protected $foo; }