Mercurial > hg > orthanc
comparison OrthancFramework/Sources/RestApi/RestApiCallDocumentation.cpp @ 4414:d928dfcacb4b
cont openapi
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 28 Dec 2020 14:46:51 +0100 |
parents | 22a1352a0823 |
children | b50410d0e98c |
comparison
equal
deleted
inserted
replaced
4413:22a1352a0823 | 4414:d928dfcacb4b |
---|---|
284 else if (!summary_.empty()) | 284 else if (!summary_.empty()) |
285 { | 285 { |
286 target["description"] = summary_; | 286 target["description"] = summary_; |
287 } | 287 } |
288 | 288 |
289 target["deprecated"] = deprecated_; | |
290 | |
289 if (method_ == HttpMethod_Post || | 291 if (method_ == HttpMethod_Post || |
290 method_ == HttpMethod_Put) | 292 method_ == HttpMethod_Put) |
291 { | 293 { |
292 for (AllowedTypes::const_iterator it = requestTypes_.begin(); | 294 for (AllowedTypes::const_iterator it = requestTypes_.begin(); |
293 it != requestTypes_.end(); ++it) | 295 it != requestTypes_.end(); ++it) |