aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2024-09-11 13:25:41 +0200
committerMarkus Armbruster <armbru@redhat.com>2024-10-02 09:10:01 +0200
commit8fdec50a9d5cf415747c4fbe8184e4ebd77dcc72 (patch)
tree6b339868040c1fe7f2405304e51f86aae528be5b
parent6b4672663168e5c43d034e9a9bf29502eef3285a (diff)
downloadqemu-8fdec50a9d5cf415747c4fbe8184e4ebd77dcc72.zip
qemu-8fdec50a9d5cf415747c4fbe8184e4ebd77dcc72.tar.gz
qemu-8fdec50a9d5cf415747c4fbe8184e4ebd77dcc72.tar.bz2
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 <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-ID: <20240911112545.2248881-5-armbru@redhat.com>
-rw-r--r--qapi/introspect.json16
-rw-r--r--qapi/pragma.json1
2 files changed, 16 insertions, 1 deletions
diff --git a/qapi/introspect.json b/qapi/introspect.json
index 14df049..01bb242 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 625eac9..7b0e12f 100644
--- a/qapi/pragma.json
+++ b/qapi/pragma.json
@@ -58,7 +58,6 @@
'InputButton',
'IscsiHeaderDigest',
'IscsiTransport',
- 'JSONType',
'KeyValueKind',
'MemoryDeviceInfoKind',
'NetClientDriver',