# HG changeset patch # User Alain Mazy # Date 1758730545 -7200 # Node ID 594d3fe48be3eb0c9117d6efac6d4f321ea24c0f # Parent e7e47f3188b82d664ff559d2cfe1d0814c32eef8 fix OpenApi diff -r e7e47f3188b8 -r 594d3fe48be3 OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp --- a/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Tue Sep 23 22:15:43 2025 +0200 +++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestModalities.cpp Wed Sep 24 18:15:45 2025 +0200 @@ -685,9 +685,9 @@ "Ignored if `DicomModalities` already sets `LocalAet` for this modality.", false) .SetRequestField(KEY_TIMEOUT, RestApiCallDocumentation::Type_Number, "Timeout for the C-FIND command and subsequent C-MOVE retrievals, in seconds (new in Orthanc 1.9.1)", false) - .SetAnswerField("ID", RestApiCallDocumentation::Type_JsonObject, + .SetAnswerField("ID", RestApiCallDocumentation::Type_String, "Identifier of the query, to be used with `/queries/{id}`") - .SetAnswerField("Path", RestApiCallDocumentation::Type_JsonObject, + .SetAnswerField("Path", RestApiCallDocumentation::Type_String, "Root path to the query in the REST API"); return; }