Mercurial > hg > orthanc
comparison OrthancServer/Sources/OrthancRestApi/OrthancRestAnonymizeModify.cpp @ 4435:23ad1b9c7800
fix tag in openapi
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 04 Jan 2021 17:05:21 +0100 |
parents | 83371ccdfe80 |
children | d9473bd5ed43 |
comparison
equal
deleted
inserted
replaced
4434:442c5632177e | 4435:23ad1b9c7800 |
---|---|
209 { | 209 { |
210 if (call.IsDocumentation()) | 210 if (call.IsDocumentation()) |
211 { | 211 { |
212 DocumentModifyOptions(call); | 212 DocumentModifyOptions(call); |
213 call.GetDocumentation() | 213 call.GetDocumentation() |
214 .SetTag("Instance") | 214 .SetTag("Instances") |
215 .SetSummary("Modify instance") | 215 .SetSummary("Modify instance") |
216 .SetDescription("Download a modified version of the DICOM instance whose Orthanc identifier is provided in the URL: " | 216 .SetDescription("Download a modified version of the DICOM instance whose Orthanc identifier is provided in the URL: " |
217 "https://book.orthanc-server.com/users/anonymization.html#modification-of-a-single-instance") | 217 "https://book.orthanc-server.com/users/anonymization.html#modification-of-a-single-instance") |
218 .SetUriArgument("id", "Orthanc identifier of the instance of interest") | 218 .SetUriArgument("id", "Orthanc identifier of the instance of interest") |
219 .AddAnswerType(MimeType_Dicom, "The modified DICOM instance"); | 219 .AddAnswerType(MimeType_Dicom, "The modified DICOM instance"); |
270 { | 270 { |
271 if (call.IsDocumentation()) | 271 if (call.IsDocumentation()) |
272 { | 272 { |
273 DocumentAnonymizationOptions(call); | 273 DocumentAnonymizationOptions(call); |
274 call.GetDocumentation() | 274 call.GetDocumentation() |
275 .SetTag("Instance") | 275 .SetTag("Instances") |
276 .SetSummary("Anonymize instance") | 276 .SetSummary("Anonymize instance") |
277 .SetDescription("Download an anonymized version of the DICOM instance whose Orthanc identifier is provided in the URL: " | 277 .SetDescription("Download an anonymized version of the DICOM instance whose Orthanc identifier is provided in the URL: " |
278 "https://book.orthanc-server.com/users/anonymization.html#anonymization-of-a-single-instance") | 278 "https://book.orthanc-server.com/users/anonymization.html#anonymization-of-a-single-instance") |
279 .SetUriArgument("id", "Orthanc identifier of the instance of interest") | 279 .SetUriArgument("id", "Orthanc identifier of the instance of interest") |
280 .AddAnswerType(MimeType_Dicom, "The anonymized DICOM instance"); | 280 .AddAnswerType(MimeType_Dicom, "The anonymized DICOM instance"); |