# HG changeset patch # User Alain Mazy # Date 1696325639 -7200 # Node ID c5c00bee291aad7dedb67868b9e931d0b3ae84b4 # Parent 92ebf6a10cb57420c88a22489d7df489fdc6a553 in openapi generator: renamed '...' into 'path' since '...' is an invalid name diff -r 92ebf6a10cb5 -r c5c00bee291a OrthancFramework/Sources/RestApi/RestApi.cpp --- a/OrthancFramework/Sources/RestApi/RestApi.cpp Tue Oct 03 11:14:28 2023 +0200 +++ b/OrthancFramework/Sources/RestApi/RestApi.cpp Tue Oct 03 11:33:59 2023 +0200 @@ -157,7 +157,7 @@ std::string path = Toolbox::FlattenUri(uri); if (hasTrailing) { - path += "/{...}"; + path += "/{path}"; } std::set uriArgumentsNames; @@ -173,8 +173,8 @@ if (hasTrailing) { - uriArgumentsNames.insert("..."); - uriArguments["..."] = ""; + uriArgumentsNames.insert("path"); + uriArguments["path"] = ""; } if (resource.HasHandler(HttpMethod_Get)) diff -r 92ebf6a10cb5 -r c5c00bee291a OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Tue Oct 03 11:14:28 2023 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp Tue Oct 03 11:33:59 2023 +0200 @@ -2735,7 +2735,7 @@ .SetSummary("Get raw tag") .SetDescription("Get the raw content of one DICOM tag in the hierarchy of DICOM dataset") .SetUriArgument("id", "Orthanc identifier of the DICOM instance of interest") - .SetUriArgument("dicomTagPath", "Path to the DICOM tag. This is the interleaving of one DICOM tag, possibly followed " + .SetUriArgument("path", "Path to the DICOM tag. This is the interleaving of one DICOM tag, possibly followed " "by an index for sequences. Sequences are accessible as, for instance, `/0008-1140/1/0008-1150`") .AddAnswerType(MimeType_Binary, "The raw value of the tag of intereset " "(binary data, whose memory layout depends on the underlying transfer syntax), "