Skip to content

Commit 067347f

Browse files
authored
Merge pull request #626 from antograssiot/typos
Fix some doc typos and a broken ink
2 parents d6cb035 + 0420b8b commit 067347f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

core/dto.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ There is two solutions to achieve that:
207207

208208
#### Use Swagger Decorator
209209

210-
By following the doc about [Override the Swagger Documentation](swagger.md##overriding-the-swagger-documentation)
210+
By following the doc about [Override the Swagger Documentation](swagger.md#overriding-the-swagger-documentation)
211211
and adding the ability to retrieve a `_api_swagger_context` in route
212212
parameters, you should be able to display your custom endpoint.
213213

core/file-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ vich_uploader:
3232
3333
## Configuring the Entity Receiving the Uploaded File
3434
35-
In our exemple, we will create a `MediaObject` API resource. We will post files
35+
In our example, we will create a `MediaObject` API resource. We will post files
3636
to this resource endpoint, and then link the newly created resource to another
3737
resource (in our case: Book).
3838

core/serialization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ class Book
308308
}
309309
```
310310

311-
The following rules apply when denormalizating embedded relations:
311+
The following rules apply when denormalizing embedded relations:
312312

313313
* If an `@id` key is present in the embedded resource, then the object corresponding to the given URI will be retrieved through
314314
the data provider. Any changes in the embedded relation will also be applied to that object.
@@ -607,7 +607,7 @@ final class ApiNormalizer implements NormalizerInterface, DenormalizerInterface,
607607
API Platform is able to guess the entity identifier using [Doctrine metadata](http://doctrine-orm.readthedocs.org/en/latest/reference/basic-mapping.html#identifiers-primary-keys).
608608
It also supports composite identifiers.
609609

610-
If you are not using the Doctrine ORM Provider, you must explictely mark the identifier using the `identifier` attribute of
610+
If you are not using the Doctrine ORM Provider, you must explicitly mark the identifier using the `identifier` attribute of
611611
the `ApiPlatform\Core\Annotation\ApiProperty` annotation. For example:
612612

613613

core/swagger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class Product // The class name will be used to name exposed resources
103103
public $id;
104104

105105
/**
106-
* @param string $name A name property - this description will be avaliable in the API documentation too.
106+
* @param string $name A name property - this description will be available in the API documentation too.
107107
*
108108
* @ORM\Column
109109
* @Assert\NotBlank

0 commit comments

Comments
 (0)