Mercurial > hg > orthanc
diff OrthancFramework/Sources/RestApi/RestApiCallDocumentation.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 | 5466f336b09f |
children | d928dfcacb4b |
line wrap: on
line diff
--- a/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h Sun Dec 27 11:31:50 2020 +0100 +++ b/OrthancFramework/Sources/RestApi/RestApiCallDocumentation.h Mon Dec 28 11:57:48 2020 +0100 @@ -180,5 +180,20 @@ bool FormatOpenApi(Json::Value& target, const std::set<std::string>& expectedUriArguments) const; + + bool HasSummary() const + { + return !summary_.empty(); + } + + const std::string& GetSummary() const + { + return summary_; + } + + const std::string& GetTag() const + { + return tag_; + } }; }