summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorWen Hui <wen.hui.ware@gmail.com>2023-04-13 05:17:28 -0400
committerGitHub <noreply@github.com>2023-04-13 12:17:28 +0300
commit1250c3cf805687a3be275f09d387cc1c2bb08d05 (patch)
tree51f30dd4f7a1480f11ba05413bf039a34dfadc81 /src
parentf3e16a1a1eac082aa3c54f24eaada3f6bbbd808c (diff)
downloadredis-1250c3cf805687a3be275f09d387cc1c2bb08d05.tar.gz
Update reply_schema details for info and hset commands json files accordingly. (#12017)
These commands had an empty description. Co-authored-by: Oran Agra <oran@redislabs.com>
Diffstat (limited to 'src')
-rw-r--r--src/commands/hset.json1
-rw-r--r--src/commands/info.json1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/hset.json b/src/commands/hset.json
index a335681e1..818097227 100644
--- a/src/commands/hset.json
+++ b/src/commands/hset.json
@@ -41,6 +41,7 @@
}
],
"reply_schema": {
+ "description": "The number of fields that were added",
"type": "integer"
},
"arguments": [
diff --git a/src/commands/info.json b/src/commands/info.json
index fed0749b8..04a02b1b7 100644
--- a/src/commands/info.json
+++ b/src/commands/info.json
@@ -26,6 +26,7 @@
"RESPONSE_POLICY:SPECIAL"
],
"reply_schema": {
+ "description": "A map of info fields, one field per line in the form of <field>:<value> where the value can be a comma separated map like <key>=<val>. Also contains section header lines starting with `#` and blank lines.",
"type": "string"
},
"arguments": [