qemu/tests/qapi-schema/doc-bad-union-member.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
340 B
JSON
Raw Normal View History

# Arguments listed in the doc comment must exist in the actual schema
##
# @Frob:
# @a: a
# @b: b
##
{ 'union': 'Frob',
'base': 'Base',
'discriminator': 'type',
'data': { 'nothing': 'Empty' } }
{ 'struct': 'Base',
'data': { 'type': 'FrobType' } }
{ 'struct': 'Empty',
'data': { } }
{ 'enum': 'FrobType', 'data': ['nothing'] }