diff OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h @ 4421:a7d72378e1cb

cont openapi
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Dec 2020 15:22:00 +0100
parents a4518adede59
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h	Tue Dec 29 12:21:51 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h	Tue Dec 29 15:22:00 2020 +0100
@@ -202,9 +202,10 @@
       return tag_;
     }
 
-    void SetDeprecated()
+    RestApiCallDocumentation& SetDeprecated()
     {
       deprecated_ = true;
+      return *this;
     }
 
     bool IsDeprecated() const