We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db00996 commit 7f8c518Copy full SHA for 7f8c518
src/spec/PathItem.php
@@ -50,14 +50,14 @@ protected function attributes(): array
50
return [
51
'summary' => Type::STRING,
52
'description' => Type::STRING,
53
- 'get' => Operation::class,
54
- 'put' => Operation::class,
55
- 'post' => Operation::class,
56
- 'delete' => Operation::class,
57
- 'options' => Operation::class,
58
- 'head' => Operation::class,
59
- 'patch' => Operation::class,
60
- 'trace' => Operation::class,
+ 'get' => [Operation::class],
+ 'put' => [Operation::class],
+ 'post' => [Operation::class],
+ 'delete' => [Operation::class],
+ 'options' => [Operation::class],
+ 'head' => [Operation::class],
+ 'patch' => [Operation::class],
+ 'trace' => [Operation::class],
61
'servers' => [Server::class],
62
'parameters' => [Parameter::class],
63
];
0 commit comments