2 lines
141 B
JSON
2 lines
141 B
JSON
# we reject any enum member that is not a string or a dict with 'name'
|
|
{ 'enum': 'MyEnum', 'data': [ { 'name': 'foo', 'bad-key': 'str' } ] }
|