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 da796b9 commit 57d233aCopy full SHA for 57d233a
src/Laravel/ApiResource/Error.php
@@ -19,6 +19,7 @@
19
use ApiPlatform\Metadata\ErrorResource;
20
use ApiPlatform\Metadata\Exception\HttpExceptionInterface;
21
use ApiPlatform\Metadata\Exception\ProblemExceptionInterface;
22
+use ApiPlatform\Metadata\Link as UriVariableLink;
23
use Symfony\Component\HttpKernel\Exception\HttpExceptionInterface as SymfonyHttpExceptionInterface;
24
use Symfony\Component\Serializer\Annotation\Groups;
25
use Symfony\Component\Serializer\Annotation\Ignore;
@@ -28,6 +29,7 @@
28
29
#[ErrorResource(
30
types: ['hydra:Error'],
31
openapi: false,
32
+ uriVariables: ['status'],
33
operations: [
34
new Operation(
35
name: '_api_errors_problem',
0 commit comments