mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
V4: Fix documentation for Enum declaration Syntax (#10223)
This commit is contained in:
parent
6d90eec0c8
commit
3b5c72f3fd
@ -31,8 +31,9 @@ It's very easy to add enum types to your schema. Just use the `enums` section of
|
|||||||
```yaml
|
```yaml
|
||||||
enums:
|
enums:
|
||||||
SortDirection:
|
SortDirection:
|
||||||
DESC: Descending order
|
values:
|
||||||
ASC: Ascending order
|
DESC: Descending order
|
||||||
|
ASC: Ascending order
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user