Skip to content

Commit a8210a8

Browse files
committed
fix enum type without properties
1 parent 6ca7140 commit a8210a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

schema-generator/getting-started.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,8 @@ A config file generating an enum class:
402402

403403
```yaml
404404
types:
405-
OfferItemCondition: ~ # The generator will automatically guess that OfferItemCondition is subclass of Enum
405+
OfferItemCondition: # The generator will automatically guess that OfferItemCondition is subclass of Enum
406+
properties: {} # Remove all properties of the parent class
406407
```
407408
408409
The related PHP class:

0 commit comments

Comments
 (0)