File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 6
6
7
7
use EventSauce \ObjectHydrator \MapFrom ;
8
8
use OpenAPITools \Configuration \Package \Destination ;
9
+ use OpenAPITools \Configuration \Package \Metadata ;
9
10
use OpenAPITools \Configuration \Package \QA ;
10
11
use OpenAPITools \Configuration \Package \State ;
11
12
use OpenAPITools \Configuration \Package \Templates ;
16
17
{
17
18
/** @param array<Contract\FileGenerator> $generators */
18
19
public function __construct (
20
+ public Metadata $ metadata ,
19
21
public string $ vendor ,
20
22
public string $ name ,
21
23
public string |null $ repository ,
Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ declare (strict_types=1 );
4
+
5
+ namespace OpenAPITools \Configuration \Package ;
6
+
7
+ final readonly class Metadata
8
+ {
9
+ /** @param array<string> $tags */
10
+ public function __construct (
11
+ public string $ name ,
12
+ public string $ description ,
13
+ public array $ tags ,
14
+ ) {
15
+ }
16
+ }
You can’t perform that action at this time.
0 commit comments