Skip to content
Merged
Changes from all commits
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
3 changes: 1 addition & 2 deletions core/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,8 +486,7 @@ automatically instantiated and injected, without having to declare it explicitly
In the following examples, the built-in `GET` operation is registered as well as a custom operation called `special`.
The `special` operation reference the Symfony route named `book_special`.

Note: By default, API Platform uses the first `GET` operation defined in `collectionOperations` to generate the IRI for
a resource class.
Note: By default, API Platform uses the first `GET` operation defined in `itemOperations` to generate the IRI of an item and the first `GET` operation defined in `collectionOperations` to generate the IRI of a collection.

Note: With custom operation, you will probably want to properly document it. See the [swagger](swagger.md) part of the documentation to do so.

Expand Down