diff OrthancFramework/Sources/RestApi/RestApi.h @ 4412:68b96234fbd6

automated generation of the cheat sheet of the REST API, to be included in the Orthanc Book
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 28 Dec 2020 11:57:48 +0100
parents 80fd140b12ba
children d9473bd5ed43
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApi.h	Sun Dec 27 11:31:50 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApi.h	Mon Dec 28 11:57:48 2020 +0100
@@ -70,5 +70,8 @@
                   RestApiDeleteCall::Handler handler);
 
     void GenerateOpenApiDocumentation(Json::Value& target);
+
+    void GenerateReStructuredTextCheatSheet(std::string& target,
+                                            const std::string& openApiUrl);
   };
 }