Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApiCall.cpp @ 4424:83371ccdfe80
openapi documentation is now completed
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 29 Dec 2020 19:28:53 +0100 |
parents | 80fd140b12ba |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4423:2a69b58ff3ac | 4424:83371ccdfe80 |
---|---|
23 #include "../PrecompiledHeaders.h" | 23 #include "../PrecompiledHeaders.h" |
24 #include "RestApiCall.h" | 24 #include "RestApiCall.h" |
25 | 25 |
26 namespace Orthanc | 26 namespace Orthanc |
27 { | 27 { |
28 void RestApiCall::GetUriComponentsNames(std::set<std::string>& components) const | |
29 { | |
30 components.clear(); | |
31 | |
32 for (HttpToolbox::Arguments::const_iterator it = uriComponents_.begin(); | |
33 it != uriComponents_.end(); ++it) | |
34 { | |
35 components.insert(it->first); | |
36 } | |
37 } | |
38 | |
39 | |
28 std::string RestApiCall::FlattenUri() const | 40 std::string RestApiCall::FlattenUri() const |
29 { | 41 { |
30 std::string s = "/"; | 42 std::string s = "/"; |
31 | 43 |
32 for (size_t i = 0; i < fullUri_.size(); i++) | 44 for (size_t i = 0; i < fullUri_.size(); i++) |