Closed jk2K closed 9 years ago
@jk2K thanks for reporting. This seems to be an upstream issue in the Drafter parser library.
Also, you could use this shorter form, I believe. Still doesn't generate the right example JSON though:
# Data Structures
## My Type
+ type (enum) - upload type
+ avatar
+ gallery
@jk2K please try the latest olio theme 1.5.0 (you can just reinstall Aglio to get it). The rendering of enumerated types should be fixed now, and it should choose the first option for the examples. In your example above, that means you would see "type": "avatar"
in the JSON for you example MSON above.
work fine, thanks
version: aglio 2.2.0 olio 1.4.0