Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: fix the NotFoundAction namespace
  • Loading branch information
Maxcastel committed Nov 30, 2026
commit c0a035ac500d444c329dc6f758f311bc9fe33f35
6 changes: 3 additions & 3 deletions core/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ For example:
// api/src/Entity/Book.php
namespace App\Entity;

use ApiPlatform\Action\NotFoundAction;
use ApiPlatform\Symfony\Action\NotFoundAction;
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;
use ApiPlatform\Metadata\Post;
Expand Down Expand Up @@ -645,7 +645,7 @@ resources:
status: 301
ApiPlatform\Metadata\Get:
uriTemplate: "/grimoire/{id}"
controller: ApiPlatform\Action\NotFoundAction
controller: ApiPlatform\Symfony\Action\NotFoundAction
read: false
output: false
```
Expand All @@ -662,7 +662,7 @@ resources:
<operations>
<operation class="ApiPlatform\Metadata\Post" uriTemplate="/grimoire" status="301" />
<operation class="ApiPlatform\Metadata\Get" uriTemplate="/grimoire/{id}"
controller="ApiPlatform\Action\NotFoundAction" read="false" output="false" />
controller="ApiPlatform\Symfony\Action\NotFoundAction" read="false" output="false" />
</operations>
</resource>
</resources>
Expand Down
Loading