diff OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h @ 4405:5466f336b09f

gathering statistics about progress of api documentation
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Dec 2020 09:37:30 +0100
parents f34634916d8c
children 68b96234fbd6
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h	Thu Dec 24 08:59:45 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h	Thu Dec 24 09:37:30 2020 +0100
@@ -144,8 +144,15 @@
                                             const std::string& description);
 
     RestApiCallDocumentation& SetUriArgument(const std::string& name,
+                                             Type type,
                                              const std::string& description);
 
+    RestApiCallDocumentation& SetUriArgument(const std::string& name,
+                                             const std::string& description)
+    {
+      return SetUriArgument(name, Type_String, description);
+    }
+
     bool HasUriArgument(const std::string& name) const
     {
       return (uriArguments_.find(name) != uriArguments_.end());