diff OrthancFramework/Sources/RestApi/RestApiGetCall.h @ 4399:80fd140b12ba

New command-line option: "--openapi" to write the OpenAPI documentation of the REST API to a file
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 23 Dec 2020 12:21:03 +0100
parents a01b1c9cbef4
children 354ea95b294a
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiGetCall.h	Tue Dec 22 09:39:06 2020 +0100
+++ b/OrthancFramework/Sources/RestApi/RestApiGetCall.h	Wed Dec 23 12:21:03 2020 +0100
@@ -44,7 +44,7 @@
                    const UriComponents& trailing,
                    const UriComponents& fullUri,
                    const HttpToolbox::Arguments& getArguments) :
-      RestApiCall(output, context, origin, remoteIp, username, 
+      RestApiCall(output, context, origin, remoteIp, username, HttpMethod_Get,
                   httpHeaders, uriComponents, trailing, fullUri),
       getArguments_(getArguments)
     {