Closed davidkaya closed 7 years ago
Hi @davidkaya, that is possible.
You can add additional sample values under the array. As example:
# Data Structures
## CarBrand (enum)
+ VW
+ Audi
+ Porsche
## StockInformation
+ availableBrands (array[CarBrand])
+ Audi (CarBrand)
{
"availableBrands": [
"VW",
"Audi"
]
}
Hello,
is there a way to define multiple sample values for an array(list) of some enum type?
Example:
That renders
however I would like to render sample with more than value from the enum. Something like: