From: Markus Armbruster Date: Wed, 11 Sep 2024 11:25:41 +0000 (+0200) Subject: qapi/introspect: Supply missing member documentation X-Git-Tag: v9.2.0-rc0~65^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8fdec50a9d5cf415747c4fbe8184e4ebd77dcc72;p=thirdparty%2Fqemu.git qapi/introspect: Supply missing member documentation Since we neglect to document the members of JSONType, their description in the QEMU QMP Reference manual is "Not documented". Fix that. Signed-off-by: Markus Armbruster Reviewed-by: Eric Blake Message-ID: <20240911112545.2248881-5-armbru@redhat.com> --- diff --git a/qapi/introspect.json b/qapi/introspect.json index 14df0495809..01bb242947c 100644 --- a/qapi/introspect.json +++ b/qapi/introspect.json @@ -127,6 +127,22 @@ # section 1, plus 'int' (split off 'number'), plus the obvious top # type 'value'. # +# @string: JSON string +# +# @number: JSON number +# +# @int: JSON number that is an integer +# +# @boolean: literal ``false`` or ``true`` +# +# @null: literal ``null`` +# +# @object: JSON object +# +# @array: JSON array +# +# @value: any JSON value +# # Since: 2.5 ## { 'enum': 'JSONType', diff --git a/qapi/pragma.json b/qapi/pragma.json index 625eac99df1..7b0e12f42b3 100644 --- a/qapi/pragma.json +++ b/qapi/pragma.json @@ -58,7 +58,6 @@ 'InputButton', 'IscsiHeaderDigest', 'IscsiTransport', - 'JSONType', 'KeyValueKind', 'MemoryDeviceInfoKind', 'NetClientDriver',