]> Git Repo - qemu.git/blame - tests/qapi-schema/flat-union-no-base.json
qapi: Better error messages for bad enums
[qemu.git] / tests / qapi-schema / flat-union-no-base.json
CommitLineData
b86b05ed
WX
1{ 'type': 'TestTypeA',
2 'data': { 'string': 'str' } }
3
4{ 'type': 'TestTypeB',
5 'data': { 'integer': 'int' } }
6
7{ 'union': 'TestUnion',
8 'discriminator': 'enum1',
9 'data': { 'value1': 'TestTypeA',
10 'value2': 'TestTypeB' } }
This page took 0.087368 seconds and 4 git commands to generate.