Skip to content

Commit 68ee96f

Browse files
authored
Merge pull request #220 from soyuka/m
Merge @johnnypeck patches in 2.0
2 parents e55c72b + ac42fe2 commit 68ee96f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

schema-generator/configuration.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ author: "Kévin Dunglas <[email protected]>"
260260
## Disabling Generators and Creating Custom Ones
261261

262262
By default, all generators except `DunglasJsonLdApi` (API Platform v1) and `SerializerGroups` are enabled.
263-
You can specify the list of generators to use with the `generators` option.
263+
You can specify the list of generators to use with the `annotationGenerators` option.
264264

265265
Example (enabling only the PHPDoc generator):
266266

@@ -283,8 +283,7 @@ annotationGenerators:
283283

284284
## Disabling `id` Generator
285285

286-
By default, the generator add a property called `id` not provided by Schema.org. This useful when using generated entity
287-
with an ORM or an ODM.
286+
By default, the generator adds a property called `id` not provided by Schema.org. This may be useful when generating an entity for use with an ORM or an ODM.
288287
This behavior can be disabled with the following setting:
289288

290289
```yaml

0 commit comments

Comments
 (0)