summaryrefslogtreecommitdiff
path: root/src/mongo/idl/basic_types.idl
diff options
context:
space:
mode:
authorGeorge Wangensteen <george.wangensteen@mongodb.com>2020-10-21 19:29:48 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-11-05 19:25:44 +0000
commitcf2f9b8dafe6a58340076b2ba39039e8bcb0a110 (patch)
tree3041c616fb004a10fc447ef197beedae112ae581 /src/mongo/idl/basic_types.idl
parent2b81759028c92187706c28229572f9e1bbe2933b (diff)
downloadmongo-cf2f9b8dafe6a58340076b2ba39039e8bcb0a110.tar.gz
SERVER-51373 Create IDL definition for OkReply
Diffstat (limited to 'src/mongo/idl/basic_types.idl')
-rw-r--r--src/mongo/idl/basic_types.idl7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mongo/idl/basic_types.idl b/src/mongo/idl/basic_types.idl
index 14af091f837..2a5a569573b 100644
--- a/src/mongo/idl/basic_types.idl
+++ b/src/mongo/idl/basic_types.idl
@@ -193,4 +193,9 @@ types:
serialize/deserialize to a fixed set of string values
cpp_type: "ServerGlobalParams::FeatureCompatibility::Version"
serializer: "::mongo::FeatureCompatibilityVersionParser::serializeVersion"
- deserializer: "mongo::FeatureCompatibilityVersionParser::parseVersion" \ No newline at end of file
+ deserializer: "mongo::FeatureCompatibilityVersionParser::parseVersion"
+
+structs:
+ OkReply:
+ description: "Shared by commands that reply with just {ok: 1} and no additional information"
+ strict: true \ No newline at end of file