Skip to content

Commit e173519

Browse files
committed
Clean up
1 parent 85ab93c commit e173519

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Endpoint/ResourceAction.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -72,13 +72,6 @@ public function handle(Context $context): ?ResponseInterface
7272

7373
public function getOpenApiPaths(Collection $collection): array
7474
{
75-
$resources = array_map(
76-
fn($resource) => [
77-
'$ref' => "#/components/schemas/$resource",
78-
],
79-
$collection->resources(),
80-
);
81-
8275
return [
8376
"/{$collection->name()}/{id}/{$this->name}" => [
8477
strtolower($this->method) => [

0 commit comments

Comments
 (0)