Debian Codegraph @

vendor/zircote/swagger-php/src/Annotations/PathParameter.php

raw
1 <?php declare(strict_types=1);
2
3 /**
4 * @license Apache 2.0
5 */
6
7 namespace OpenApi\Annotations;
8
9 use OpenApi\Annotations as OA;
10
11 /**
12 * A <code>@OA\Request</code> path parameter.
13 *
14 * @Annotation
15 */
16 class PathParameter extends Parameter
17 {
18 /**
19 * @var string
20 */
21 public $in = 'path';
22
23 /**
24 * @var bool
25 */
26 public $required = true;
27
28 /**
29 * @inheritdoc
30 */
31 public static $_required = ['name'];
32 }