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.
20 lines
421 B
20 lines
421 B
<?php
|
|
|
|
namespace OpenApi\Tests\Fixtures;
|
|
|
|
use OpenApi\Annotations\Property;
|
|
use OpenApi\Annotations\Schema;
|
|
|
|
/**
|
|
* @Schema(@Property(property="nested",ref="#/components/schemas/NestedSchema")),
|
|
* @Schema(schema="NestedSchema", @Property(property="nestedProperty", type="string"))
|
|
*/
|
|
class ExtendedWithTwoSchemas extends Base
|
|
{
|
|
|
|
/**
|
|
* @OA\Property();
|
|
* @var string
|
|
*/
|
|
public $extendedProperty;
|
|
}
|
|
|