You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
430 B
31 lines
430 B
<?php declare(strict_types=1);
|
|
|
|
namespace OpenApi\Tests\Fixtures;
|
|
|
|
/**
|
|
* @OA\Schema(
|
|
* schema="UsingVar",
|
|
* required={"name"}
|
|
* )
|
|
*/
|
|
class UsingVar
|
|
{
|
|
/**
|
|
* @var string
|
|
* @OA\Property
|
|
*/
|
|
private $name;
|
|
|
|
/**
|
|
* @var \DateTimeInterface
|
|
* @OA\Property(ref="#/components/schemas/date")
|
|
*/
|
|
private $createdAt;
|
|
}
|
|
|
|
/**
|
|
* @OA\Schema(
|
|
* schema="date",
|
|
* type="datetime"
|
|
* )
|
|
*/
|
|
|