From 5d8dfe892a2ea89f706ee140c3bdcfd89fe03fda Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 21 Jan 2026 22:40:55 +0100 Subject: Add Redis source code for testing --- .../src/commands/client-getname.json | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 examples/redis-unstable/src/commands/client-getname.json (limited to 'examples/redis-unstable/src/commands/client-getname.json') diff --git a/examples/redis-unstable/src/commands/client-getname.json b/examples/redis-unstable/src/commands/client-getname.json new file mode 100644 index 0000000..9e237af --- /dev/null +++ b/examples/redis-unstable/src/commands/client-getname.json @@ -0,0 +1,32 @@ +{ + "GETNAME": { + "summary": "Returns the name of the connection.", + "complexity": "O(1)", + "group": "connection", + "since": "2.6.9", + "arity": 2, + "container": "CLIENT", + "function": "clientCommand", + "command_flags": [ + "NOSCRIPT", + "LOADING", + "STALE", + "SENTINEL" + ], + "acl_categories": [ + "CONNECTION" + ], + "reply_schema": { + "oneOf": [ + { + "type": "string", + "description": "The connection name of the current connection" + }, + { + "type": "null", + "description": "Connection name was not set" + } + ] + } + } +} -- cgit v1.2.3