]> Git Repo - qemu.git/blame - tests/qapi-schema/flat-union-string-discriminator.json
hw/virtio/vring/event_idx: fix the vring_avail_event error
[qemu.git] / tests / qapi-schema / flat-union-string-discriminator.json
CommitLineData
5223070c
WX
1{ 'enum': 'TestEnum',
2 'data': [ 'value1', 'value2' ] }
3
4{ 'type': 'TestBase',
5 'data': { 'enum1': 'TestEnum', 'kind': 'str' } }
6
7{ 'type': 'TestTypeA',
8 'data': { 'string': 'str' } }
9
10{ 'type': 'TestTypeB',
11 'data': { 'integer': 'int' } }
12
13{ 'union': 'TestUnion',
14 'base': 'TestBase',
15 'discriminator': 'kind',
16 'data': { 'kind1': 'TestTypeA',
17 'kind2': 'TestTypeB' } }
This page took 0.069045 seconds and 4 git commands to generate.