Skip to content

Commit d34dfc6

Browse files
fix: typos in getting started docs (#1730)
1 parent d4d10bb commit d34dfc6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

distribution/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ symfony serve
189189
All JavaScript components are also [available as standalone libraries](https://github.com/api-platform?language=javascript)
190190
installable with npm (or any other package manager).
191191

192-
**Note:** when installing API Platform this way, the API will be exposed as the `/api/` path. You need to open `http://localhost:8000/api/` to see the API documentation.
192+
**Note:** when installing API Platform this way, the API will be exposed at the `/api/` path. You need to open `http://localhost:8000/api/` to see the API documentation.
193193
If you are deploying API Platform directly on an Apache or NGINX webserver and getting a 404 error on opening this link, you will need to enable the [rewriting rules](https://symfony.com/doc/current/setup/web_server_configuration.html) for your specific webserver software.
194194

195195
## It's Ready
@@ -329,11 +329,11 @@ Reload `https://localhost/docs/`: API Platform used these classes to generate an
329329

330330
Operations available for our 2 resource types appear in the UI. We can also see the awesome [Web Debug Toolbar](https://symfonycasts.com/screencast/symfony/profiler?cid=apip).
331331

332-
Note that entities' and properties' descriptions in the API documentation, and that API Platform use PHP types to generate the appropriate JSON Schemas.
332+
Note that the entities' and properties' descriptions are present in the API documentation, and that API Platform uses PHP types to generate the appropriate JSON Schemas.
333333

334334
![Bookshop JSON Schemas](images/api-platform-2.6-bookshop-json-schemas.png)
335335

336-
The framework also use these metadata to serialize and deserialize data from JSON (and other formats) to PHP objects (back and forth)!
336+
The framework also uses these metadata to serialize and deserialize data from JSON (and other formats) to PHP objects (back and forth)!
337337

338338
For the sake of simplicity, in this example we used public properties (except for the ID, see below). API Platform (as well
339339
as Symfony and Doctrine) also supports accessor methods (getters/setters), use them if you want to.

0 commit comments

Comments
 (0)