]>
Commit | Line | Data |
---|---|---|
fd41dd4e | 1 | # we require the base to be an existing struct |
3d0c4829 EB |
2 | { 'enum': 'TestEnum', |
3 | 'data': [ 'value1', 'value2' ] } | |
4 | { 'type': 'TestTypeA', | |
5 | 'data': { 'string': 'str' } } | |
6 | { 'type': 'TestTypeB', | |
7 | 'data': { 'integer': 'int' } } | |
8 | { 'union': 'TestUnion', | |
9 | 'base': '**', | |
10 | 'discriminator': 'enum1', | |
11 | 'data': { 'value1': 'TestTypeA', | |
12 | 'value2': 'TestTypeB' } } |