Skip to content

Commit c81d5d0

Browse files
authored
Fix image in dark mode (#1180)
1 parent 2ef1ba6 commit c81d5d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/dto.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Note that `Book` entity needs an id property. The simplest way is adding a publi
6666

6767
To create a `Book`, we `POST` a data structure corresponding to the `BookInput` class and get back in the response a data structure corresponding to the `BookOutput` class:
6868

69-
![Diagram post input output](images/diagrams/api-platform-post-i-o.png)
69+
![Diagram post input output](images/diagrams/api-platform-post-i-o.svg)
7070

7171
To simplify object transformations we have to implement a Data Transformer that will convert the input into a resource or a resource into an output.
7272

@@ -202,7 +202,7 @@ services:
202202

203203
When performing an update (e.g. `PUT` operation), the resource to be updated is read by ApiPlatform before the deserialization phase. To do so, it uses a [data provider](data-providers.md) with the `:id` parameter given in the URL. The *body* of the request is the JSON object sent by the client, it is deserialized and is used to update the previously found resource.
204204

205-
![Diagram put input output](images/diagrams/api-platform-put-i-o.png)
205+
![Diagram put input output](images/diagrams/api-platform-put-i-o.svg)
206206

207207
Now, we will update our resource by using a different input representation.
208208

0 commit comments

Comments
 (0)