50 lines
865 B
PHP
Raw Normal View History

2017-01-14 17:36:56 +01:00
<?php
/*
* This file is part of the NelmioApiDocBundle package.
*
* (c) Nelmio
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nelmio\ApiDocBundle\Annotation;
use Swagger\Annotations\AbstractAnnotation;
/**
* @Annotation
*/
final class Model extends AbstractAnnotation
{
/** {@inheritdoc} */
2017-06-13 13:34:26 +02:00
public static $_types = [
'type' => 'string',
'groups' => '[string]',
'options' => '[mixed]',
2017-06-13 13:34:26 +02:00
];
2017-12-22 17:42:18 +00:00
2017-01-14 17:36:56 +01:00
public static $_required = ['type'];
2017-12-22 17:42:18 +00:00
2017-01-14 17:36:56 +01:00
public static $_parents = [
'Swagger\Annotations\Parameter',
'Swagger\Annotations\Response',
];
2017-06-13 13:34:26 +02:00
/**
* @var string
*/
2017-01-14 17:36:56 +01:00
public $type;
2017-06-13 13:34:26 +02:00
/**
* @var string[]
*/
public $groups;
/**
* @var mixed[]
*/
public $options;
2017-01-14 17:36:56 +01:00
}