OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
API
/
vendor
/
zircote
/
swagger-php
/
Examples
/
using-links-php81
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/07/2024 04:34:50 AM
rwxr-xr-x
📄
MyAttribute.php
113 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
OpenApiSpec.php
294 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
PullRequest.php
621 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
RepositoriesController.php
4.71 KB
08/07/2024 04:34:26 AM
rw-r--r--
📄
Repository.php
277 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
State.php
187 bytes
08/07/2024 04:34:26 AM
rw-r--r--
📄
User.php
435 bytes
08/07/2024 04:34:27 AM
rw-r--r--
📄
UsersController.php
956 bytes
08/07/2024 04:34:27 AM
rw-r--r--
📄
using-links-php81.yaml
5.78 KB
08/07/2024 04:34:27 AM
rw-r--r--
Editing: PullRequest.php
Close
<?php namespace OpenApi\Examples\UsingLinksPhp81; use OpenApi\Attributes as OAT; #[OAT\Schema(schema: 'pullrequest')] class PullRequest { public function __construct( #[OAT\Property()] public State $state ) { } /** * @var int */ #[OAT\Property(type: 'integer')] public $id; /** * @var string */ #[OAT\Property(type: 'string')] public $title; /** * @var Repository */ #[OAT\Property(ref: Repository::class)] public $repository; /** * @var User */ #[OAT\Property(ref: User::class)] public $author; }