vendor/zircote/swagger-php/src/Attributes/PathParameter.php
raw| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | /** |
| 4 | * @license Apache 2.0 |
| 5 | */ |
| 6 | |
| 7 | namespace OpenApi\Attributes; |
| 8 | |
| 9 | #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::TARGET_METHOD | \Attribute::TARGET_PROPERTY | \Attribute::TARGET_PARAMETER | \Attribute::IS_REPEATABLE)] |
| 10 | class PathParameter extends Parameter |
| 11 | { |
| 12 | /** |
| 13 | * @inheritdoc |
| 14 | */ |
| 15 | public $in = 'path'; |
| 16 | |
| 17 | /** |
| 18 | * @inheritdoc |
| 19 | */ |
| 20 | public $required = true; |
| 21 | } |