diff OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp @ 4404:f34634916d8c

cont openapi
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 24 Dec 2020 08:59:45 +0100
parents ad646ff506d0
children 5466f336b09f
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp	Wed Dec 23 18:32:13 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp	Thu Dec 24 08:59:45 2020 +0100
@@ -103,8 +103,7 @@
   
 
   RestApiCallDocumentation& RestApiCallDocumentation::SetUriArgument(const std::string& name,
-                                                                      Type type,
-                                                                      const std::string& description)
+                                                                     const std::string& description)
   {
     if (uriArguments_.find(name) != uriArguments_.end())
     {
@@ -112,7 +111,7 @@
     }
     else
     {
-      uriArguments_[name] = Parameter(type, description, true);
+      uriArguments_[name] = Parameter(Type_String, description, true);
       return *this;
     }
   }