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 85ab93c commit e173519Copy full SHA for e173519
src/Endpoint/ResourceAction.php
@@ -72,13 +72,6 @@ public function handle(Context $context): ?ResponseInterface
72
73
public function getOpenApiPaths(Collection $collection): array
74
{
75
- $resources = array_map(
76
- fn($resource) => [
77
- '$ref' => "#/components/schemas/$resource",
78
- ],
79
- $collection->resources(),
80
- );
81
-
82
return [
83
"/{$collection->name()}/{id}/{$this->name}" => [
84
strtolower($this->method) => [
0 commit comments